llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpqd3wmk5b.c' source_filename = "/tmp/tmpqd3wmk5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @tests() ret i32 0 } declare i32 @tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqd3wmk5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @tests() ret i32 0 } declare i32 @tests(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaah3o29i.c' source_filename = "/tmp/tmpaah3o29i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_halfdelay(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %24 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %24 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load i32, ptr %5, align 4 %22 = call i32 @halfdelay(i32 noundef %21) %23 = call i32 @report_return(i32 noundef %22) br label %24 24: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @halfdelay(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/tmpaah3o29i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [13 x i8] c"BAD ARGUMENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cmd_halfdelay(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @check_arg_count(i32 noundef %6, i32 noundef 1) %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 br label %24 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = call i64 @sscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %5) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = call i32 @report_count(i32 noundef 1) %18 = call i32 @report_error(ptr noundef @.str.1) br label %24 19: ; preds = %10 %20 = call i32 @report_count(i32 noundef 1) %21 = load i32, ptr %5, align 4 %22 = call i32 @halfdelay(i32 noundef %21) %23 = call i32 @report_return(i32 noundef %22) br label %24 24: ; preds = %19, %16, %9 ret void } declare i32 @check_arg_count(i32 noundef, i32 noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @report_count(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @report_return(i32 noundef) #1 declare i32 @halfdelay(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/tmpda4ye6pb.c' source_filename = "/tmp/tmpda4ye6pb.c" target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4 @O_RDONLY = 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/tmpda4ye6pb.c" target datalayout = "e-m:e-p270: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_OK = dso_local global i32 0, align 4 @O_RDONLY = 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/tmp4j3b33b7.c' source_filename = "/tmp/tmp4j3b33b7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regPrintAngle(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @regPrintVal(double noundef %5, ptr noundef %6) ret void } declare i32 @regPrintVal(double 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/tmp4j3b33b7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @regPrintAngle(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @regPrintVal(double noundef %5, ptr noundef %6) ret void } declare i32 @regPrintVal(double 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/tmp6aezkh1y.c' source_filename = "/tmp/tmp6aezkh1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d-%b-%Y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @format_dt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [5 x i8], align 1 %8 = alloca [3 x i8], align 1 %9 = alloca [3 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 4) %15 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 5 %18 = load i8, ptr %17, align 1 %19 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0 store i8 %18, ptr %19, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 6 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1 store i8 %22, ptr %23, align 1 %24 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load i8, ptr %26, align 1 %28 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %27, ptr %28, align 1 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 9 %31 = load i8, ptr %30, align 1 %32 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 %31, ptr %32, align 1 %33 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2 store i8 0, ptr %33, align 1 %34 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %35 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0 %36 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 %37 = call i32 @strdt2tmt(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) store i32 %37, ptr %11, align 4 %38 = call ptr @localtime(ptr noundef %11) %39 = load ptr, ptr %6, align 8 store ptr %38, ptr %39, align 8 %40 = call i64 @malloc(i32 noundef 12) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %10, align 8 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strftime(ptr noundef %42, i32 noundef 12, ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr %11, align 4 %47 = load ptr, ptr %5, align 8 store i32 %46, ptr %47, align 4 %48 = load ptr, ptr %10, align 8 ret ptr %48 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strdt2tmt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6aezkh1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d-%b-%Y\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @format_dt(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [5 x i8], align 1 %8 = alloca [3 x i8], align 1 %9 = alloca [3 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %12 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 4) %15 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 4 store i8 0, ptr %15, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 5 %18 = load i8, ptr %17, align 1 %19 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0 store i8 %18, ptr %19, align 1 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 6 %22 = load i8, ptr %21, align 1 %23 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1 store i8 %22, ptr %23, align 1 %24 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2 store i8 0, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = load i8, ptr %26, align 1 %28 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 store i8 %27, ptr %28, align 1 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 9 %31 = load i8, ptr %30, align 1 %32 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 1 store i8 %31, ptr %32, align 1 %33 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2 store i8 0, ptr %33, align 1 %34 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %35 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0 %36 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0 %37 = call i32 @strdt2tmt(ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.1) store i32 %37, ptr %11, align 4 %38 = call ptr @localtime(ptr noundef %11) %39 = load ptr, ptr %6, align 8 store ptr %38, ptr %39, align 8 %40 = call i64 @malloc(i32 noundef 12) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %10, align 8 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %6, align 8 %44 = load ptr, ptr %43, align 8 %45 = call i32 @strftime(ptr noundef %42, i32 noundef 12, ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr %11, align 4 %47 = load ptr, ptr %5, align 8 store i32 %46, ptr %47, align 4 %48 = load ptr, ptr %10, align 8 ret ptr %48 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strdt2tmt(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp79q75q5f.c' source_filename = "/tmp/tmp79q75q5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shell_restore_frame(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %24, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %27 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %9, align 4 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i32 @lframe_set_item(ptr noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef %22) br label %24 24: ; preds = %14 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %9, align 4 br label %10, !llvm.loop !6 27: ; preds = %10 ret void } declare i32 @lframe_set_item(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79q75q5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shell_restore_frame(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %23 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %8, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 @lframe_set_item(ptr noundef %14, ptr noundef %15, i32 noundef %16, ptr noundef %21) br label %23 23: ; preds = %13 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %4 ret void } declare i32 @lframe_set_item(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpm2wfroux.c' source_filename = "/tmp/tmpm2wfroux.c" target datalayout = "e-m:e-p270: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/tmpm2wfroux.c" target datalayout = "e-m:e-p270: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/tmp6vk_hdyw.c' source_filename = "/tmp/tmp6vk_hdyw.c" target datalayout = "e-m:e-p270: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/tmp6vk_hdyw.c" target datalayout = "e-m:e-p270: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/tmpo03bh0cp.c' source_filename = "/tmp/tmpo03bh0cp.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorPrintAndExit(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 @perror(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo03bh0cp.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errorPrintAndExit(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 @perror(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu99qhuxh.c' source_filename = "/tmp/tmpu99qhuxh.c" target datalayout = "e-m:e-p270: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/tmpu99qhuxh.c" target datalayout = "e-m:e-p270: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/tmpn1m9gydy.c' source_filename = "/tmp/tmpn1m9gydy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRQ_UartRxHandler() #0 { %1 = call i32 (...) @COM_GetChar() %2 = call i32 @CLI_EnterChar(i32 noundef %1) ret void } declare i32 @CLI_EnterChar(i32 noundef) #1 declare i32 @COM_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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn1m9gydy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IRQ_UartRxHandler() #0 { %1 = call i32 (...) @COM_GetChar() %2 = call i32 @CLI_EnterChar(i32 noundef %1) ret void } declare i32 @CLI_EnterChar(i32 noundef) #1 declare i32 @COM_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"}
; ModuleID = '/tmp/tmpq0l1vwcc.c' source_filename = "/tmp/tmpq0l1vwcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printChar(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq0l1vwcc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printChar(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load ptr, ptr %3, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6pt2uq9k.c' source_filename = "/tmp/tmp6pt2uq9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d = %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %13, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 256 br i1 %6, label %7, label %16 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i8, ptr %3, align 1 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i8 noundef signext %9) %11 = load i8, ptr %3, align 1 %12 = add i8 %11, 1 store i8 %12, ptr %3, align 1 br label %13 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pt2uq9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d = %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %12 %7 = load i32, ptr %2, align 4 %8 = load i8, ptr %3, align 1 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i8 noundef signext %8) %10 = load i8, ptr %3, align 1 %11 = add i8 %10, 1 store i8 %11, ptr %3, align 1 br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 256 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplg1h2yy_.c' source_filename = "/tmp/tmplg1h2yy_.c" target datalayout = "e-m:e-p270: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/tmplg1h2yy_.c" target datalayout = "e-m:e-p270: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/tmpaa6ady27.c' source_filename = "/tmp/tmpaa6ady27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_get_module_xy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @sv_get_module_xy(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @sv_get_module_xy(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/tmpaa6ady27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vox_get_module_xy(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @sv_get_module_xy(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @sv_get_module_xy(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/tmpwv6d_bxp.c' source_filename = "/tmp/tmpwv6d_bxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dup(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @dup(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/tmpwv6d_bxp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_dup(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @dup(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @dup(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/tmpmfgpkt6_.c' source_filename = "/tmp/tmpmfgpkt6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Unable to open keyfile: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_key(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %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 i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17) store i32 -1, ptr %4, align 4 br label %24 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i32, ptr %8, align 4 %23 = call i32 @fill_buf(ptr noundef %20, i64 noundef %21, i32 noundef %22) store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %19, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fill_buf(ptr noundef, i64 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/tmpmfgpkt6_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Unable to open keyfile: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_key(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %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 i64 %2, ptr %7, align 8 store i32 0, ptr %8, align 4 store i64 0, ptr %9, align 8 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i32, ptr @O_RDONLY, align 4 %13 = call i32 @open(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %8, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17) store i32 -1, ptr %4, align 4 br label %24 19: ; preds = %3 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %7, align 8 %22 = load i32, ptr %8, align 4 %23 = call i32 @fill_buf(ptr noundef %20, i64 noundef %21, i32 noundef %22) store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %19, %15 %25 = load i32, ptr %4, align 4 ret i32 %25 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fill_buf(ptr noundef, i64 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/tmpe8e79b7s.c' source_filename = "/tmp/tmpe8e79b7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"should return either true or false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %3, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %23, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %26 10: ; preds = %7 %11 = call double (...) @rand_double() %12 = call double @llvm.fmuladd.f64(double %11, double 1.000000e+07, double -5.000000e+06) store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @stdlib_base_is_infinite(double noundef %13) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 1 br i1 %16, label %17, label %22 17: ; preds = %10 %18 = load i32, ptr %4, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str) br label %26 22: ; preds = %17, %10 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %7, !llvm.loop !6 26: ; preds = %20, %7 %27 = call double (...) @tic() %28 = load double, ptr %3, align 8 %29 = fsub double %27, %28 store double %29, ptr %1, align 8 %30 = load i32, ptr %4, align 4 %31 = icmp ne i32 %30, 1 br i1 %31, label %32, label %37 32: ; preds = %26 %33 = load i32, ptr %4, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %32 %36 = call i32 @printf(ptr noundef @.str) br label %37 37: ; preds = %35, %32, %26 %38 = load double, ptr %1, align 8 ret double %38 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @stdlib_base_is_infinite(double noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpe8e79b7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"should return either true or false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %3, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %22 %10 = call double (...) @rand_double() %11 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+07, double -5.000000e+06) store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @stdlib_base_is_infinite(double noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %9 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @printf(ptr noundef @.str) br label %27 21: ; preds = %16, %9 br label %22 22: ; preds = %21 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 1000000 br i1 %26, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %22 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %27 27: ; preds = %.loopexit, %19 %28 = call double (...) @tic() %29 = load double, ptr %3, align 8 %30 = fsub double %28, %29 store double %30, ptr %1, align 8 %31 = load i32, ptr %4, align 4 %32 = icmp ne i32 %31, 1 br i1 %32, label %33, label %38 33: ; preds = %27 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call i32 @printf(ptr noundef @.str) br label %38 38: ; preds = %36, %33, %27 %39 = load double, ptr %1, align 8 ret double %39 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @stdlib_base_is_infinite(double noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpbea7l83a.c' source_filename = "/tmp/tmpbea7l83a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_write = 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/tmpbea7l83a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_write = 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/tmpjaeufjhv.c' source_filename = "/tmp/tmpjaeufjhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"\0AAquesta posicio ja esta ocupada. Torna a introduir les dades.\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"\0AValors mes grans que el taulell de joc. Torna a introduir les dades.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @colocar(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 store i32 0, ptr %20, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %17, align 4 %23 = load i32, ptr %11, align 4 %24 = sub nsw i32 %22, %23 %25 = add nsw i32 %24, 1 %26 = icmp slt i32 %21, %25 br i1 %26, label %27, label %91 27: ; preds = %9 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %17, align 4 %30 = load i32, ptr %11, align 4 %31 = sub nsw i32 %29, %30 %32 = add nsw i32 %31, 1 %33 = icmp slt i32 %28, %32 br i1 %33, label %34, label %91 34: ; preds = %27 store i32 0, ptr %19, align 4 br label %35 35: ; preds = %77, %34 %36 = load i32, ptr %19, align 4 %37 = load i32, ptr %11, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %80 39: ; preds = %35 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %19, align 4 %43 = load i32, ptr %15, align 4 %44 = mul nsw i32 %42, %43 %45 = add nsw i32 %41, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [11 x i8], ptr %40, i64 %46 %48 = load i32, ptr %14, align 4 %49 = load i32, ptr %19, align 4 %50 = load i32, ptr %16, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [11 x i8], ptr %47, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 42 br i1 %57, label %58, label %74 58: ; preds = %39 %59 = load ptr, ptr %10, align 8 %60 = load i32, ptr %13, align 4 %61 = load i32, ptr %19, align 4 %62 = load i32, ptr %15, align 4 %63 = mul nsw i32 %61, %62 %64 = add nsw i32 %60, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [11 x i8], ptr %59, i64 %65 %67 = load i32, ptr %14, align 4 %68 = load i32, ptr %19, align 4 %69 = load i32, ptr %16, align 4 %70 = mul nsw i32 %68, %69 %71 = add nsw i32 %67, %70 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [11 x i8], ptr %66, i64 0, i64 %72 store i8 118, ptr %73, align 1 br label %76 74: ; preds = %39 store i32 1, ptr %20, align 4 %75 = call i32 @printf(ptr noundef @.str) br label %76 76: ; preds = %74, %58 br label %77 77: ; preds = %76 %78 = load i32, ptr %19, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %19, align 4 br label %35, !llvm.loop !6 80: ; preds = %35 %81 = load i32, ptr %20, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %90 83: ; preds = %80 %84 = load ptr, ptr %18, align 8 %85 = load i32, ptr %11, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 %88 = load i32, ptr %87, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %87, align 4 br label %90 90: ; preds = %83, %80 br label %93 91: ; preds = %27, %9 %92 = call i32 @printf(ptr noundef @.str.1) br label %93 93: ; preds = %91, %90 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjaeufjhv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"\0AAquesta posicio ja esta ocupada. Torna a introduir les dades.\0A\00", align 1 @.str.1 = private unnamed_addr constant [71 x i8] c"\0AValors mes grans que el taulell de joc. Torna a introduir les dades.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @colocar(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 { %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store i32 %2, ptr %12, align 4 store i32 %3, ptr %13, align 4 store i32 %4, ptr %14, align 4 store i32 %5, ptr %15, align 4 store i32 %6, ptr %16, align 4 store i32 %7, ptr %17, align 4 store ptr %8, ptr %18, align 8 store i32 0, ptr %20, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %17, align 4 %23 = load i32, ptr %11, align 4 %24 = sub nsw i32 %22, %23 %25 = add nsw i32 %24, 1 %26 = icmp slt i32 %21, %25 br i1 %26, label %27, label %93 27: ; preds = %9 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %17, align 4 %30 = load i32, ptr %11, align 4 %31 = sub nsw i32 %29, %30 %32 = add nsw i32 %31, 1 %33 = icmp slt i32 %28, %32 br i1 %33, label %34, label %93 34: ; preds = %27 store i32 0, ptr %19, align 4 %35 = load i32, ptr %19, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %82 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %76 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %19, align 4 %42 = load i32, ptr %15, align 4 %43 = mul nsw i32 %41, %42 %44 = add nsw i32 %40, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [11 x i8], ptr %39, i64 %45 %47 = load i32, ptr %14, align 4 %48 = load i32, ptr %19, align 4 %49 = load i32, ptr %16, align 4 %50 = mul nsw i32 %48, %49 %51 = add nsw i32 %47, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [11 x i8], ptr %46, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 42 br i1 %56, label %57, label %73 57: ; preds = %38 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %19, align 4 %61 = load i32, ptr %15, align 4 %62 = mul nsw i32 %60, %61 %63 = add nsw i32 %59, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [11 x i8], ptr %58, i64 %64 %66 = load i32, ptr %14, align 4 %67 = load i32, ptr %19, align 4 %68 = load i32, ptr %16, align 4 %69 = mul nsw i32 %67, %68 %70 = add nsw i32 %66, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [11 x i8], ptr %65, i64 0, i64 %71 store i8 118, ptr %72, align 1 br label %75 73: ; preds = %38 store i32 1, ptr %20, align 4 %74 = call i32 @printf(ptr noundef @.str) br label %75 75: ; preds = %73, %57 br label %76 76: ; preds = %75 %77 = load i32, ptr %19, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %19, align 4 %79 = load i32, ptr %19, align 4 %80 = load i32, ptr %11, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %76 br label %82 82: ; preds = %._crit_edge, %34 %83 = load i32, ptr %20, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %92 85: ; preds = %82 %86 = load ptr, ptr %18, align 8 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %89, align 4 br label %92 92: ; preds = %85, %82 br label %95 93: ; preds = %27, %9 %94 = call i32 @printf(ptr noundef @.str.1) br label %95 95: ; preds = %93, %92 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3_3nus9m.c' source_filename = "/tmp/tmp3_3nus9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_3nus9m.c" target datalayout = "e-m:e-p270: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/tmp97p7avcr.c' source_filename = "/tmp/tmp97p7avcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @read_runtime.cache = internal global [20 x i8] zeroinitializer, align 16 @read_runtime.old_time = internal global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_runtime() #0 { %1 = alloca ptr, align 8 %2 = alloca [30 x i32], align 16 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = call i32 @time(ptr noundef null) %6 = sdiv i32 %5, 6 %7 = sext i32 %6 to i64 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr @read_runtime.old_time, align 8 %10 = icmp sgt i64 %8, %9 br i1 %10, label %11, label %34 11: ; preds = %0 %12 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 0 %13 = call i64 @vito_read(i32 noundef 2182, i32 noundef 4, ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store ptr @.str, ptr %1, align 8 br label %35 16: ; preds = %11 %17 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 0 %18 = load i32, ptr %17, align 16 %19 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 1 %20 = load i32, ptr %19, align 4 %21 = shl i32 %20, 8 %22 = add nsw i32 %18, %21 %23 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 2 %24 = load i32, ptr %23, align 8 %25 = shl i32 %24, 16 %26 = add nsw i32 %22, %25 %27 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 3 %28 = load i32, ptr %27, align 4 %29 = shl i32 %28, 24 %30 = add nsw i32 %26, %29 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = call i32 @sprintf(ptr noundef @read_runtime.cache, ptr noundef @.str.1, i32 noundef %31) %33 = load i64, ptr %3, align 8 store i64 %33, ptr @read_runtime.old_time, align 8 br label %34 34: ; preds = %16, %0 store ptr @read_runtime.cache, ptr %1, align 8 br label %35 35: ; preds = %34, %15 %36 = load ptr, ptr %1, align 8 ret ptr %36 } declare i32 @time(ptr noundef) #1 declare i64 @vito_read(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @sprintf(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/tmp97p7avcr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @read_runtime.cache = internal global [20 x i8] zeroinitializer, align 16 @read_runtime.old_time = internal global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_runtime() #0 { %1 = alloca ptr, align 8 %2 = alloca [30 x i32], align 16 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = call i32 @time(ptr noundef null) %6 = sdiv i32 %5, 6 %7 = sext i32 %6 to i64 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr @read_runtime.old_time, align 8 %10 = icmp sgt i64 %8, %9 br i1 %10, label %11, label %34 11: ; preds = %0 %12 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 0 %13 = call i64 @vito_read(i32 noundef 2182, i32 noundef 4, ptr noundef %12) %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store ptr @.str, ptr %1, align 8 br label %35 16: ; preds = %11 %17 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 0 %18 = load i32, ptr %17, align 16 %19 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 1 %20 = load i32, ptr %19, align 4 %21 = shl i32 %20, 8 %22 = add nsw i32 %18, %21 %23 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 2 %24 = load i32, ptr %23, align 8 %25 = shl i32 %24, 16 %26 = add nsw i32 %22, %25 %27 = getelementptr inbounds [30 x i32], ptr %2, i64 0, i64 3 %28 = load i32, ptr %27, align 4 %29 = shl i32 %28, 24 %30 = add nsw i32 %26, %29 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = call i32 @sprintf(ptr noundef @read_runtime.cache, ptr noundef @.str.1, i32 noundef %31) %33 = load i64, ptr %3, align 8 store i64 %33, ptr @read_runtime.old_time, align 8 br label %34 34: ; preds = %16, %0 store ptr @read_runtime.cache, ptr %1, align 8 br label %35 35: ; preds = %34, %15 %36 = load ptr, ptr %1, align 8 ret ptr %36 } declare i32 @time(ptr noundef) #1 declare i64 @vito_read(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @sprintf(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/tmpiy66f_s8.c' source_filename = "/tmp/tmpiy66f_s8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"cat %s >> %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [32 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %12 = call i64 @system(ptr noundef %11) %13 = icmp ne i64 0, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiy66f_s8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"cat %s >> %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [32 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %9) %11 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %12 = call i64 @system(ptr noundef %11) %13 = icmp ne i64 0, %12 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 -1, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9cer9kl9.c' source_filename = "/tmp/tmp9cer9kl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9cer9kl9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb27trhy5.c' source_filename = "/tmp/tmpb27trhy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store float 0.000000e+00, ptr %8, align 4 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call float @stdlib_strided_sdsmeanors(i32 noundef %35, ptr noundef %14, i32 noundef 1) store float %36, ptr %8, align 4 %37 = load float, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = fcmp une float %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = fcmp une float %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_sdsmeanors(i32 noundef, ptr noundef, i32 noundef) #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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb27trhy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %8, align 4 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call float @stdlib_strided_sdsmeanors(i32 noundef %36, ptr noundef %14, i32 noundef 1) store float %37, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = load float, ptr %8, align 4 %40 = fcmp une float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load float, ptr %8, align 4 %55 = load float, ptr %8, align 4 %56 = fcmp une float %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_sdsmeanors(i32 noundef, ptr noundef, i32 noundef) #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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm4c4ef55.c' source_filename = "/tmp/tmpm4c4ef55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %77 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 -1, ptr %3, align 4 br label %77 23: ; preds = %16 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strlen(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 -1, ptr %3, align 4 br label %77 32: ; preds = %23 store i32 0, ptr %8, align 4 br label %33 33: ; preds = %73, %32 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = sub nsw i32 %35, %36 %38 = add nsw i32 %37, 1 %39 = icmp slt i32 %34, %38 br i1 %39, label %40, label %76 40: ; preds = %33 store i32 0, ptr %9, align 4 br label %41 41: ; preds = %63, %40 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %66 45: ; preds = %41 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %47, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %46, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %53, %59 br i1 %60, label %61, label %62 61: ; preds = %45 br label %66 62: ; preds = %45 br label %63 63: ; preds = %62 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 br label %41, !llvm.loop !6 66: ; preds = %61, %41 %67 = load i32, ptr %9, align 4 %68 = load i32, ptr %6, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = load i32, ptr %8, align 4 store i32 %71, ptr %3, align 4 br label %77 72: ; preds = %66 br label %73 73: ; preds = %72 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 br label %33, !llvm.loop !8 76: ; preds = %33 store i32 -1, ptr %3, align 4 br label %77 77: ; preds = %76, %70, %31, %22, %15 %78 = load i32, ptr %3, align 4 ret i32 %78 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm4c4ef55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strStr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %84 16: ; preds = %2 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 -1, ptr %3, align 4 br label %84 23: ; preds = %16 %24 = load ptr, ptr %5, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %6, align 4 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strlen(ptr noundef %26) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %23 store i32 -1, ptr %3, align 4 br label %84 32: ; preds = %23 store i32 0, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = sub nsw i32 %34, %35 %37 = add nsw i32 %36, 1 %38 = icmp slt i32 %33, %37 br i1 %38, label %.lr.ph1, label %83 .lr.ph1: ; preds = %32 br label %39 39: ; preds = %.lr.ph1, %74 store i32 0, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %39 br label %43 43: ; preds = %.lr.ph, %61 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %44, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %51, %57 br i1 %58, label %59, label %60 59: ; preds = %43 br label %67 60: ; preds = %43 br label %61 61: ; preds = %60 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load i32, ptr %9, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %43, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %61 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %39 br label %67 67: ; preds = %.loopexit, %59 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %6, align 4 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %67 %72 = load i32, ptr %8, align 4 store i32 %72, ptr %3, align 4 br label %84 73: ; preds = %67 br label %74 74: ; preds = %73 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %8, align 4 %77 = load i32, ptr %8, align 4 %78 = load i32, ptr %7, align 4 %79 = load i32, ptr %6, align 4 %80 = sub nsw i32 %78, %79 %81 = add nsw i32 %80, 1 %82 = icmp slt i32 %77, %81 br i1 %82, label %39, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %74 br label %83 83: ; preds = %._crit_edge, %32 store i32 -1, ptr %3, align 4 br label %84 84: ; preds = %83, %71, %31, %22, %15 %85 = load i32, ptr %3, align 4 ret i32 %85 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvz636kqz.c' source_filename = "/tmp/tmpvz636kqz.c" target datalayout = "e-m:e-p270: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 [58 x i8] c"\0AThe program loads <index> and then executes over it the\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"queries it receives from the standard input. The standard\0A\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"input comes in the format of the files written by \0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"genpatterns or genintervals.\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"%s reports on the standard error time statistics\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"regarding to running the queries.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [82 x i8] c"Usage: %s <index> <type> <numPatts> <repetitions> [V] [search_opts] < patt_file\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"\0A\09<type> denotes the type of queries:\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"\09 %c <numListsToExtract><iterations per list>\0A\00", align 1 @.str.9 = private unnamed_addr constant [69 x i8] c"\09 Extracts the values of the lists: memory is allocated\0A\00", align 1 @.str.10 = private unnamed_addr constant [79 x i8] c"\09 Extracts the values of the lists: memory is reserved only once.\0A\00", align 1 @.str.11 = private unnamed_addr constant [48 x i8] c"\09 %c <numFrases><iterations per frase>\0A\00", align 1 @.str.12 = private unnamed_addr constant [82 x i8] c"\09 Intersection of two lists (diff. opts. depending on [search_opts])\0A\00", align 1 @.str.13 = private unnamed_addr constant [80 x i8] c"\09 Intersection of n lists (diff. opts. depending on [search_opts])\0A\00", align 1 @.str.14 = private unnamed_addr constant [63 x i8] c"\0A\09[V] with this option it reports on the standard output\0A\00", align 1 @.str.15 = private unnamed_addr constant [65 x i8] c"\09 the results of the queries. The results file might be\0A\00", align 1 @.str.16 = private unnamed_addr constant [64 x i8] c"\09 compared with a trusted one by the compare program.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_search_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.3) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.4, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7) %21 = load i32, ptr @stderr, align 4 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8, i32 noundef 69) %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9) %25 = load i32, ptr @stderr, align 4 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.8, i32 noundef 101) %27 = load i32, ptr @stderr, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.10) %29 = load i32, ptr @stderr, align 4 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.11, i32 noundef 73) %31 = load i32, ptr @stderr, align 4 %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.12) %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.11, i32 noundef 78) %35 = load i32, ptr @stderr, align 4 %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.13) %37 = load i32, ptr @stderr, align 4 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.14) %39 = load i32, ptr @stderr, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.15) %41 = load i32, ptr @stderr, align 4 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.16) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz636kqz.c" target datalayout = "e-m:e-p270: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 [58 x i8] c"\0AThe program loads <index> and then executes over it the\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"queries it receives from the standard input. The standard\0A\00", align 1 @.str.2 = private unnamed_addr constant [52 x i8] c"input comes in the format of the files written by \0A\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"genpatterns or genintervals.\0A\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"%s reports on the standard error time statistics\0A\00", align 1 @.str.5 = private unnamed_addr constant [36 x i8] c"regarding to running the queries.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [82 x i8] c"Usage: %s <index> <type> <numPatts> <repetitions> [V] [search_opts] < patt_file\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c"\0A\09<type> denotes the type of queries:\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"\09 %c <numListsToExtract><iterations per list>\0A\00", align 1 @.str.9 = private unnamed_addr constant [69 x i8] c"\09 Extracts the values of the lists: memory is allocated\0A\00", align 1 @.str.10 = private unnamed_addr constant [79 x i8] c"\09 Extracts the values of the lists: memory is reserved only once.\0A\00", align 1 @.str.11 = private unnamed_addr constant [48 x i8] c"\09 %c <numFrases><iterations per frase>\0A\00", align 1 @.str.12 = private unnamed_addr constant [82 x i8] c"\09 Intersection of two lists (diff. opts. depending on [search_opts])\0A\00", align 1 @.str.13 = private unnamed_addr constant [80 x i8] c"\09 Intersection of n lists (diff. opts. depending on [search_opts])\0A\00", align 1 @.str.14 = private unnamed_addr constant [63 x i8] c"\0A\09[V] with this option it reports on the standard output\0A\00", align 1 @.str.15 = private unnamed_addr constant [65 x i8] c"\09 the results of the queries. The results file might be\0A\00", align 1 @.str.16 = private unnamed_addr constant [64 x i8] c"\09 compared with a trusted one by the compare program.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_search_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @stderr, align 4 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.3) %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.4, ptr noundef %12) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7) %21 = load i32, ptr @stderr, align 4 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.8, i32 noundef 69) %23 = load i32, ptr @stderr, align 4 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.9) %25 = load i32, ptr @stderr, align 4 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.8, i32 noundef 101) %27 = load i32, ptr @stderr, align 4 %28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.10) %29 = load i32, ptr @stderr, align 4 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.11, i32 noundef 73) %31 = load i32, ptr @stderr, align 4 %32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.12) %33 = load i32, ptr @stderr, align 4 %34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.11, i32 noundef 78) %35 = load i32, ptr @stderr, align 4 %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.13) %37 = load i32, ptr @stderr, align 4 %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.14) %39 = load i32, ptr @stderr, align 4 %40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.15) %41 = load i32, ptr @stderr, align 4 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.16) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppjdrpaoi.c' source_filename = "/tmp/tmppjdrpaoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"usage: %s file|dir [w=%i] [h=%i]\0Agenerate a test video stream\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(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 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef 352, i32 noundef 288) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppjdrpaoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [63 x i8] c"usage: %s file|dir [w=%i] [h=%i]\0Agenerate a test video stream\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help(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 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef 352, i32 noundef 288) %5 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcrn4rdhk.c' source_filename = "/tmp/tmpcrn4rdhk.c" target datalayout = "e-m:e-p270: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.iovec = type { ptr, i32 } @.str = private unnamed_addr constant [10 x i8] c"groad.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"readv\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i8], align 1 %3 = alloca [5 x i8], align 1 %4 = alloca [4 x i8], align 1 %5 = alloca [3 x %struct.iovec], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %60 15: ; preds = %0 %16 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %17 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %18 = getelementptr inbounds %struct.iovec, ptr %17, i32 0, i32 0 store ptr %16, ptr %18, align 16 %19 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %20 = getelementptr inbounds %struct.iovec, ptr %19, i32 0, i32 1 store i32 4, ptr %20, align 8 %21 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %22 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 1 %23 = getelementptr inbounds %struct.iovec, ptr %22, i32 0, i32 0 store ptr %21, ptr %23, align 16 %24 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 1 %25 = getelementptr inbounds %struct.iovec, ptr %24, i32 0, i32 1 store i32 5, ptr %25, align 8 %26 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0 %27 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 2 %28 = getelementptr inbounds %struct.iovec, ptr %27, i32 0, i32 0 store ptr %26, ptr %28, align 16 %29 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 2 %30 = getelementptr inbounds %struct.iovec, ptr %29, i32 0, i32 1 store i32 4, ptr %30, align 8 %31 = load i32, ptr %7, align 4 %32 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %33 = call i32 @readv(i32 noundef %31, ptr noundef %32, i32 noundef 3) store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %15 %37 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %60 38: ; preds = %15 store i32 0, ptr %8, align 4 br label %39 39: ; preds = %50, %38 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %40, 3 br i1 %41, label %42, label %53 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 %44 %46 = getelementptr inbounds %struct.iovec, ptr %45, i32 0, i32 0 %47 = load ptr, ptr %46, align 16 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %50 50: ; preds = %42 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %39, !llvm.loop !6 53: ; preds = %39 %54 = load i32, ptr %7, align 4 %55 = call i64 @close(i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %59 57: ; preds = %53 %58 = call i32 @perror(ptr noundef @.str.5) store i32 1, ptr %1, align 4 br label %60 59: ; preds = %53 store i32 0, ptr %1, align 4 br label %60 60: ; preds = %59, %57, %36, %13 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @readv(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcrn4rdhk.c" target datalayout = "e-m:e-p270: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.iovec = type { ptr, i32 } @.str = private unnamed_addr constant [10 x i8] c"groad.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"readv\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"close\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i8], align 1 %3 = alloca [5 x i8], align 1 %4 = alloca [4 x i8], align 1 %5 = alloca [3 x %struct.iovec], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef @.str, i32 noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %0 %14 = call i32 @perror(ptr noundef @.str.1) store i32 1, ptr %1, align 4 br label %61 15: ; preds = %0 %16 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %17 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %18 = getelementptr inbounds %struct.iovec, ptr %17, i32 0, i32 0 store ptr %16, ptr %18, align 16 %19 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %20 = getelementptr inbounds %struct.iovec, ptr %19, i32 0, i32 1 store i32 4, ptr %20, align 8 %21 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 0 %22 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 1 %23 = getelementptr inbounds %struct.iovec, ptr %22, i32 0, i32 0 store ptr %21, ptr %23, align 16 %24 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 1 %25 = getelementptr inbounds %struct.iovec, ptr %24, i32 0, i32 1 store i32 5, ptr %25, align 8 %26 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0 %27 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 2 %28 = getelementptr inbounds %struct.iovec, ptr %27, i32 0, i32 0 store ptr %26, ptr %28, align 16 %29 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 2 %30 = getelementptr inbounds %struct.iovec, ptr %29, i32 0, i32 1 store i32 4, ptr %30, align 8 %31 = load i32, ptr %7, align 4 %32 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 0 %33 = call i32 @readv(i32 noundef %31, ptr noundef %32, i32 noundef 3) store i32 %33, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %38 36: ; preds = %15 %37 = call i32 @perror(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %61 38: ; preds = %15 store i32 0, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = icmp slt i32 %39, 3 br i1 %40, label %.lr.ph, label %54 .lr.ph: ; preds = %38 br label %41 41: ; preds = %.lr.ph, %49 %42 = load i32, ptr %8, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [3 x %struct.iovec], ptr %5, i64 0, i64 %43 %45 = getelementptr inbounds %struct.iovec, ptr %44, i32 0, i32 0 %46 = load ptr, ptr %45, align 16 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %46) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %49 49: ; preds = %41 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp slt i32 %52, 3 br i1 %53, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %54 54: ; preds = %._crit_edge, %38 %55 = load i32, ptr %7, align 4 %56 = call i64 @close(i32 noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 @perror(ptr noundef @.str.5) store i32 1, ptr %1, align 4 br label %61 60: ; preds = %54 store i32 0, ptr %1, align 4 br label %61 61: ; preds = %60, %58, %36, %13 %62 = load i32, ptr %1, align 4 ret i32 %62 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @readv(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpu274uw_o.c' source_filename = "/tmp/tmpu274uw_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SendNU16(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 store i16 0, ptr %5, align 2 br label %6 6: ; preds = %32, %2 %7 = load i16, ptr %5, align 2 %8 = zext i16 %7 to i32 %9 = load i16, ptr %4, align 2 %10 = zext i16 %9 to i32 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %35 12: ; preds = %6 %13 = load ptr, ptr %3, align 8 %14 = load i16, ptr %5, align 2 %15 = zext i16 %14 to i64 %16 = getelementptr inbounds i16, ptr %13, i64 %15 %17 = load i16, ptr %16, align 2 %18 = zext i16 %17 to i32 %19 = ashr i32 %18, 8 %20 = and i32 %19, 255 %21 = trunc i32 %20 to i16 %22 = call i32 @SendChar(i16 noundef zeroext %21) %23 = load ptr, ptr %3, align 8 %24 = load i16, ptr %5, align 2 %25 = zext i16 %24 to i64 %26 = getelementptr inbounds i16, ptr %23, i64 %25 %27 = load i16, ptr %26, align 2 %28 = zext i16 %27 to i32 %29 = and i32 %28, 255 %30 = trunc i32 %29 to i16 %31 = call i32 @SendChar(i16 noundef zeroext %30) br label %32 32: ; preds = %12 %33 = load i16, ptr %5, align 2 %34 = add i16 %33, 1 store i16 %34, ptr %5, align 2 br label %6, !llvm.loop !6 35: ; preds = %6 ret void } declare i32 @SendChar(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu274uw_o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SendNU16(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca i16, align 2 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 store i16 0, ptr %5, align 2 %6 = load i16, ptr %5, align 2 %7 = zext i16 %6 to i32 %8 = load i16, ptr %4, align 2 %9 = zext i16 %8 to i32 %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %31 %12 = load ptr, ptr %3, align 8 %13 = load i16, ptr %5, align 2 %14 = zext i16 %13 to i64 %15 = getelementptr inbounds i16, ptr %12, i64 %14 %16 = load i16, ptr %15, align 2 %17 = zext i16 %16 to i32 %18 = ashr i32 %17, 8 %19 = and i32 %18, 255 %20 = trunc i32 %19 to i16 %21 = call i32 @SendChar(i16 noundef zeroext %20) %22 = load ptr, ptr %3, align 8 %23 = load i16, ptr %5, align 2 %24 = zext i16 %23 to i64 %25 = getelementptr inbounds i16, ptr %22, i64 %24 %26 = load i16, ptr %25, align 2 %27 = zext i16 %26 to i32 %28 = and i32 %27, 255 %29 = trunc i32 %28 to i16 %30 = call i32 @SendChar(i16 noundef zeroext %29) br label %31 31: ; preds = %11 %32 = load i16, ptr %5, align 2 %33 = add i16 %32, 1 store i16 %33, ptr %5, align 2 %34 = load i16, ptr %5, align 2 %35 = zext i16 %34 to i32 %36 = load i16, ptr %4, align 2 %37 = zext i16 %36 to i32 %38 = icmp slt i32 %35, %37 br i1 %38, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %39 39: ; preds = %._crit_edge, %2 ret void } declare i32 @SendChar(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0qk7i6wi.c' source_filename = "/tmp/tmp0qk7i6wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Latin2\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ISO-8859-2\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Latin3\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ISO-8859-3\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Latin4\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"ISO-8859-4\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Cyrillic\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"ISO-8859-5\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Arabic\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"ISO-8859-6\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"Greek\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"ISO-8859-7\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Hebrew\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"ISO-8859-8\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"Latin5\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"ISO-8859-9\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Latin6\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"ISO-8859-10\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Windows-1251\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"Japan\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"EUC-JP\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"Koi8-r\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"KOI8-R\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ccharset(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 i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str.1) br label %105 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.2) %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.3) br label %104 16: ; preds = %9 %17 = load ptr, ptr %2, align 8 %18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.4) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.5) br label %103 23: ; preds = %16 %24 = load ptr, ptr %2, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.6) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load ptr, ptr %2, align 8 %29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.7) br label %102 30: ; preds = %23 %31 = load ptr, ptr %2, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.8) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load ptr, ptr %2, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.9) br label %101 37: ; preds = %30 %38 = load ptr, ptr %2, align 8 %39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.10) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load ptr, ptr %2, align 8 %43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.11) br label %100 44: ; preds = %37 %45 = load ptr, ptr %2, align 8 %46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.12) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %2, align 8 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str.13) br label %99 51: ; preds = %44 %52 = load ptr, ptr %2, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.14) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %51 %56 = load ptr, ptr %2, align 8 %57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str.15) br label %98 58: ; preds = %51 %59 = load ptr, ptr %2, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.16) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load ptr, ptr %2, align 8 %64 = call i32 @strcpy(ptr noundef %63, ptr noundef @.str.17) br label %97 65: ; preds = %58 %66 = load ptr, ptr %2, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.18) %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %65 %70 = load ptr, ptr %2, align 8 %71 = call i32 @strcpy(ptr noundef %70, ptr noundef @.str.18) br label %96 72: ; preds = %65 %73 = load ptr, ptr %2, align 8 %74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.19) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load ptr, ptr %2, align 8 %78 = call i32 @strcpy(ptr noundef %77, ptr noundef @.str.20) br label %95 79: ; preds = %72 %80 = load ptr, ptr %2, align 8 %81 = call i64 @strcmp(ptr noundef %80, ptr noundef @.str.21) %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = load ptr, ptr %2, align 8 %85 = call i32 @strcpy(ptr noundef %84, ptr noundef @.str.22) br label %94 86: ; preds = %79 %87 = load ptr, ptr %2, align 8 %88 = call i64 @strcmp(ptr noundef %87, ptr noundef @.str.23) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %86 %91 = load ptr, ptr %2, align 8 %92 = call i32 @strcpy(ptr noundef %91, ptr noundef @.str.23) br label %93 93: ; preds = %90, %86 br label %94 94: ; preds = %93, %83 br label %95 95: ; preds = %94, %76 br label %96 96: ; preds = %95, %69 br label %97 97: ; preds = %96, %62 br label %98 98: ; preds = %97, %55 br label %99 99: ; preds = %98, %48 br label %100 100: ; preds = %99, %41 br label %101 101: ; preds = %100, %34 br label %102 102: ; preds = %101, %27 br label %103 103: ; preds = %102, %20 br label %104 104: ; preds = %103, %13 br label %105 105: ; preds = %104, %6 ret void } declare i64 @strcmp(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0qk7i6wi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Latin2\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ISO-8859-2\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Latin3\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ISO-8859-3\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Latin4\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"ISO-8859-4\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Cyrillic\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"ISO-8859-5\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"Arabic\00", align 1 @.str.9 = private unnamed_addr constant [11 x i8] c"ISO-8859-6\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"Greek\00", align 1 @.str.11 = private unnamed_addr constant [11 x i8] c"ISO-8859-7\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Hebrew\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"ISO-8859-8\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"Latin5\00", align 1 @.str.15 = private unnamed_addr constant [11 x i8] c"ISO-8859-9\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Latin6\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"ISO-8859-10\00", align 1 @.str.18 = private unnamed_addr constant [13 x i8] c"Windows-1251\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"Japan\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"EUC-JP\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"Koi8-r\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"KOI8-R\00", align 1 @.str.23 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ccharset(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 i64 @strcmp(ptr noundef %3, ptr noundef @.str) %5 = icmp eq i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str.1) br label %105 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.2) %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcpy(ptr noundef %14, ptr noundef @.str.3) br label %104 16: ; preds = %9 %17 = load ptr, ptr %2, align 8 %18 = call i64 @strcmp(ptr noundef %17, ptr noundef @.str.4) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load ptr, ptr %2, align 8 %22 = call i32 @strcpy(ptr noundef %21, ptr noundef @.str.5) br label %103 23: ; preds = %16 %24 = load ptr, ptr %2, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.6) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %23 %28 = load ptr, ptr %2, align 8 %29 = call i32 @strcpy(ptr noundef %28, ptr noundef @.str.7) br label %102 30: ; preds = %23 %31 = load ptr, ptr %2, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.8) %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %30 %35 = load ptr, ptr %2, align 8 %36 = call i32 @strcpy(ptr noundef %35, ptr noundef @.str.9) br label %101 37: ; preds = %30 %38 = load ptr, ptr %2, align 8 %39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.10) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %37 %42 = load ptr, ptr %2, align 8 %43 = call i32 @strcpy(ptr noundef %42, ptr noundef @.str.11) br label %100 44: ; preds = %37 %45 = load ptr, ptr %2, align 8 %46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.12) %47 = icmp eq i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %2, align 8 %50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str.13) br label %99 51: ; preds = %44 %52 = load ptr, ptr %2, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.14) %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %51 %56 = load ptr, ptr %2, align 8 %57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str.15) br label %98 58: ; preds = %51 %59 = load ptr, ptr %2, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.16) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %58 %63 = load ptr, ptr %2, align 8 %64 = call i32 @strcpy(ptr noundef %63, ptr noundef @.str.17) br label %97 65: ; preds = %58 %66 = load ptr, ptr %2, align 8 %67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.18) %68 = icmp eq i64 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %65 %70 = load ptr, ptr %2, align 8 %71 = call i32 @strcpy(ptr noundef %70, ptr noundef @.str.18) br label %96 72: ; preds = %65 %73 = load ptr, ptr %2, align 8 %74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.19) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load ptr, ptr %2, align 8 %78 = call i32 @strcpy(ptr noundef %77, ptr noundef @.str.20) br label %95 79: ; preds = %72 %80 = load ptr, ptr %2, align 8 %81 = call i64 @strcmp(ptr noundef %80, ptr noundef @.str.21) %82 = icmp eq i64 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = load ptr, ptr %2, align 8 %85 = call i32 @strcpy(ptr noundef %84, ptr noundef @.str.22) br label %94 86: ; preds = %79 %87 = load ptr, ptr %2, align 8 %88 = call i64 @strcmp(ptr noundef %87, ptr noundef @.str.23) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %86 %91 = load ptr, ptr %2, align 8 %92 = call i32 @strcpy(ptr noundef %91, ptr noundef @.str.23) br label %93 93: ; preds = %90, %86 br label %94 94: ; preds = %93, %83 br label %95 95: ; preds = %94, %76 br label %96 96: ; preds = %95, %69 br label %97 97: ; preds = %96, %62 br label %98 98: ; preds = %97, %55 br label %99 99: ; preds = %98, %48 br label %100 100: ; preds = %99, %41 br label %101 101: ; preds = %100, %34 br label %102 102: ; preds = %101, %27 br label %103 103: ; preds = %102, %20 br label %104 104: ; preds = %103, %13 br label %105 105: ; preds = %104, %6 ret void } declare i64 @strcmp(ptr noundef, 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"}
; ModuleID = '/tmp/tmpvd7kjdw5.c' source_filename = "/tmp/tmpvd7kjdw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_strncat_s(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = load i64, ptr %11, align 8 %15 = load ptr, ptr %10, align 8 %16 = load i64, ptr %12, align 8 %17 = call i32 @strncat_s(ptr noundef %13, i64 noundef %14, ptr noundef %15, i64 noundef %16) %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i64, ptr %8, align 8 %22 = call i32 @strncat_s(ptr noundef %18, i64 noundef %19, ptr noundef %20, i64 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %11, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %8, align 8 %27 = call i32 @strncat_s(ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %8, align 8 %32 = call i32 @strncat_s(ptr noundef %28, i64 noundef %29, ptr noundef %30, i64 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %12, align 8 %37 = call i32 @strncat_s(ptr noundef %33, i64 noundef %34, ptr noundef %35, i64 noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i64, ptr %8, align 8 %42 = call i32 @strncat_s(ptr noundef %38, i64 noundef %39, ptr noundef %40, i64 noundef %41) ret void } declare i32 @strncat_s(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvd7kjdw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitvar_strncat_s(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %13 = load ptr, ptr %9, align 8 %14 = load i64, ptr %11, align 8 %15 = load ptr, ptr %10, align 8 %16 = load i64, ptr %12, align 8 %17 = call i32 @strncat_s(ptr noundef %13, i64 noundef %14, ptr noundef %15, i64 noundef %16) %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i64, ptr %8, align 8 %22 = call i32 @strncat_s(ptr noundef %18, i64 noundef %19, ptr noundef %20, i64 noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %11, align 8 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %8, align 8 %27 = call i32 @strncat_s(ptr noundef %23, i64 noundef %24, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %6, align 8 %30 = load ptr, ptr %10, align 8 %31 = load i64, ptr %8, align 8 %32 = call i32 @strncat_s(ptr noundef %28, i64 noundef %29, ptr noundef %30, i64 noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load i64, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = load i64, ptr %12, align 8 %37 = call i32 @strncat_s(ptr noundef %33, i64 noundef %34, ptr noundef %35, i64 noundef %36) %38 = load ptr, ptr %5, align 8 %39 = load i64, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = load i64, ptr %8, align 8 %42 = call i32 @strncat_s(ptr noundef %38, i64 noundef %39, ptr noundef %40, i64 noundef %41) ret void } declare i32 @strncat_s(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkpuih9li.c' source_filename = "/tmp/tmpkpuih9li.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bool_or(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @bis(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @bis(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/tmpkpuih9li.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bool_or(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @bis(i32 noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @bis(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/tmpb7sp52k5.c' source_filename = "/tmp/tmpb7sp52k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @audit_test(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %18 = call i32 (...) @_mm_setzero_si128() store i32 %18, ptr %17, align 4 %19 = call i64 @memcmp(ptr noundef %17, ptr noundef %9, i32 noundef 4) %20 = icmp ne i64 %19, 0 br i1 %20, label %42, label %21 21: ; preds = %8 %22 = call i64 @memcmp(ptr noundef %17, ptr noundef %10, i32 noundef 4) %23 = icmp ne i64 %22, 0 br i1 %23, label %42, label %24 24: ; preds = %21 %25 = call i64 @memcmp(ptr noundef %17, ptr noundef %11, i32 noundef 4) %26 = icmp ne i64 %25, 0 br i1 %26, label %42, label %27 27: ; preds = %24 %28 = call i64 @memcmp(ptr noundef %17, ptr noundef %12, i32 noundef 4) %29 = icmp ne i64 %28, 0 br i1 %29, label %42, label %30 30: ; preds = %27 %31 = call i64 @memcmp(ptr noundef %17, ptr noundef %13, i32 noundef 4) %32 = icmp ne i64 %31, 0 br i1 %32, label %42, label %33 33: ; preds = %30 %34 = call i64 @memcmp(ptr noundef %17, ptr noundef %14, i32 noundef 4) %35 = icmp ne i64 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %33 %37 = call i64 @memcmp(ptr noundef %17, ptr noundef %15, i32 noundef 4) %38 = icmp ne i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = call i64 @memcmp(ptr noundef %17, ptr noundef %16, i32 noundef 4) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %39, %36, %33, %30, %27, %24, %21, %8 %43 = call i32 (...) @abort() #3 unreachable 44: ; preds = %39 %45 = load i32, ptr %17, align 4 ret i32 %45 } declare i32 @_mm_setzero_si128(...) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7sp52k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @audit_test(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store i32 %5, ptr %14, align 4 store i32 %6, ptr %15, align 4 store i32 %7, ptr %16, align 4 %18 = call i32 (...) @_mm_setzero_si128() store i32 %18, ptr %17, align 4 %19 = call i64 @memcmp(ptr noundef %17, ptr noundef %9, i32 noundef 4) %20 = icmp ne i64 %19, 0 br i1 %20, label %42, label %21 21: ; preds = %8 %22 = call i64 @memcmp(ptr noundef %17, ptr noundef %10, i32 noundef 4) %23 = icmp ne i64 %22, 0 br i1 %23, label %42, label %24 24: ; preds = %21 %25 = call i64 @memcmp(ptr noundef %17, ptr noundef %11, i32 noundef 4) %26 = icmp ne i64 %25, 0 br i1 %26, label %42, label %27 27: ; preds = %24 %28 = call i64 @memcmp(ptr noundef %17, ptr noundef %12, i32 noundef 4) %29 = icmp ne i64 %28, 0 br i1 %29, label %42, label %30 30: ; preds = %27 %31 = call i64 @memcmp(ptr noundef %17, ptr noundef %13, i32 noundef 4) %32 = icmp ne i64 %31, 0 br i1 %32, label %42, label %33 33: ; preds = %30 %34 = call i64 @memcmp(ptr noundef %17, ptr noundef %14, i32 noundef 4) %35 = icmp ne i64 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %33 %37 = call i64 @memcmp(ptr noundef %17, ptr noundef %15, i32 noundef 4) %38 = icmp ne i64 %37, 0 br i1 %38, label %42, label %39 39: ; preds = %36 %40 = call i64 @memcmp(ptr noundef %17, ptr noundef %16, i32 noundef 4) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %39, %36, %33, %30, %27, %24, %21, %8 %43 = call i32 (...) @abort() #3 unreachable 44: ; preds = %39 %45 = load i32, ptr %17, align 4 ret i32 %45 } declare i32 @_mm_setzero_si128(...) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq0vmyapx.c' source_filename = "/tmp/tmpq0vmyapx.c" target datalayout = "e-m:e-p270: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/tmpq0vmyapx.c" target datalayout = "e-m:e-p270: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/tmp93umos5t.c' source_filename = "/tmp/tmp93umos5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rec2(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 = icmp sle i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 %10 = call i32 @rec1(i32 noundef %9) %11 = call i32 @rec2(i32 noundef %10) %12 = sub nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @rec1(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/tmp93umos5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rec2(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 = icmp sle i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 0, ptr %2, align 4 br label %13 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 %10 = call i32 @rec1(i32 noundef %9) %11 = call i32 @rec2(i32 noundef %10) %12 = sub nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %7, %6 %14 = load i32, ptr %2, align 4 ret i32 %14 } declare i32 @rec1(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/tmpt4764ms_.c' source_filename = "/tmp/tmpt4764ms_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @undo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) br label %5 5: ; preds = %9, %1 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %3, align 4 %8 = icmp ne i32 %6, 0 br i1 %8, label %9, label %12 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 br label %5, !llvm.loop !6 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 br label %18 16: ; preds = %12 %17 = load i32, ptr %2, align 4 br label %18 18: ; preds = %16, %15 %19 = phi i32 [ 0, %15 ], [ %17, %16 ] ret i32 %19 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt4764ms_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @undo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr %3, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %3, align 4 %7 = icmp ne i32 %5, 0 br i1 %7, label %.lr.ph, label %14 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %3, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %14 14: ; preds = %._crit_edge, %1 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14 br label %20 18: ; preds = %14 %19 = load i32, ptr %2, align 4 br label %20 20: ; preds = %18, %17 %21 = phi i32 [ 0, %17 ], [ %19, %18 ] ret i32 %21 } declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg3_fld6u.c' source_filename = "/tmp/tmpg3_fld6u.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"Usage %s <source.rdb> <target.rld> \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %25 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 %21 = call i64 @rdb2rld(ptr noundef %17, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 1, ptr %3, align 4 br label %25 24: ; preds = %14 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %24, %23, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @rdb2rld(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/tmpg3_fld6u.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"Usage %s <source.rdb> <target.rld> \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %25 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 2 %20 = load ptr, ptr %19, align 8 %21 = call i64 @rdb2rld(ptr noundef %17, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 1, ptr %3, align 4 br label %25 24: ; preds = %14 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %24, %23, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @rdb2rld(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/tmpeticcett.c' source_filename = "/tmp/tmpeticcett.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Requirements inspection passed\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\1B[31mMalformed information byte (DROP)\0A\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"setting reqmts info\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @encodeReqmts(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 2 %7 = and i32 %6, 3 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %1 %10 = load i8, ptr %2, align 1 %11 = zext i8 %10 to i32 %12 = ashr i32 %11, 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load i8, ptr %2, align 1 %16 = zext i8 %15 to i32 %17 = ashr i32 %16, 4 %18 = icmp slt i32 %17, 9 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str) store i8 1, ptr %3, align 1 br label %25 21: ; preds = %14, %9, %1 %22 = call i32 @printf(ptr noundef @.str.1) %23 = load i8, ptr %2, align 1 %24 = call i32 @printByteDebug(i8 noundef zeroext %23) store i8 0, ptr %3, align 1 br label %25 25: ; preds = %21, %19 %26 = call i32 @printf(ptr noundef @.str.2) %27 = load i8, ptr %2, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 252 %30 = load i8, ptr %3, align 1 %31 = zext i8 %30 to i32 %32 = and i32 %31, -253 %33 = or i32 %29, %32 %34 = trunc i32 %33 to i8 store i8 %34, ptr %2, align 1 %35 = load i8, ptr %2, align 1 ret i8 %35 } declare i32 @printf(ptr noundef) #1 declare i32 @printByteDebug(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeticcett.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Requirements inspection passed\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\1B[31mMalformed information byte (DROP)\0A\1B[0m\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"setting reqmts info\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @encodeReqmts(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = zext i8 %4 to i32 %6 = ashr i32 %5, 2 %7 = and i32 %6, 3 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %1 %10 = load i8, ptr %2, align 1 %11 = zext i8 %10 to i32 %12 = ashr i32 %11, 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load i8, ptr %2, align 1 %16 = zext i8 %15 to i32 %17 = ashr i32 %16, 4 %18 = icmp slt i32 %17, 9 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str) store i8 1, ptr %3, align 1 br label %25 21: ; preds = %14, %9, %1 %22 = call i32 @printf(ptr noundef @.str.1) %23 = load i8, ptr %2, align 1 %24 = call i32 @printByteDebug(i8 noundef zeroext %23) store i8 0, ptr %3, align 1 br label %25 25: ; preds = %21, %19 %26 = call i32 @printf(ptr noundef @.str.2) %27 = load i8, ptr %2, align 1 %28 = zext i8 %27 to i32 %29 = and i32 %28, 252 %30 = load i8, ptr %3, align 1 %31 = zext i8 %30 to i32 %32 = and i32 %31, -253 %33 = or i32 %29, %32 %34 = trunc i32 %33 to i8 store i8 %34, ptr %2, align 1 %35 = load i8, ptr %2, align 1 ret i8 %35 } declare i32 @printf(ptr noundef) #1 declare i32 @printByteDebug(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbm7cu78n.c' source_filename = "/tmp/tmpbm7cu78n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = 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/tmpbm7cu78n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = 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/tmp1891rm47.c' source_filename = "/tmp/tmp1891rm47.c" target datalayout = "e-m:e-p270: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/tmp1891rm47.c" target datalayout = "e-m:e-p270: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/tmpzw511c3g.c' source_filename = "/tmp/tmpzw511c3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgnline_() #0 { %1 = call i32 (...) @bgnline() ret void } declare i32 @bgnline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzw511c3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bgnline_() #0 { %1 = call i32 (...) @bgnline() ret void } declare i32 @bgnline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7b7g1hfu.c' source_filename = "/tmp/tmp7b7g1hfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Enter vector members :\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca [3 x i32], align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %6 = call i32 @fill_array(ptr noundef %5, i32 noundef 3) %7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %8 = call i32 @fill_array(ptr noundef %7, i32 noundef 3) %9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @cross_product_of_vectors(ptr noundef %9, ptr noundef %10) %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare i32 @printf(ptr noundef) #1 declare i32 @fill_array(ptr noundef, i32 noundef) #1 declare i32 @cross_product_of_vectors(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/tmp7b7g1hfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Enter vector members :\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x i32], align 4 %3 = alloca [3 x i32], align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str) %5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %6 = call i32 @fill_array(ptr noundef %5, i32 noundef 3) %7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %8 = call i32 @fill_array(ptr noundef %7, i32 noundef 3) %9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0 %11 = call i32 @cross_product_of_vectors(ptr noundef %9, ptr noundef %10) %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare i32 @printf(ptr noundef) #1 declare i32 @fill_array(ptr noundef, i32 noundef) #1 declare i32 @cross_product_of_vectors(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/tmpewp66xi3.c' source_filename = "/tmp/tmpewp66xi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please enter a character: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"You entered an invalid character.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 65 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewp66xi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please enter a character: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"You entered an invalid character.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = icmp eq i32 %6, 65 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %12 10: ; preds = %0 %11 = call i32 @printf(ptr noundef @.str.3) br label %12 12: ; preds = %10, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpadmwpflp.c' source_filename = "/tmp/tmpadmwpflp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x97() #0 { %1 = call i64 @isdigit(i32 noundef 151) %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 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpadmwpflp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0x97\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0x97() #0 { %1 = call i64 @isdigit(i32 noundef 151) %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 760, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(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/tmpusdsarus.c' source_filename = "/tmp/tmpusdsarus.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpusdsarus.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzmz0g5tw.c' source_filename = "/tmp/tmpzmz0g5tw.c" target datalayout = "e-m:e-p270: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.ar = private unnamed_addr constant [6 x i32] [i32 2, i32 1, i32 4, i32 0, i32 6, i32 3], align 16 @.str = private unnamed_addr constant [24 x i8] c"Array before sorting: \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Array sorted in ascending order: \0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Array sorted in descending order: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ar, i64 24, i1 false) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %16, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 6 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 store i32 0, ptr %3, align 4 br label %20 20: ; preds = %60, %19 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 6 br i1 %22, label %23, label %63 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %56, %23 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %27, 6 br i1 %28, label %29, label %59 29: ; preds = %26 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp slt i32 %33, %37 br i1 %38, label %39, label %55 39: ; preds = %29 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %49 store i32 %47, ptr %50, align 4 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %53 store i32 %51, ptr %54, align 4 br label %55 55: ; preds = %39, %29 br label %56 56: ; preds = %55 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %4, align 4 br label %26, !llvm.loop !8 59: ; preds = %26 br label %60 60: ; preds = %59 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 br label %20, !llvm.loop !9 63: ; preds = %20 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %74, %63 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %66, 6 br i1 %67, label %68, label %77 68: ; preds = %65 %69 = load i32, ptr %3, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %72) br label %74 74: ; preds = %68 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 br label %65, !llvm.loop !10 77: ; preds = %65 store i32 0, ptr %3, align 4 br label %78 78: ; preds = %118, %77 %79 = load i32, ptr %3, align 4 %80 = icmp slt i32 %79, 6 br i1 %80, label %81, label %121 81: ; preds = %78 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %4, align 4 br label %84 84: ; preds = %114, %81 %85 = load i32, ptr %4, align 4 %86 = icmp slt i32 %85, 6 br i1 %86, label %87, label %117 87: ; preds = %84 %88 = load i32, ptr %4, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = load i32, ptr %3, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = icmp sgt i32 %91, %95 br i1 %96, label %97, label %113 97: ; preds = %87 %98 = load i32, ptr %3, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %99 %101 = load i32, ptr %100, align 4 store i32 %101, ptr %5, align 4 %102 = load i32, ptr %4, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %107 store i32 %105, ptr %108, align 4 %109 = load i32, ptr %5, align 4 %110 = load i32, ptr %4, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %111 store i32 %109, ptr %112, align 4 br label %113 113: ; preds = %97, %87 br label %114 114: ; preds = %113 %115 = load i32, ptr %4, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %4, align 4 br label %84, !llvm.loop !11 117: ; preds = %84 br label %118 118: ; preds = %117 %119 = load i32, ptr %3, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %3, align 4 br label %78, !llvm.loop !12 121: ; preds = %78 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %123 123: ; preds = %132, %121 %124 = load i32, ptr %3, align 4 %125 = icmp slt i32 %124, 6 br i1 %125, label %126, label %135 126: ; preds = %123 %127 = load i32, ptr %3, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %128 %130 = load i32, ptr %129, align 4 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %130) br label %132 132: ; preds = %126 %133 = load i32, ptr %3, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %3, align 4 br label %123, !llvm.loop !13 135: ; preds = %123 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzmz0g5tw.c" target datalayout = "e-m:e-p270: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.ar = private unnamed_addr constant [6 x i32] [i32 2, i32 1, i32 4, i32 0, i32 6, i32 3], align 16 @.str = private unnamed_addr constant [24 x i8] c"Array before sorting: \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Array sorted in ascending order: \0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Array sorted in descending order: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.ar, i64 24, i1 false) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 6 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %15 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 6 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %21, 6 br i1 %22, label %.lr.ph5, label %66 .lr.ph5: ; preds = %20 br label %23 23: ; preds = %.lr.ph5, %61 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %26, 6 br i1 %27, label %.lr.ph2, label %60 .lr.ph2: ; preds = %23 br label %28 28: ; preds = %.lr.ph2, %55 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp slt i32 %32, %36 br i1 %37, label %38, label %54 38: ; preds = %28 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %3, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %48 store i32 %46, ptr %49, align 4 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %52 store i32 %50, ptr %53, align 4 br label %54 54: ; preds = %38, %28 br label %55 55: ; preds = %54 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %4, align 4 %58 = load i32, ptr %4, align 4 %59 = icmp slt i32 %58, 6 br i1 %59, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %60 60: ; preds = %._crit_edge3, %23 br label %61 61: ; preds = %60 %62 = load i32, ptr %3, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %3, align 4 %64 = load i32, ptr %3, align 4 %65 = icmp slt i32 %64, 6 br i1 %65, label %23, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %61 br label %66 66: ; preds = %._crit_edge6, %20 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %68 = load i32, ptr %3, align 4 %69 = icmp slt i32 %68, 6 br i1 %69, label %.lr.ph8, label %81 .lr.ph8: ; preds = %66 br label %70 70: ; preds = %.lr.ph8, %76 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %74) br label %76 76: ; preds = %70 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 %79 = load i32, ptr %3, align 4 %80 = icmp slt i32 %79, 6 br i1 %80, label %70, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %76 br label %81 81: ; preds = %._crit_edge9, %66 store i32 0, ptr %3, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp slt i32 %82, 6 br i1 %83, label %.lr.ph14, label %127 .lr.ph14: ; preds = %81 br label %84 84: ; preds = %.lr.ph14, %122 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %87, 6 br i1 %88, label %.lr.ph11, label %121 .lr.ph11: ; preds = %84 br label %89 89: ; preds = %.lr.ph11, %116 %90 = load i32, ptr %4, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %3, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp sgt i32 %93, %97 br i1 %98, label %99, label %115 99: ; preds = %89 %100 = load i32, ptr %3, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %101 %103 = load i32, ptr %102, align 4 store i32 %103, ptr %5, align 4 %104 = load i32, ptr %4, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = load i32, ptr %3, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %109 store i32 %107, ptr %110, align 4 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %4, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %113 store i32 %111, ptr %114, align 4 br label %115 115: ; preds = %99, %89 br label %116 116: ; preds = %115 %117 = load i32, ptr %4, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %4, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp slt i32 %119, 6 br i1 %120, label %89, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %116 br label %121 121: ; preds = %._crit_edge12, %84 br label %122 122: ; preds = %121 %123 = load i32, ptr %3, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %3, align 4 %125 = load i32, ptr %3, align 4 %126 = icmp slt i32 %125, 6 br i1 %126, label %84, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %122 br label %127 127: ; preds = %._crit_edge15, %81 %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 %129 = load i32, ptr %3, align 4 %130 = icmp slt i32 %129, 6 br i1 %130, label %.lr.ph17, label %142 .lr.ph17: ; preds = %127 br label %131 131: ; preds = %.lr.ph17, %137 %132 = load i32, ptr %3, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %133 %135 = load i32, ptr %134, align 4 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %135) br label %137 137: ; preds = %131 %138 = load i32, ptr %3, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %3, align 4 %140 = load i32, ptr %3, align 4 %141 = icmp slt i32 %140, 6 br i1 %141, label %131, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %137 br label %142 142: ; preds = %._crit_edge18, %127 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmprsbfm4vk.c' source_filename = "/tmp/tmprsbfm4vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_create2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %8 8: ; preds = %26, %1 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds ptr, ptr %9, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %29 15: ; preds = %8 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strlen(ptr noundef %20) %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = add nsw i64 %23, %21 %25 = trunc i64 %24 to i32 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %15 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %4, align 4 br label %8, !llvm.loop !6 29: ; preds = %8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 1, %31 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %7, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %76, %29 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %79 43: ; preds = %36 store i32 0, ptr %5, align 4 br label %44 44: ; preds = %70, %43 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %75 56: ; preds = %44 %57 = load ptr, ptr %2, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %57, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 %65, ptr %69, align 1 br label %70 70: ; preds = %56 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %3, align 4 br label %44, !llvm.loop !8 75: ; preds = %44 br label %76 76: ; preds = %75 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 br label %36, !llvm.loop !9 79: ; preds = %36 %80 = load ptr, ptr %7, align 8 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store i8 0, ptr %83, align 1 %84 = load ptr, ptr %7, align 8 ret ptr %84 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprsbfm4vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_create2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %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 ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %25 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strlen(ptr noundef %19) %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = add nsw i64 %22, %20 %24 = trunc i64 %23 to i32 store i32 %24, ptr %3, align 4 br label %25 25: ; preds = %14 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %34 34: ; preds = %._crit_edge, %1 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %7, align 8 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %.lr.ph5, label %99 .lr.ph5: ; preds = %34 br label %47 47: ; preds = %.lr.ph5, %90 store i32 0, ptr %5, align 4 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 0 br i1 %58, label %.lr.ph2, label %89 .lr.ph2: ; preds = %47 br label %59 59: ; preds = %.lr.ph2, %73 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 %68, ptr %72, align 1 br label %73 73: ; preds = %59 %74 = load i32, ptr %5, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %5, align 4 %76 = load i32, ptr %3, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %3, align 4 %78 = load ptr, ptr %2, align 8 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr %5, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 %87, 0 br i1 %88, label %59, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %89 89: ; preds = %._crit_edge3, %47 br label %90 90: ; preds = %89 %91 = load i32, ptr %4, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %4, align 4 %93 = load ptr, ptr %2, align 8 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %90 br label %99 99: ; preds = %._crit_edge6, %34 %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %3, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 store i8 0, ptr %103, align 1 %104 = load ptr, ptr %7, align 8 ret ptr %104 } declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpk38towo0.c' source_filename = "/tmp/tmpk38towo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"hello, my cat:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk38towo0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"hello, my cat:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef 1) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2_0ea9sc.c' source_filename = "/tmp/tmp2_0ea9sc.c" target datalayout = "e-m:e-p270: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/tmp2_0ea9sc.c" target datalayout = "e-m:e-p270: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/tmpdbkculp4.c' source_filename = "/tmp/tmpdbkculp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%.2x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 64) %3 = call i32 @crc7_byte_update(i32 noundef %2, i32 noundef 0) %4 = call i32 @crc7_byte_update(i32 noundef %3, i32 noundef 0) %5 = call i32 @crc7_byte_update(i32 noundef %4, i32 noundef 0) %6 = call i32 @crc7_byte_update(i32 noundef %5, i32 noundef 0) %7 = shl i32 %6, 1 %8 = or i32 %7, 1 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 72) %11 = call i32 @crc7_byte_update(i32 noundef %10, i32 noundef 0) %12 = call i32 @crc7_byte_update(i32 noundef %11, i32 noundef 0) %13 = call i32 @crc7_byte_update(i32 noundef %12, i32 noundef 1) %14 = call i32 @crc7_byte_update(i32 noundef %13, i32 noundef 170) %15 = shl i32 %14, 1 %16 = or i32 %15, 1 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 1) %19 = call i32 @crc7_byte_update(i32 noundef %18, i32 noundef 0) %20 = call i32 @crc7_byte_update(i32 noundef %19, i32 noundef 0) %21 = call i32 @crc7_byte_update(i32 noundef %20, i32 noundef 1) %22 = call i32 @crc7_byte_update(i32 noundef %21, i32 noundef 170) %23 = shl i32 %22, 1 %24 = or i32 %23, 1 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) %26 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 65) %27 = call i32 @crc7_byte_update(i32 noundef %26, i32 noundef 0) %28 = call i32 @crc7_byte_update(i32 noundef %27, i32 noundef 0) %29 = call i32 @crc7_byte_update(i32 noundef %28, i32 noundef 0) %30 = call i32 @crc7_byte_update(i32 noundef %29, i32 noundef 0) %31 = shl i32 %30, 1 %32 = or i32 %31, 1 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 81) %35 = call i32 @crc7_byte_update(i32 noundef %34, i32 noundef 0) %36 = call i32 @crc7_byte_update(i32 noundef %35, i32 noundef 0) %37 = call i32 @crc7_byte_update(i32 noundef %36, i32 noundef 0) %38 = call i32 @crc7_byte_update(i32 noundef %37, i32 noundef 0) %39 = shl i32 %38, 1 %40 = or i32 %39, 1 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) %42 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 80) %43 = call i32 @crc7_byte_update(i32 noundef %42, i32 noundef 0) %44 = call i32 @crc7_byte_update(i32 noundef %43, i32 noundef 0) %45 = call i32 @crc7_byte_update(i32 noundef %44, i32 noundef 0) %46 = call i32 @crc7_byte_update(i32 noundef %45, i32 noundef 80) %47 = shl i32 %46, 1 %48 = or i32 %47, 1 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %48) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @crc7_byte_update(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/tmpdbkculp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%.2x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 64) %3 = call i32 @crc7_byte_update(i32 noundef %2, i32 noundef 0) %4 = call i32 @crc7_byte_update(i32 noundef %3, i32 noundef 0) %5 = call i32 @crc7_byte_update(i32 noundef %4, i32 noundef 0) %6 = call i32 @crc7_byte_update(i32 noundef %5, i32 noundef 0) %7 = shl i32 %6, 1 %8 = or i32 %7, 1 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 72) %11 = call i32 @crc7_byte_update(i32 noundef %10, i32 noundef 0) %12 = call i32 @crc7_byte_update(i32 noundef %11, i32 noundef 0) %13 = call i32 @crc7_byte_update(i32 noundef %12, i32 noundef 1) %14 = call i32 @crc7_byte_update(i32 noundef %13, i32 noundef 170) %15 = shl i32 %14, 1 %16 = or i32 %15, 1 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 1) %19 = call i32 @crc7_byte_update(i32 noundef %18, i32 noundef 0) %20 = call i32 @crc7_byte_update(i32 noundef %19, i32 noundef 0) %21 = call i32 @crc7_byte_update(i32 noundef %20, i32 noundef 1) %22 = call i32 @crc7_byte_update(i32 noundef %21, i32 noundef 170) %23 = shl i32 %22, 1 %24 = or i32 %23, 1 %25 = call i32 @printf(ptr noundef @.str, i32 noundef %24) %26 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 65) %27 = call i32 @crc7_byte_update(i32 noundef %26, i32 noundef 0) %28 = call i32 @crc7_byte_update(i32 noundef %27, i32 noundef 0) %29 = call i32 @crc7_byte_update(i32 noundef %28, i32 noundef 0) %30 = call i32 @crc7_byte_update(i32 noundef %29, i32 noundef 0) %31 = shl i32 %30, 1 %32 = or i32 %31, 1 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 81) %35 = call i32 @crc7_byte_update(i32 noundef %34, i32 noundef 0) %36 = call i32 @crc7_byte_update(i32 noundef %35, i32 noundef 0) %37 = call i32 @crc7_byte_update(i32 noundef %36, i32 noundef 0) %38 = call i32 @crc7_byte_update(i32 noundef %37, i32 noundef 0) %39 = shl i32 %38, 1 %40 = or i32 %39, 1 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) %42 = call i32 @crc7_byte_update(i32 noundef 0, i32 noundef 80) %43 = call i32 @crc7_byte_update(i32 noundef %42, i32 noundef 0) %44 = call i32 @crc7_byte_update(i32 noundef %43, i32 noundef 0) %45 = call i32 @crc7_byte_update(i32 noundef %44, i32 noundef 0) %46 = call i32 @crc7_byte_update(i32 noundef %45, i32 noundef 80) %47 = shl i32 %46, 1 %48 = or i32 %47, 1 %49 = call i32 @printf(ptr noundef @.str, i32 noundef %48) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @crc7_byte_update(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/tmpsofa7cs3.c' source_filename = "/tmp/tmpsofa7cs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"cpum setup.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cpum_setup() #0 { %1 = call i32 @Uart_SendString(ptr noundef @.str, i32 noundef 12) ret void } declare i32 @Uart_SendString(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/tmpsofa7cs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"cpum setup.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cpum_setup() #0 { %1 = call i32 @Uart_SendString(ptr noundef @.str, i32 noundef 12) ret void } declare i32 @Uart_SendString(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/tmptxs38dzs.c' source_filename = "/tmp/tmptxs38dzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Erreur d'allocation de m\C3\A9moire : %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"Valeur du pointeur : %p\0AValeur de l'entier : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @malloc(i32 noundef 4) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 store i32 42, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @free(ptr noundef %21) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptxs38dzs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Erreur d'allocation de m\C3\A9moire : %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"Valeur du pointeur : %p\0AValeur de l'entier : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @malloc(i32 noundef 4) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %15, label %10 10: ; preds = %2 %11 = load i32, ptr @errno, align 4 %12 = call ptr @strerror(i32 noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 store i32 42, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %18, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %19) %21 = load ptr, ptr %6, align 8 %22 = call i32 @free(ptr noundef %21) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6ic97bge.c' source_filename = "/tmp/tmp6ic97bge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"usage: stnc [-h HOST] [-p PORT] [-u USER] [-l]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ic97bge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"usage: stnc [-h HOST] [-p PORT] [-u USER] [-l]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7s3zoav5.c' source_filename = "/tmp/tmp7s3zoav5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, i32, i32, i32 } @__const.main.tm = private unnamed_addr constant %struct.tm { i32 20, i32 21, i32 22, i32 10, i32 11, i32 112 }, align 4 @.str = private unnamed_addr constant [26 x i8] c"Sun Dec 10 22:21:20 2012\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca %struct.tm, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.tm, i64 24, i1 false) %5 = call ptr @malloc(i32 noundef 4096) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i32 @memset(ptr noundef %10, i32 noundef 23, i32 noundef 4096) %12 = load ptr, ptr %2, align 8 %13 = call ptr @asctime_r(ptr noundef %3, ptr noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call ptr @asctime(ptr noundef %3) %16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp eq i64 %16, 0 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load ptr, ptr %4, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @assert(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @asctime_r(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @asctime(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7s3zoav5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32, i32, i32, i32, i32, i32 } @__const.main.tm = private unnamed_addr constant %struct.tm { i32 20, i32 21, i32 22, i32 10, i32 11, i32 112 }, align 4 @.str = private unnamed_addr constant [26 x i8] c"Sun Dec 10 22:21:20 2012\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca %struct.tm, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.tm, i64 24, i1 false) %5 = call ptr @malloc(i32 noundef 4096) store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = icmp ne ptr %6, null %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i32 @memset(ptr noundef %10, i32 noundef 23, i32 noundef 4096) %12 = load ptr, ptr %2, align 8 %13 = call ptr @asctime_r(ptr noundef %3, ptr noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call ptr @asctime(ptr noundef %3) %16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15) %17 = icmp eq i64 %16, 0 %18 = zext i1 %17 to i32 %19 = call i32 @assert(i32 noundef %18) %20 = load ptr, ptr %4, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str) %22 = icmp eq i64 %21, 0 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %25 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @malloc(i32 noundef) #2 declare i32 @assert(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @asctime_r(ptr noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @asctime(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpldmx2az1.c' source_filename = "/tmp/tmpldmx2az1.c" target datalayout = "e-m:e-p270: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/tmpldmx2az1.c" target datalayout = "e-m:e-p270: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/tmpgja_0bmg.c' source_filename = "/tmp/tmpgja_0bmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_text(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 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %5, i64 %9 store i8 0, ptr %10, align 1 %11 = load ptr, ptr %3, align 8 %12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 62) %13 = getelementptr inbounds i8, ptr %12, i64 1 store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %17, 1 %19 = call i32 @strncpy(ptr noundef %14, ptr noundef %15, i32 noundef %18) %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgja_0bmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean_text(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 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %5, i64 %9 store i8 0, ptr %10, align 1 %11 = load ptr, ptr %3, align 8 %12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 62) %13 = getelementptr inbounds i8, ptr %12, i64 1 store ptr %13, ptr %3, align 8 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = add nsw i32 %17, 1 %19 = call i32 @strncpy(ptr noundef %14, ptr noundef %15, i32 noundef %18) %20 = load ptr, ptr %4, align 8 ret ptr %20 } declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1zoksrjb.c' source_filename = "/tmp/tmp1zoksrjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" ,\09\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c".asciiz\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @trocearCadena(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 1, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strtok(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 store ptr %10, ptr %12, align 8 %13 = icmp eq ptr %10, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %52 15: ; preds = %3 br label %16 16: ; preds = %47, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 2 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %28 21: ; preds = %16 %22 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 %27 = icmp ne ptr %22, null br label %28 28: ; preds = %21, %16 %29 = phi i1 [ false, %16 ], [ %27, %21 ] br i1 %29, label %30, label %50 30: ; preds = %28 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %47 38: ; preds = %30 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 store ptr %41, ptr %46, align 8 br label %50 47: ; preds = %30 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %16, !llvm.loop !6 50: ; preds = %38, %28 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %50, %14 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare ptr @strtok(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1zoksrjb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c" ,\09\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c".asciiz\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @trocearCadena(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 1, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call ptr @strtok(ptr noundef %9, ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 store ptr %10, ptr %12, align 8 %13 = icmp eq ptr %10, null br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %52 15: ; preds = %3 br label %16 16: ; preds = %47, %15 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = sub nsw i32 %18, 2 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %28 21: ; preds = %16 %22 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %22, ptr %26, align 8 %27 = icmp ne ptr %22, null br label %28 28: ; preds = %21, %16 %29 = phi i1 [ false, %16 ], [ %27, %21 ] br i1 %29, label %30, label %.loopexit 30: ; preds = %28 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %47 38: ; preds = %30 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %8, align 4 %45 = sext i32 %43 to i64 %46 = getelementptr inbounds ptr, ptr %42, i64 %45 store ptr %41, ptr %46, align 8 br label %50 47: ; preds = %30 %48 = load i32, ptr %8, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %8, align 4 br label %16, !llvm.loop !6 .loopexit: ; preds = %28 br label %50 50: ; preds = %.loopexit, %38 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %50, %14 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare ptr @strtok(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplrg_douo.c' source_filename = "/tmp/tmplrg_douo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toword(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %9 = load i8, ptr %5, align 1 %10 = load i8, ptr %6, align 1 %11 = call i32 @tobyte(i8 noundef zeroext %9, i8 noundef zeroext %10) %12 = shl i32 %11, 8 %13 = load i8, ptr %7, align 1 %14 = load i8, ptr %8, align 1 %15 = call i32 @tobyte(i8 noundef zeroext %13, i8 noundef zeroext %14) %16 = or i32 %12, %15 ret i32 %16 } declare i32 @tobyte(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplrg_douo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toword(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3) #0 { %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %9 = load i8, ptr %5, align 1 %10 = load i8, ptr %6, align 1 %11 = call i32 @tobyte(i8 noundef zeroext %9, i8 noundef zeroext %10) %12 = shl i32 %11, 8 %13 = load i8, ptr %7, align 1 %14 = load i8, ptr %8, align 1 %15 = call i32 @tobyte(i8 noundef zeroext %13, i8 noundef zeroext %14) %16 = or i32 %12, %15 ret i32 %16 } declare i32 @tobyte(i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93kaxibv.c' source_filename = "/tmp/tmp93kaxibv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is a test\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"beware\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%s\22%s\22\0A'%c'%s\0A\22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Of the characters in \00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c" appears earliest in \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig08_22() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strpbrk(ptr noundef %4, ptr noundef %5) %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %1, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %3, i32 noundef %7, ptr noundef @.str.4, ptr noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strpbrk(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/tmp93kaxibv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This is a test\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"beware\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%s\22%s\22\0A'%c'%s\0A\22%s\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Of the characters in \00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c" appears earliest in \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig08_22() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 store ptr @.str.1, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %1, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strpbrk(ptr noundef %4, ptr noundef %5) %7 = load i32, ptr %6, align 4 %8 = load ptr, ptr %1, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %3, i32 noundef %7, ptr noundef @.str.4, ptr noundef %8) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strpbrk(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/tmpjqmx_iov.c' source_filename = "/tmp/tmpjqmx_iov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i64, i32, ptr, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"listen port required!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"listen port required!\00", align 1 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"getaddrinfo error:: [%s]\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"getaddrinfo error:: [%s]\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Could not create a socket for [%s:%s]\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"Could not create a socket for [%s:%s]\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Not a multicast address [%s]\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Not a multicast address [%s]\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"bind: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [9 x i8] c"bind: %s\00", align 1 @AF_INET = dso_local global i64 0, align 8 @.str.10 = private unnamed_addr constant [41 x i8] c"Joined IPv4 multicast group: %s Port: %s\00", align 1 @AF_INET6 = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [40 x i8] c"Joined IPv6 multicat group: %s Port: %s\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"I want at least %i bytes as socket buffer\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVBUF = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [66 x i8] c"Standard setsockopt, SO_RCVBUF is %i Requested length is %i bytes\00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c"setsockopt(SO_RCVBUF,%d): %s\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"setsockopt(SO_RCVBUF,%d): %s\00", align 1 @.str.16 = private unnamed_addr constant [45 x i8] c"System set setsockopt, SO_RCVBUF to %d bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Multicast_receive_socket(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.addrinfo, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %23, label %19 19: ; preds = %4 %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 (ptr, ...) @LogError(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %203 23: ; preds = %4 %24 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 40) %25 = load i32, ptr %8, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0 store i32 %25, ptr %26, align 8 %27 = load i32, ptr @SOCK_DGRAM, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 5 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %7, align 8 %31 = call i32 @getaddrinfo(ptr noundef %29, ptr noundef %30, ptr noundef %10, ptr noundef %11) store i32 %31, ptr %15, align 4 %32 = load i32, ptr %15, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %23 %35 = load i32, ptr @stderr, align 4 %36 = load i32, ptr %15, align 4 %37 = call ptr @gai_strerror(i32 noundef %36) %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %37) %39 = load i32, ptr %15, align 4 %40 = call ptr @gai_strerror(i32 noundef %39) %41 = call i32 (ptr, ...) @LogError(ptr noundef @.str.3, ptr noundef %40) store i32 -1, ptr %5, align 4 br label %203 42: ; preds = %23 store i32 -1, ptr %16, align 4 %43 = load ptr, ptr %11, align 8 store ptr %43, ptr %12, align 8 br label %44 44: ; preds = %60, %42 %45 = load ptr, ptr %11, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %65 47: ; preds = %44 %48 = load ptr, ptr %11, align 8 %49 = getelementptr inbounds %struct.addrinfo, ptr %48, i32 0, i32 0 %50 = load i32, ptr %49, align 8 %51 = load ptr, ptr %11, align 8 %52 = getelementptr inbounds %struct.addrinfo, ptr %51, i32 0, i32 5 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds %struct.addrinfo, ptr %54, i32 0, i32 4 %56 = load i32, ptr %55, align 8 %57 = call i32 @socket(i32 noundef %50, i32 noundef %53, i32 noundef %56) store i32 %57, ptr %16, align 4 %58 = load i32, ptr %16, align 4 %59 = icmp slt i32 %58, 0 br i1 %59, label %60, label %64 60: ; preds = %47 %61 = load ptr, ptr %11, align 8 %62 = getelementptr inbounds %struct.addrinfo, ptr %61, i32 0, i32 3 %63 = load ptr, ptr %62, align 8 store ptr %63, ptr %11, align 8 br label %44, !llvm.loop !6 64: ; preds = %47 br label %65 65: ; preds = %64, %44 %66 = load i32, ptr %16, align 4 %67 = icmp slt i32 %66, 0 br i1 %67, label %68, label %78 68: ; preds = %65 %69 = load i32, ptr @stderr, align 4 %70 = load ptr, ptr %6, align 8 %71 = load ptr, ptr %7, align 8 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %69, ptr noundef @.str.4, ptr noundef %70, ptr noundef %71) %73 = load ptr, ptr %6, align 8 %74 = load ptr, ptr %7, align 8 %75 = call i32 (ptr, ...) @LogError(ptr noundef @.str.5, ptr noundef %73, ptr noundef %74) %76 = load ptr, ptr %12, align 8 %77 = call i32 @freeaddrinfo(ptr noundef %76) store i32 -1, ptr %5, align 4 br label %203 78: ; preds = %65 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds %struct.addrinfo, ptr %79, i32 0, i32 1 %81 = load i64, ptr %80, align 8 %82 = inttoptr i64 %81 to ptr %83 = call i64 @isMulticast(ptr noundef %82) %84 = icmp slt i64 %83, 0 br i1 %84, label %85, label %93 85: ; preds = %78 %86 = load i32, ptr @stderr, align 4 %87 = load ptr, ptr %6, align 8 %88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.6, ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = call i32 (ptr, ...) @LogError(ptr noundef @.str.7, ptr noundef %89) %91 = load ptr, ptr %12, align 8 %92 = call i32 @freeaddrinfo(ptr noundef %91) store i32 -1, ptr %5, align 4 br label %203 93: ; preds = %78 %94 = load i32, ptr %16, align 4 %95 = call i32 @close(i32 noundef %94) %96 = load ptr, ptr %11, align 8 %97 = getelementptr inbounds %struct.addrinfo, ptr %96, i32 0, i32 0 %98 = load i32, ptr %97, align 8 %99 = load i32, ptr @SOCK_DGRAM, align 4 %100 = call i32 @socket(i32 noundef %98, i32 noundef %99, i32 noundef 0) store i32 %100, ptr %16, align 4 %101 = load i32, ptr %16, align 4 %102 = load ptr, ptr %11, align 8 %103 = getelementptr inbounds %struct.addrinfo, ptr %102, i32 0, i32 1 %104 = load i64, ptr %103, align 8 %105 = load ptr, ptr %11, align 8 %106 = getelementptr inbounds %struct.addrinfo, ptr %105, i32 0, i32 2 %107 = load i32, ptr %106, align 8 %108 = call i64 @bind(i32 noundef %101, i64 noundef %104, i32 noundef %107) %109 = icmp slt i64 %108, 0 br i1 %109, label %110, label %122 110: ; preds = %93 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr @errno, align 4 %113 = call ptr @strerror(i32 noundef %112) %114 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.8, ptr noundef %113) %115 = load i32, ptr @errno, align 4 %116 = call ptr @strerror(i32 noundef %115) %117 = call i32 (ptr, ...) @LogError(ptr noundef @.str.9, ptr noundef %116) %118 = load i32, ptr %16, align 4 %119 = call i32 @close(i32 noundef %118) %120 = load ptr, ptr %12, align 8 %121 = call i32 @freeaddrinfo(ptr noundef %120) store i32 -1, ptr %5, align 4 br label %203 122: ; preds = %93 %123 = load i32, ptr %16, align 4 %124 = load ptr, ptr %11, align 8 %125 = getelementptr inbounds %struct.addrinfo, ptr %124, i32 0, i32 1 %126 = load i64, ptr %125, align 8 %127 = inttoptr i64 %126 to ptr %128 = call i64 @joinGroup(i32 noundef %123, i32 noundef 1, i32 noundef 1, ptr noundef %127) %129 = icmp slt i64 %128, 0 br i1 %129, label %130, label %135 130: ; preds = %122 %131 = load i32, ptr %16, align 4 %132 = call i32 @close(i32 noundef %131) %133 = load ptr, ptr %12, align 8 %134 = call i32 @freeaddrinfo(ptr noundef %133) store i32 -1, ptr %5, align 4 br label %203 135: ; preds = %122 %136 = load ptr, ptr %11, align 8 %137 = getelementptr inbounds %struct.addrinfo, ptr %136, i32 0, i32 0 %138 = load i32, ptr %137, align 8 %139 = sext i32 %138 to i64 %140 = load i64, ptr @AF_INET, align 8 %141 = icmp eq i64 %139, %140 br i1 %141, label %142, label %146 142: ; preds = %135 %143 = load ptr, ptr %6, align 8 %144 = load ptr, ptr %7, align 8 %145 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.10, ptr noundef %143, ptr noundef %144) br label %146 146: ; preds = %142, %135 %147 = load ptr, ptr %11, align 8 %148 = getelementptr inbounds %struct.addrinfo, ptr %147, i32 0, i32 0 %149 = load i32, ptr %148, align 8 %150 = sext i32 %149 to i64 %151 = load i64, ptr @AF_INET6, align 8 %152 = icmp eq i64 %150, %151 br i1 %152, label %153, label %157 153: ; preds = %146 %154 = load ptr, ptr %6, align 8 %155 = load ptr, ptr %7, align 8 %156 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.11, ptr noundef %154, ptr noundef %155) br label %157 157: ; preds = %153, %146 %158 = load ptr, ptr %12, align 8 %159 = call i32 @freeaddrinfo(ptr noundef %158) %160 = load i32, ptr %9, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %162, label %201 162: ; preds = %157 %163 = load i32, ptr %9, align 4 %164 = icmp slt i32 %163, 65536 br i1 %164, label %165, label %168 165: ; preds = %162 store i32 65536, ptr %9, align 4 %166 = load i32, ptr %9, align 4 %167 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.12, i32 noundef %166) br label %168 168: ; preds = %165, %162 store i32 4, ptr %13, align 4 %169 = load i32, ptr %16, align 4 %170 = load i32, ptr @SOL_SOCKET, align 4 %171 = load i32, ptr @SO_RCVBUF, align 4 %172 = call i32 @getsockopt(i32 noundef %169, i32 noundef %170, i32 noundef %171, ptr noundef %14, ptr noundef %13) %173 = load i32, ptr %14, align 4 %174 = load i32, ptr %9, align 4 %175 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.13, i32 noundef %173, i32 noundef %174) %176 = load i32, ptr %16, align 4 %177 = load i32, ptr @SOL_SOCKET, align 4 %178 = load i32, ptr @SO_RCVBUF, align 4 %179 = call i64 @setsockopt(i32 noundef %176, i32 noundef %177, i32 noundef %178, ptr noundef %9, i32 noundef 4) %180 = icmp ne i64 %179, 0 br i1 %180, label %181, label %193 181: ; preds = %168 %182 = load i32, ptr @stderr, align 4 %183 = load i32, ptr %9, align 4 %184 = load i32, ptr @errno, align 4 %185 = call ptr @strerror(i32 noundef %184) %186 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %182, ptr noundef @.str.14, i32 noundef %183, ptr noundef %185) %187 = load i32, ptr %9, align 4 %188 = load i32, ptr @errno, align 4 %189 = call ptr @strerror(i32 noundef %188) %190 = call i32 (ptr, ...) @LogError(ptr noundef @.str.15, i32 noundef %187, ptr noundef %189) %191 = load i32, ptr %16, align 4 %192 = call i32 @close(i32 noundef %191) store i32 -1, ptr %5, align 4 br label %203 193: ; preds = %168 %194 = load i32, ptr %16, align 4 %195 = load i32, ptr @SOL_SOCKET, align 4 %196 = load i32, ptr @SO_RCVBUF, align 4 %197 = call i32 @getsockopt(i32 noundef %194, i32 noundef %195, i32 noundef %196, ptr noundef %14, ptr noundef %13) %198 = load i32, ptr %14, align 4 %199 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.16, i32 noundef %198) br label %200 200: ; preds = %193 br label %201 201: ; preds = %200, %157 %202 = load i32, ptr %16, align 4 store i32 %202, ptr %5, align 4 br label %203 203: ; preds = %201, %181, %130, %110, %85, %68, %34, %19 %204 = load i32, ptr %5, align 4 ret i32 %204 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @LogError(ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i64 @isMulticast(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @bind(i32 noundef, i64 noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @joinGroup(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @LogInfo(ptr noundef, ...) #1 declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjqmx_iov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.addrinfo = type { i32, i64, i32, ptr, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"listen port required!\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"listen port required!\00", align 1 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"getaddrinfo error:: [%s]\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"getaddrinfo error:: [%s]\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Could not create a socket for [%s:%s]\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"Could not create a socket for [%s:%s]\00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"Not a multicast address [%s]\0A\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Not a multicast address [%s]\00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"bind: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [9 x i8] c"bind: %s\00", align 1 @AF_INET = dso_local global i64 0, align 8 @.str.10 = private unnamed_addr constant [41 x i8] c"Joined IPv4 multicast group: %s Port: %s\00", align 1 @AF_INET6 = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [40 x i8] c"Joined IPv6 multicat group: %s Port: %s\00", align 1 @.str.12 = private unnamed_addr constant [42 x i8] c"I want at least %i bytes as socket buffer\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_RCVBUF = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [66 x i8] c"Standard setsockopt, SO_RCVBUF is %i Requested length is %i bytes\00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c"setsockopt(SO_RCVBUF,%d): %s\0A\00", align 1 @.str.15 = private unnamed_addr constant [29 x i8] c"setsockopt(SO_RCVBUF,%d): %s\00", align 1 @.str.16 = private unnamed_addr constant [45 x i8] c"System set setsockopt, SO_RCVBUF to %d bytes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Multicast_receive_socket(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.addrinfo, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %23, label %19 19: ; preds = %4 %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str) %22 = call i32 (ptr, ...) @LogError(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %204 23: ; preds = %4 %24 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 40) %25 = load i32, ptr %8, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 0 store i32 %25, ptr %26, align 8 %27 = load i32, ptr @SOCK_DGRAM, align 4 %28 = getelementptr inbounds %struct.addrinfo, ptr %10, i32 0, i32 5 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %6, align 8 %30 = load ptr, ptr %7, align 8 %31 = call i32 @getaddrinfo(ptr noundef %29, ptr noundef %30, ptr noundef %10, ptr noundef %11) store i32 %31, ptr %15, align 4 %32 = load i32, ptr %15, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %23 %35 = load i32, ptr @stderr, align 4 %36 = load i32, ptr %15, align 4 %37 = call ptr @gai_strerror(i32 noundef %36) %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %37) %39 = load i32, ptr %15, align 4 %40 = call ptr @gai_strerror(i32 noundef %39) %41 = call i32 (ptr, ...) @LogError(ptr noundef @.str.3, ptr noundef %40) store i32 -1, ptr %5, align 4 br label %204 42: ; preds = %23 store i32 -1, ptr %16, align 4 %43 = load ptr, ptr %11, align 8 store ptr %43, ptr %12, align 8 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %42 br label %46 46: ; preds = %.lr.ph, %59 %47 = load ptr, ptr %11, align 8 %48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 0 %49 = load i32, ptr %48, align 8 %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds %struct.addrinfo, ptr %50, i32 0, i32 5 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 4 %55 = load i32, ptr %54, align 8 %56 = call i32 @socket(i32 noundef %49, i32 noundef %52, i32 noundef %55) store i32 %56, ptr %16, align 4 %57 = load i32, ptr %16, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %65 59: ; preds = %46 %60 = load ptr, ptr %11, align 8 %61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 3 %62 = load ptr, ptr %61, align 8 store ptr %62, ptr %11, align 8 %63 = load ptr, ptr %11, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %46, label %..loopexit_crit_edge, !llvm.loop !6 65: ; preds = %46 br label %66 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %42 br label %66 66: ; preds = %.loopexit, %65 %67 = load i32, ptr %16, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %79 69: ; preds = %66 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %6, align 8 %72 = load ptr, ptr %7, align 8 %73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.4, ptr noundef %71, ptr noundef %72) %74 = load ptr, ptr %6, align 8 %75 = load ptr, ptr %7, align 8 %76 = call i32 (ptr, ...) @LogError(ptr noundef @.str.5, ptr noundef %74, ptr noundef %75) %77 = load ptr, ptr %12, align 8 %78 = call i32 @freeaddrinfo(ptr noundef %77) store i32 -1, ptr %5, align 4 br label %204 79: ; preds = %66 %80 = load ptr, ptr %11, align 8 %81 = getelementptr inbounds %struct.addrinfo, ptr %80, i32 0, i32 1 %82 = load i64, ptr %81, align 8 %83 = inttoptr i64 %82 to ptr %84 = call i64 @isMulticast(ptr noundef %83) %85 = icmp slt i64 %84, 0 br i1 %85, label %86, label %94 86: ; preds = %79 %87 = load i32, ptr @stderr, align 4 %88 = load ptr, ptr %6, align 8 %89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.6, ptr noundef %88) %90 = load ptr, ptr %6, align 8 %91 = call i32 (ptr, ...) @LogError(ptr noundef @.str.7, ptr noundef %90) %92 = load ptr, ptr %12, align 8 %93 = call i32 @freeaddrinfo(ptr noundef %92) store i32 -1, ptr %5, align 4 br label %204 94: ; preds = %79 %95 = load i32, ptr %16, align 4 %96 = call i32 @close(i32 noundef %95) %97 = load ptr, ptr %11, align 8 %98 = getelementptr inbounds %struct.addrinfo, ptr %97, i32 0, i32 0 %99 = load i32, ptr %98, align 8 %100 = load i32, ptr @SOCK_DGRAM, align 4 %101 = call i32 @socket(i32 noundef %99, i32 noundef %100, i32 noundef 0) store i32 %101, ptr %16, align 4 %102 = load i32, ptr %16, align 4 %103 = load ptr, ptr %11, align 8 %104 = getelementptr inbounds %struct.addrinfo, ptr %103, i32 0, i32 1 %105 = load i64, ptr %104, align 8 %106 = load ptr, ptr %11, align 8 %107 = getelementptr inbounds %struct.addrinfo, ptr %106, i32 0, i32 2 %108 = load i32, ptr %107, align 8 %109 = call i64 @bind(i32 noundef %102, i64 noundef %105, i32 noundef %108) %110 = icmp slt i64 %109, 0 br i1 %110, label %111, label %123 111: ; preds = %94 %112 = load i32, ptr @stderr, align 4 %113 = load i32, ptr @errno, align 4 %114 = call ptr @strerror(i32 noundef %113) %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %112, ptr noundef @.str.8, ptr noundef %114) %116 = load i32, ptr @errno, align 4 %117 = call ptr @strerror(i32 noundef %116) %118 = call i32 (ptr, ...) @LogError(ptr noundef @.str.9, ptr noundef %117) %119 = load i32, ptr %16, align 4 %120 = call i32 @close(i32 noundef %119) %121 = load ptr, ptr %12, align 8 %122 = call i32 @freeaddrinfo(ptr noundef %121) store i32 -1, ptr %5, align 4 br label %204 123: ; preds = %94 %124 = load i32, ptr %16, align 4 %125 = load ptr, ptr %11, align 8 %126 = getelementptr inbounds %struct.addrinfo, ptr %125, i32 0, i32 1 %127 = load i64, ptr %126, align 8 %128 = inttoptr i64 %127 to ptr %129 = call i64 @joinGroup(i32 noundef %124, i32 noundef 1, i32 noundef 1, ptr noundef %128) %130 = icmp slt i64 %129, 0 br i1 %130, label %131, label %136 131: ; preds = %123 %132 = load i32, ptr %16, align 4 %133 = call i32 @close(i32 noundef %132) %134 = load ptr, ptr %12, align 8 %135 = call i32 @freeaddrinfo(ptr noundef %134) store i32 -1, ptr %5, align 4 br label %204 136: ; preds = %123 %137 = load ptr, ptr %11, align 8 %138 = getelementptr inbounds %struct.addrinfo, ptr %137, i32 0, i32 0 %139 = load i32, ptr %138, align 8 %140 = sext i32 %139 to i64 %141 = load i64, ptr @AF_INET, align 8 %142 = icmp eq i64 %140, %141 br i1 %142, label %143, label %147 143: ; preds = %136 %144 = load ptr, ptr %6, align 8 %145 = load ptr, ptr %7, align 8 %146 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.10, ptr noundef %144, ptr noundef %145) br label %147 147: ; preds = %143, %136 %148 = load ptr, ptr %11, align 8 %149 = getelementptr inbounds %struct.addrinfo, ptr %148, i32 0, i32 0 %150 = load i32, ptr %149, align 8 %151 = sext i32 %150 to i64 %152 = load i64, ptr @AF_INET6, align 8 %153 = icmp eq i64 %151, %152 br i1 %153, label %154, label %158 154: ; preds = %147 %155 = load ptr, ptr %6, align 8 %156 = load ptr, ptr %7, align 8 %157 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.11, ptr noundef %155, ptr noundef %156) br label %158 158: ; preds = %154, %147 %159 = load ptr, ptr %12, align 8 %160 = call i32 @freeaddrinfo(ptr noundef %159) %161 = load i32, ptr %9, align 4 %162 = icmp ne i32 %161, 0 br i1 %162, label %163, label %202 163: ; preds = %158 %164 = load i32, ptr %9, align 4 %165 = icmp slt i32 %164, 65536 br i1 %165, label %166, label %169 166: ; preds = %163 store i32 65536, ptr %9, align 4 %167 = load i32, ptr %9, align 4 %168 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.12, i32 noundef %167) br label %169 169: ; preds = %166, %163 store i32 4, ptr %13, align 4 %170 = load i32, ptr %16, align 4 %171 = load i32, ptr @SOL_SOCKET, align 4 %172 = load i32, ptr @SO_RCVBUF, align 4 %173 = call i32 @getsockopt(i32 noundef %170, i32 noundef %171, i32 noundef %172, ptr noundef %14, ptr noundef %13) %174 = load i32, ptr %14, align 4 %175 = load i32, ptr %9, align 4 %176 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.13, i32 noundef %174, i32 noundef %175) %177 = load i32, ptr %16, align 4 %178 = load i32, ptr @SOL_SOCKET, align 4 %179 = load i32, ptr @SO_RCVBUF, align 4 %180 = call i64 @setsockopt(i32 noundef %177, i32 noundef %178, i32 noundef %179, ptr noundef %9, i32 noundef 4) %181 = icmp ne i64 %180, 0 br i1 %181, label %182, label %194 182: ; preds = %169 %183 = load i32, ptr @stderr, align 4 %184 = load i32, ptr %9, align 4 %185 = load i32, ptr @errno, align 4 %186 = call ptr @strerror(i32 noundef %185) %187 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %183, ptr noundef @.str.14, i32 noundef %184, ptr noundef %186) %188 = load i32, ptr %9, align 4 %189 = load i32, ptr @errno, align 4 %190 = call ptr @strerror(i32 noundef %189) %191 = call i32 (ptr, ...) @LogError(ptr noundef @.str.15, i32 noundef %188, ptr noundef %190) %192 = load i32, ptr %16, align 4 %193 = call i32 @close(i32 noundef %192) store i32 -1, ptr %5, align 4 br label %204 194: ; preds = %169 %195 = load i32, ptr %16, align 4 %196 = load i32, ptr @SOL_SOCKET, align 4 %197 = load i32, ptr @SO_RCVBUF, align 4 %198 = call i32 @getsockopt(i32 noundef %195, i32 noundef %196, i32 noundef %197, ptr noundef %14, ptr noundef %13) %199 = load i32, ptr %14, align 4 %200 = call i32 (ptr, ...) @LogInfo(ptr noundef @.str.16, i32 noundef %199) br label %201 201: ; preds = %194 br label %202 202: ; preds = %201, %158 %203 = load i32, ptr %16, align 4 store i32 %203, ptr %5, align 4 br label %204 204: ; preds = %202, %182, %131, %111, %86, %69, %34, %19 %205 = load i32, ptr %5, align 4 ret i32 %205 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @LogError(ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i64 @isMulticast(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @bind(i32 noundef, i64 noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i64 @joinGroup(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @LogInfo(ptr noundef, ...) #1 declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxllcqy3j.c' source_filename = "/tmp/tmpxllcqy3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"sendlong type failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"sendlong count failed.\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Writing %d bytes to %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Propeller RAM\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"EEPROM\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"sendlong error\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Verifying ... \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"Upload Timeout Error!\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Upload OK!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @upload(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 100, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 0, ptr %13, align 4 %16 = load i32, ptr %6, align 4 %17 = sdiv i32 %16, 4 store i32 %17, ptr %14, align 4 %18 = load i32, ptr %7, align 4 %19 = call i64 @sendlong(i32 noundef %18) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %3 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 br label %133 23: ; preds = %3 %24 = load i32, ptr %14, align 4 %25 = call i64 @sendlong(i32 noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %4, align 4 br label %133 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, 1 %33 = zext i1 %32 to i64 %34 = select i1 %32, ptr @.str.3, ptr @.str.4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = mul nsw i32 %36, 11 %38 = add nsw i32 %37, 1 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %15, align 8 store i32 0, ptr %8, align 4 br label %41 41: ; preds = %92, %29 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %95 45: ; preds = %41 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %51, i64 %54 %56 = load i32, ptr %55, align 4 %57 = shl i32 %56, 8 %58 = or i32 %50, %57 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 2 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = shl i32 %64, 16 %66 = or i32 %58, %65 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 3 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %67, i64 %70 %72 = load i32, ptr %71, align 4 %73 = shl i32 %72, 24 %74 = or i32 %66, %73 store i32 %74, ptr %11, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %86 77: ; preds = %45 %78 = load i32, ptr %11, align 4 %79 = call i64 @sendlong(i32 noundef %78) %80 = icmp eq i64 %79, 0 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %83 = load ptr, ptr %15, align 8 %84 = call i32 @free(ptr noundef %83) store i32 1, ptr %4, align 4 br label %133 85: ; preds = %77 br label %91 86: ; preds = %45 %87 = load i32, ptr %11, align 4 %88 = load ptr, ptr %15, align 8 %89 = load i32, ptr %13, align 4 %90 = call i32 @encodelong(i32 noundef %87, ptr noundef %88, i32 noundef %89) store i32 %90, ptr %13, align 4 br label %91 91: ; preds = %86, %85 br label %92 92: ; preds = %91 %93 = load i32, ptr %8, align 4 %94 = add nsw i32 %93, 4 store i32 %94, ptr %8, align 4 br label %41, !llvm.loop !6 95: ; preds = %41 %96 = load i32, ptr %12, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %102, label %98 98: ; preds = %95 %99 = load ptr, ptr %15, align 8 %100 = load i32, ptr %13, align 4 %101 = call i32 @tx(ptr noundef %99, i32 noundef %100) br label %102 102: ; preds = %98, %95 %103 = call i32 @msleep(i32 noundef 150) %104 = call i64 @sendlong(i32 noundef 249) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %106 = load i32, ptr @stdout, align 4 %107 = call i32 @fflush(i32 noundef %106) store i32 0, ptr %8, align 4 br label %108 108: ; preds = %119, %102 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr %10, align 4 %111 = icmp slt i32 %109, %110 br i1 %111, label %112, label %122 112: ; preds = %108 %113 = call i32 @msleep(i32 noundef 25) %114 = call i32 @getAck(ptr noundef %9) %115 = load i32, ptr %9, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %112 br label %122 118: ; preds = %112 br label %119 119: ; preds = %118 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %8, align 4 br label %108, !llvm.loop !8 122: ; preds = %117, %108 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr %10, align 4 %125 = icmp sge i32 %123, %124 br i1 %125, label %126, label %128 126: ; preds = %122 %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %130 128: ; preds = %122 %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %130 130: ; preds = %128, %126 %131 = load ptr, ptr %15, align 8 %132 = call i32 @free(ptr noundef %131) store i32 0, ptr %4, align 4 br label %133 133: ; preds = %130, %81, %27, %21 %134 = load i32, ptr %4, align 4 ret i32 %134 } declare i64 @sendlong(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @encodelong(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tx(ptr noundef, i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getAck(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxllcqy3j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"sendlong type failed.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"sendlong count failed.\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Writing %d bytes to %s.\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Propeller RAM\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"EEPROM\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"sendlong error\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Verifying ... \00", align 1 @stdout = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [23 x i8] c"Upload Timeout Error!\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"Upload OK!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @upload(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 100, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 0, ptr %13, align 4 %16 = load i32, ptr %6, align 4 %17 = sdiv i32 %16, 4 store i32 %17, ptr %14, align 4 %18 = load i32, ptr %7, align 4 %19 = call i64 @sendlong(i32 noundef %18) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %3 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %4, align 4 br label %137 23: ; preds = %3 %24 = load i32, ptr %14, align 4 %25 = call i64 @sendlong(i32 noundef %24) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %4, align 4 br label %137 29: ; preds = %23 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, 1 %33 = zext i1 %32 to i64 %34 = select i1 %32, ptr @.str.3, ptr @.str.4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30, ptr noundef %34) %36 = load i32, ptr %6, align 4 %37 = mul nsw i32 %36, 11 %38 = add nsw i32 %37, 1 %39 = call i64 @malloc(i32 noundef %38) %40 = inttoptr i64 %39 to ptr store ptr %40, ptr %15, align 8 store i32 0, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph, label %97 .lr.ph: ; preds = %29 br label %44 44: ; preds = %.lr.ph, %91 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 %55 = load i32, ptr %54, align 4 %56 = shl i32 %55, 8 %57 = or i32 %49, %56 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %58, i64 %61 %63 = load i32, ptr %62, align 4 %64 = shl i32 %63, 16 %65 = or i32 %57, %64 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = add nsw i32 %67, 3 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %66, i64 %69 %71 = load i32, ptr %70, align 4 %72 = shl i32 %71, 24 %73 = or i32 %65, %72 store i32 %73, ptr %11, align 4 %74 = load i32, ptr %12, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %85 76: ; preds = %44 %77 = load i32, ptr %11, align 4 %78 = call i64 @sendlong(i32 noundef %77) %79 = icmp eq i64 %78, 0 br i1 %79, label %80, label %84 80: ; preds = %76 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %82 = load ptr, ptr %15, align 8 %83 = call i32 @free(ptr noundef %82) store i32 1, ptr %4, align 4 br label %137 84: ; preds = %76 br label %90 85: ; preds = %44 %86 = load i32, ptr %11, align 4 %87 = load ptr, ptr %15, align 8 %88 = load i32, ptr %13, align 4 %89 = call i32 @encodelong(i32 noundef %86, ptr noundef %87, i32 noundef %88) store i32 %89, ptr %13, align 4 br label %90 90: ; preds = %85, %84 br label %91 91: ; preds = %90 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 4 store i32 %93, ptr %8, align 4 %94 = load i32, ptr %8, align 4 %95 = load i32, ptr %6, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %91 br label %97 97: ; preds = %._crit_edge, %29 %98 = load i32, ptr %12, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %104, label %100 100: ; preds = %97 %101 = load ptr, ptr %15, align 8 %102 = load i32, ptr %13, align 4 %103 = call i32 @tx(ptr noundef %101, i32 noundef %102) br label %104 104: ; preds = %100, %97 %105 = call i32 @msleep(i32 noundef 150) %106 = call i64 @sendlong(i32 noundef 249) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %108 = load i32, ptr @stdout, align 4 %109 = call i32 @fflush(i32 noundef %108) store i32 0, ptr %8, align 4 %110 = load i32, ptr %8, align 4 %111 = load i32, ptr %10, align 4 %112 = icmp slt i32 %110, %111 br i1 %112, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %104 br label %113 113: ; preds = %.lr.ph2, %120 %114 = call i32 @msleep(i32 noundef 25) %115 = call i32 @getAck(ptr noundef %9) %116 = load i32, ptr %9, align 4 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %119 118: ; preds = %113 br label %126 119: ; preds = %113 br label %120 120: ; preds = %119 %121 = load i32, ptr %8, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %8, align 4 %123 = load i32, ptr %8, align 4 %124 = load i32, ptr %10, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %113, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %120 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %104 br label %126 126: ; preds = %.loopexit, %118 %127 = load i32, ptr %8, align 4 %128 = load i32, ptr %10, align 4 %129 = icmp sge i32 %127, %128 br i1 %129, label %130, label %132 130: ; preds = %126 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %134 132: ; preds = %126 %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %134 134: ; preds = %132, %130 %135 = load ptr, ptr %15, align 8 %136 = call i32 @free(ptr noundef %135) store i32 0, ptr %4, align 4 br label %137 137: ; preds = %134, %80, %27, %21 %138 = load i32, ptr %4, align 4 ret i32 %138 } declare i64 @sendlong(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @encodelong(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tx(ptr noundef, i32 noundef) #1 declare i32 @msleep(i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @getAck(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpfyr7rf80.c' source_filename = "/tmp/tmpfyr7rf80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @systick_enable() #0 { store volatile i32 39999, ptr inttoptr (i64 3758153748 to ptr), align 4 store volatile i32 0, ptr inttoptr (i64 3758153752 to ptr), align 4 %1 = load volatile i32, ptr inttoptr (i64 3758153744 to ptr), align 4 %2 = or i32 %1, 7 store volatile i32 %2, ptr inttoptr (i64 3758153744 to ptr), 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/tmpfyr7rf80.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @systick_enable() #0 { store volatile i32 39999, ptr inttoptr (i64 3758153748 to ptr), align 4 store volatile i32 0, ptr inttoptr (i64 3758153752 to ptr), align 4 %1 = load volatile i32, ptr inttoptr (i64 3758153744 to ptr), align 4 %2 = or i32 %1, 7 store volatile i32 %2, ptr inttoptr (i64 3758153744 to ptr), 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/tmpst51zciy.c' source_filename = "/tmp/tmpst51zciy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_0x\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%04x\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".img\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_filename(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 0, ptr %5, align 4 br label %16 16: ; preds = %15, %12, %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %18, 20 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %4, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 46) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %58 26: ; preds = %16 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28) %30 = load i32, ptr %5, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %42 32: ; preds = %26 %33 = load ptr, ptr %8, align 8 %34 = call i32 @strcat(ptr noundef %33, ptr noundef @.str) %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = call i32 @strlen(ptr noundef %36) %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i32, ptr %5, align 4 %41 = call i32 @snprintf(ptr noundef %39, i32 noundef 5, ptr noundef @.str.1, i32 noundef %40) br label %42 42: ; preds = %32, %26 %43 = load i32, ptr %6, align 4 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %55 45: ; preds = %42 %46 = load ptr, ptr %8, align 8 %47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str) %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %8, align 8 %50 = call i32 @strlen(ptr noundef %49) %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i32, ptr %6, align 4 %54 = call i32 @snprintf(ptr noundef %52, i32 noundef 5, ptr noundef @.str.1, i32 noundef %53) br label %55 55: ; preds = %45, %42 %56 = load ptr, ptr %8, align 8 %57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.2) br label %102 58: ; preds = %16 %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %4, align 8 %61 = ptrtoint ptr %59 to i64 %62 = ptrtoint ptr %60 to i64 %63 = sub i64 %61, %62 %64 = trunc i64 %63 to i32 store i32 %64, ptr %7, align 4 %65 = load ptr, ptr %8, align 8 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = call i32 @strncpy(ptr noundef %65, ptr noundef %66, i32 noundef %67) %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 0, ptr %72, align 1 %73 = load i32, ptr %5, align 4 %74 = icmp sge i32 %73, 0 br i1 %74, label %75, label %85 75: ; preds = %58 %76 = load ptr, ptr %8, align 8 %77 = call i32 @strcat(ptr noundef %76, ptr noundef @.str) %78 = load ptr, ptr %8, align 8 %79 = load ptr, ptr %8, align 8 %80 = call i32 @strlen(ptr noundef %79) %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = load i32, ptr %5, align 4 %84 = call i32 @snprintf(ptr noundef %82, i32 noundef 5, ptr noundef @.str.1, i32 noundef %83) br label %85 85: ; preds = %75, %58 %86 = load i32, ptr %6, align 4 %87 = icmp sge i32 %86, 0 br i1 %87, label %88, label %98 88: ; preds = %85 %89 = load ptr, ptr %8, align 8 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str) %91 = load ptr, ptr %8, align 8 %92 = load ptr, ptr %8, align 8 %93 = call i32 @strlen(ptr noundef %92) %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %91, i64 %94 %96 = load i32, ptr %6, align 4 %97 = call i32 @snprintf(ptr noundef %95, i32 noundef 5, ptr noundef @.str.1, i32 noundef %96) br label %98 98: ; preds = %88, %85 %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %9, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) br label %102 102: ; preds = %98, %55 %103 = load ptr, ptr %8, align 8 ret ptr %103 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpst51zciy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"_0x\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%04x\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".img\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_filename(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 0, ptr %5, align 4 br label %16 16: ; preds = %15, %12, %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %18, 20 %20 = call i64 @malloc(i32 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %4, align 8 %23 = call ptr @strrchr(ptr noundef %22, i8 noundef signext 46) store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %9, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %58 26: ; preds = %16 %27 = load ptr, ptr %8, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @strcpy(ptr noundef %27, ptr noundef %28) %30 = load i32, ptr %5, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %42 32: ; preds = %26 %33 = load ptr, ptr %8, align 8 %34 = call i32 @strcat(ptr noundef %33, ptr noundef @.str) %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = call i32 @strlen(ptr noundef %36) %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i32, ptr %5, align 4 %41 = call i32 @snprintf(ptr noundef %39, i32 noundef 5, ptr noundef @.str.1, i32 noundef %40) br label %42 42: ; preds = %32, %26 %43 = load i32, ptr %6, align 4 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %55 45: ; preds = %42 %46 = load ptr, ptr %8, align 8 %47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str) %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %8, align 8 %50 = call i32 @strlen(ptr noundef %49) %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i32, ptr %6, align 4 %54 = call i32 @snprintf(ptr noundef %52, i32 noundef 5, ptr noundef @.str.1, i32 noundef %53) br label %55 55: ; preds = %45, %42 %56 = load ptr, ptr %8, align 8 %57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.2) br label %102 58: ; preds = %16 %59 = load ptr, ptr %9, align 8 %60 = load ptr, ptr %4, align 8 %61 = ptrtoint ptr %59 to i64 %62 = ptrtoint ptr %60 to i64 %63 = sub i64 %61, %62 %64 = trunc i64 %63 to i32 store i32 %64, ptr %7, align 4 %65 = load ptr, ptr %8, align 8 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %7, align 4 %68 = call i32 @strncpy(ptr noundef %65, ptr noundef %66, i32 noundef %67) %69 = load ptr, ptr %8, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 0, ptr %72, align 1 %73 = load i32, ptr %5, align 4 %74 = icmp sge i32 %73, 0 br i1 %74, label %75, label %85 75: ; preds = %58 %76 = load ptr, ptr %8, align 8 %77 = call i32 @strcat(ptr noundef %76, ptr noundef @.str) %78 = load ptr, ptr %8, align 8 %79 = load ptr, ptr %8, align 8 %80 = call i32 @strlen(ptr noundef %79) %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 %83 = load i32, ptr %5, align 4 %84 = call i32 @snprintf(ptr noundef %82, i32 noundef 5, ptr noundef @.str.1, i32 noundef %83) br label %85 85: ; preds = %75, %58 %86 = load i32, ptr %6, align 4 %87 = icmp sge i32 %86, 0 br i1 %87, label %88, label %98 88: ; preds = %85 %89 = load ptr, ptr %8, align 8 %90 = call i32 @strcat(ptr noundef %89, ptr noundef @.str) %91 = load ptr, ptr %8, align 8 %92 = load ptr, ptr %8, align 8 %93 = call i32 @strlen(ptr noundef %92) %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %91, i64 %94 %96 = load i32, ptr %6, align 4 %97 = call i32 @snprintf(ptr noundef %95, i32 noundef 5, ptr noundef @.str.1, i32 noundef %96) br label %98 98: ; preds = %88, %85 %99 = load ptr, ptr %8, align 8 %100 = load ptr, ptr %9, align 8 %101 = call i32 @strcat(ptr noundef %99, ptr noundef %100) br label %102 102: ; preds = %98, %55 %103 = load ptr, ptr %8, align 8 ret ptr %103 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjjsolhvz.c' source_filename = "/tmp/tmpjjsolhvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__get_PRIMASK() #0 { %1 = alloca ptr, align 8 store ptr null, ptr %1, align 8 %2 = call ptr asm sideeffect "MRS $0, primask", "=r,~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 496}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjjsolhvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @__get_PRIMASK() #0 { %1 = alloca ptr, align 8 store ptr null, ptr %1, align 8 %2 = call ptr asm sideeffect "MRS $0, primask", "=r,~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !6 store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 ret ptr %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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 496}
; ModuleID = '/tmp/tmp0_2odhzn.c' source_filename = "/tmp/tmp0_2odhzn.c" target datalayout = "e-m:e-p270: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_SUCCESS = 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/tmp0_2odhzn.c" target datalayout = "e-m:e-p270: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_SUCCESS = 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/tmp4gbctsdi.c' source_filename = "/tmp/tmp4gbctsdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %4 = load double, ptr %1, align 8 %5 = load double, ptr %2, align 8 %6 = call double @hypotenuse(double noundef %4, double noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, double noundef %6) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @hypotenuse(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4gbctsdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2) %4 = load double, ptr %1, align 8 %5 = load double, ptr %2, align 8 %6 = call double @hypotenuse(double noundef %4, double noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, double noundef %6) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 declare double @hypotenuse(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp57g5l9kk.c' source_filename = "/tmp/tmp57g5l9kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[BIGFILE] : Run #1\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"[BIGFILE] : Run #2\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"[DIRTEST] : Run #1\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"[DIRTEST] : Run #2\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"[CONCUR]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %36 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 49 br i1 %15, label %16, label %17 16: ; preds = %9 store i32 1, ptr %6, align 4 br label %35 17: ; preds = %9 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 50 br i1 %23, label %24, label %25 24: ; preds = %17 store i32 2, ptr %6, align 4 br label %34 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 51 br i1 %31, label %32, label %33 32: ; preds = %25 store i32 4, ptr %6, align 4 br label %33 33: ; preds = %32, %25 br label %34 34: ; preds = %33, %24 br label %35 35: ; preds = %34, %16 br label %37 36: ; preds = %2 store i32 7, ptr %6, align 4 br label %37 37: ; preds = %36, %35 %38 = load i32, ptr %6, align 4 %39 = and i32 %38, 1 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str) %43 = call i32 @big_file(i32 noundef 276750) %44 = call i32 @printf(ptr noundef @.str.1) %45 = call i32 @big_file(i32 noundef 276750) br label %46 46: ; preds = %41, %37 %47 = load i32, ptr %6, align 4 %48 = and i32 %47, 2 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %55 50: ; preds = %46 %51 = call i32 @printf(ptr noundef @.str.2) %52 = call i32 @dir_test(i32 noundef 8) %53 = call i32 @printf(ptr noundef @.str.3) %54 = call i32 @dir_test(i32 noundef 8) br label %55 55: ; preds = %50, %46 %56 = load i32, ptr %6, align 4 %57 = and i32 %56, 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %55 %60 = call i32 @printf(ptr noundef @.str.4) %61 = call i32 (...) @concur() br label %62 62: ; preds = %59, %55 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @big_file(i32 noundef) #1 declare i32 @dir_test(i32 noundef) #1 declare i32 @concur(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp57g5l9kk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[BIGFILE] : Run #1\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"[BIGFILE] : Run #2\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"[DIRTEST] : Run #1\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"[DIRTEST] : Run #2\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"[CONCUR]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %36 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 49 br i1 %15, label %16, label %17 16: ; preds = %9 store i32 1, ptr %6, align 4 br label %35 17: ; preds = %9 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 50 br i1 %23, label %24, label %25 24: ; preds = %17 store i32 2, ptr %6, align 4 br label %34 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 1 %28 = load ptr, ptr %27, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 51 br i1 %31, label %32, label %33 32: ; preds = %25 store i32 4, ptr %6, align 4 br label %33 33: ; preds = %32, %25 br label %34 34: ; preds = %33, %24 br label %35 35: ; preds = %34, %16 br label %37 36: ; preds = %2 store i32 7, ptr %6, align 4 br label %37 37: ; preds = %36, %35 %38 = load i32, ptr %6, align 4 %39 = and i32 %38, 1 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str) %43 = call i32 @big_file(i32 noundef 276750) %44 = call i32 @printf(ptr noundef @.str.1) %45 = call i32 @big_file(i32 noundef 276750) br label %46 46: ; preds = %41, %37 %47 = load i32, ptr %6, align 4 %48 = and i32 %47, 2 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %55 50: ; preds = %46 %51 = call i32 @printf(ptr noundef @.str.2) %52 = call i32 @dir_test(i32 noundef 8) %53 = call i32 @printf(ptr noundef @.str.3) %54 = call i32 @dir_test(i32 noundef 8) br label %55 55: ; preds = %50, %46 %56 = load i32, ptr %6, align 4 %57 = and i32 %56, 4 %58 = icmp ne i32 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %55 %60 = call i32 @printf(ptr noundef @.str.4) %61 = call i32 (...) @concur() br label %62 62: ; preds = %59, %55 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @big_file(i32 noundef) #1 declare i32 @dir_test(i32 noundef) #1 declare i32 @concur(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2q1b68se.c' source_filename = "/tmp/tmp2q1b68se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [155 x i8] c"Usage: %s file1 file2 [-h]\0AReturns the address of the occurences of the contents of file2 in file1. -h makes it return the address in hex instead of dec.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Invalid switch %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Couldn't stat file1.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Couldn't malloc bytes for file1.\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Couldn't stat file2.\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"Couldn't malloc bytes for file2.\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [22 x i8] c"Couldn't open file1.\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Couldn't open file2.\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"%04x\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca %struct.stat, 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 store i32 0, ptr %16, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 3 br i1 %18, label %19, label %28 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 4 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25) %27 = call i32 @exit(i32 noundef 0) #3 unreachable 28: ; preds = %19, %2 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, 4 br i1 %30, label %31, label %45 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.1) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %31 store i32 1, ptr %16, align 4 br label %44 38: ; preds = %31 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 3 %41 = load ptr, ptr %40, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %37 br label %45 45: ; preds = %44, %28 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = call i32 @stat(ptr noundef %48, ptr noundef %15) store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %45 %53 = call i32 @perror(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %45 %56 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %57 = load i32, ptr %56, align 4 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = call ptr @malloc(i32 noundef %58) store ptr %59, ptr %13, align 8 %60 = load ptr, ptr %13, align 8 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %64 62: ; preds = %55 %63 = call i32 @perror(ptr noundef @.str.4) br label %64 64: ; preds = %62, %55 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 2 %67 = load ptr, ptr %66, align 8 %68 = call i32 @stat(ptr noundef %67, ptr noundef %15) store i32 %68, ptr %8, align 4 %69 = load i32, ptr %8, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %64 %72 = call i32 @perror(ptr noundef @.str.5) %73 = call i32 @exit(i32 noundef 1) #3 unreachable 74: ; preds = %64 %75 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %76 = load i32, ptr %75, align 4 store i32 %76, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = call ptr @malloc(i32 noundef %77) store ptr %78, ptr %14, align 8 %79 = load ptr, ptr %14, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %81, label %83 81: ; preds = %74 %82 = call i32 @perror(ptr noundef @.str.6) br label %83 83: ; preds = %81, %74 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = load i32, ptr @O_RDONLY, align 4 %88 = call i32 @open(ptr noundef %86, i32 noundef %87) store i32 %88, ptr %6, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %83 %92 = call i32 @perror(ptr noundef @.str.7) %93 = call i32 @exit(i32 noundef 1) #3 unreachable 94: ; preds = %83 %95 = load i32, ptr %6, align 4 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %9, align 4 %98 = call i32 @read(i32 noundef %95, ptr noundef %96, i32 noundef %97) %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds ptr, ptr %101, i64 2 %103 = load ptr, ptr %102, align 8 %104 = load i32, ptr @O_RDONLY, align 4 %105 = call i32 @open(ptr noundef %103, i32 noundef %104) store i32 %105, ptr %7, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %94 %109 = call i32 @perror(ptr noundef @.str.8) %110 = call i32 @exit(i32 noundef 1) #3 unreachable 111: ; preds = %94 %112 = load i32, ptr %7, align 4 %113 = load ptr, ptr %14, align 8 %114 = load i32, ptr %10, align 4 %115 = call i32 @read(i32 noundef %112, ptr noundef %113, i32 noundef %114) %116 = load i32, ptr %7, align 4 %117 = call i32 @close(i32 noundef %116) store i32 0, ptr %11, align 4 br label %118 118: ; preds = %165, %111 %119 = load i32, ptr %11, align 4 %120 = load i32, ptr %9, align 4 %121 = load i32, ptr %10, align 4 %122 = sub nsw i32 %120, %121 %123 = icmp slt i32 %119, %122 br i1 %123, label %124, label %168 124: ; preds = %118 store i32 0, ptr %12, align 4 br label %125 125: ; preds = %147, %124 %126 = load i32, ptr %12, align 4 %127 = load i32, ptr %10, align 4 %128 = icmp slt i32 %126, %127 br i1 %128, label %129, label %145 129: ; preds = %125 %130 = load ptr, ptr %13, align 8 %131 = load i32, ptr %11, align 4 %132 = load i32, ptr %12, align 4 %133 = add nsw i32 %131, %132 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %130, i64 %134 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = load ptr, ptr %14, align 8 %139 = load i32, ptr %12, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds i8, ptr %138, i64 %140 %142 = load i8, ptr %141, align 1 %143 = sext i8 %142 to i32 %144 = icmp eq i32 %137, %143 br label %145 145: ; preds = %129, %125 %146 = phi i1 [ false, %125 ], [ %144, %129 ] br i1 %146, label %147, label %150 147: ; preds = %145 %148 = load i32, ptr %12, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %12, align 4 br label %125, !llvm.loop !6 150: ; preds = %145 %151 = load i32, ptr %12, align 4 %152 = load i32, ptr %10, align 4 %153 = icmp eq i32 %151, %152 br i1 %153, label %154, label %164 154: ; preds = %150 %155 = load i32, ptr %16, align 4 %156 = icmp eq i32 %155, 1 br i1 %156, label %157, label %160 157: ; preds = %154 %158 = load i32, ptr %11, align 4 %159 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %158) br label %163 160: ; preds = %154 %161 = load i32, ptr %11, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %161) br label %163 163: ; preds = %160, %157 br label %164 164: ; preds = %163, %150 br label %165 165: ; preds = %164 %166 = load i32, ptr %11, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %11, align 4 br label %118, !llvm.loop !8 168: ; preds = %118 %169 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2q1b68se.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [155 x i8] c"Usage: %s file1 file2 [-h]\0AReturns the address of the occurences of the contents of file2 in file1. -h makes it return the address in hex instead of dec.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Invalid switch %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Couldn't stat file1.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Couldn't malloc bytes for file1.\0A\00", align 1 @.str.5 = private unnamed_addr constant [22 x i8] c"Couldn't stat file2.\0A\00", align 1 @.str.6 = private unnamed_addr constant [34 x i8] c"Couldn't malloc bytes for file2.\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [22 x i8] c"Couldn't open file1.\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"Couldn't open file2.\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"%04x\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca %struct.stat, 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 store i32 0, ptr %16, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 3 br i1 %18, label %19, label %28 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 4 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 0 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25) %27 = call i32 @exit(i32 noundef 0) #3 unreachable 28: ; preds = %19, %2 %29 = load i32, ptr %4, align 4 %30 = icmp eq i32 %29, 4 br i1 %30, label %31, label %45 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.1) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %31 store i32 1, ptr %16, align 4 br label %44 38: ; preds = %31 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 3 %41 = load ptr, ptr %40, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %37 br label %45 45: ; preds = %44, %28 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 1 %48 = load ptr, ptr %47, align 8 %49 = call i32 @stat(ptr noundef %48, ptr noundef %15) store i32 %49, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %45 %53 = call i32 @perror(ptr noundef @.str.3) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %45 %56 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %57 = load i32, ptr %56, align 4 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = call ptr @malloc(i32 noundef %58) store ptr %59, ptr %13, align 8 %60 = load ptr, ptr %13, align 8 %61 = icmp eq ptr %60, null br i1 %61, label %62, label %64 62: ; preds = %55 %63 = call i32 @perror(ptr noundef @.str.4) br label %64 64: ; preds = %62, %55 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 2 %67 = load ptr, ptr %66, align 8 %68 = call i32 @stat(ptr noundef %67, ptr noundef %15) store i32 %68, ptr %8, align 4 %69 = load i32, ptr %8, align 4 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %64 %72 = call i32 @perror(ptr noundef @.str.5) %73 = call i32 @exit(i32 noundef 1) #3 unreachable 74: ; preds = %64 %75 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 0 %76 = load i32, ptr %75, align 4 store i32 %76, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = call ptr @malloc(i32 noundef %77) store ptr %78, ptr %14, align 8 %79 = load ptr, ptr %14, align 8 %80 = icmp eq ptr %79, null br i1 %80, label %81, label %83 81: ; preds = %74 %82 = call i32 @perror(ptr noundef @.str.6) br label %83 83: ; preds = %81, %74 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = load i32, ptr @O_RDONLY, align 4 %88 = call i32 @open(ptr noundef %86, i32 noundef %87) store i32 %88, ptr %6, align 4 %89 = load i32, ptr %6, align 4 %90 = icmp slt i32 %89, 0 br i1 %90, label %91, label %94 91: ; preds = %83 %92 = call i32 @perror(ptr noundef @.str.7) %93 = call i32 @exit(i32 noundef 1) #3 unreachable 94: ; preds = %83 %95 = load i32, ptr %6, align 4 %96 = load ptr, ptr %13, align 8 %97 = load i32, ptr %9, align 4 %98 = call i32 @read(i32 noundef %95, ptr noundef %96, i32 noundef %97) %99 = load i32, ptr %6, align 4 %100 = call i32 @close(i32 noundef %99) %101 = load ptr, ptr %5, align 8 %102 = getelementptr inbounds ptr, ptr %101, i64 2 %103 = load ptr, ptr %102, align 8 %104 = load i32, ptr @O_RDONLY, align 4 %105 = call i32 @open(ptr noundef %103, i32 noundef %104) store i32 %105, ptr %7, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %94 %109 = call i32 @perror(ptr noundef @.str.8) %110 = call i32 @exit(i32 noundef 1) #3 unreachable 111: ; preds = %94 %112 = load i32, ptr %7, align 4 %113 = load ptr, ptr %14, align 8 %114 = load i32, ptr %10, align 4 %115 = call i32 @read(i32 noundef %112, ptr noundef %113, i32 noundef %114) %116 = load i32, ptr %7, align 4 %117 = call i32 @close(i32 noundef %116) store i32 0, ptr %11, align 4 %118 = load i32, ptr %11, align 4 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %10, align 4 %121 = sub nsw i32 %119, %120 %122 = icmp slt i32 %118, %121 br i1 %122, label %.lr.ph, label %172 .lr.ph: ; preds = %111 br label %123 123: ; preds = %.lr.ph, %164 store i32 0, ptr %12, align 4 br label %124 124: ; preds = %146, %123 %125 = load i32, ptr %12, align 4 %126 = load i32, ptr %10, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %128, label %144 128: ; preds = %124 %129 = load ptr, ptr %13, align 8 %130 = load i32, ptr %11, align 4 %131 = load i32, ptr %12, align 4 %132 = add nsw i32 %130, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds i8, ptr %129, i64 %133 %135 = load i8, ptr %134, align 1 %136 = sext i8 %135 to i32 %137 = load ptr, ptr %14, align 8 %138 = load i32, ptr %12, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %136, %142 br label %144 144: ; preds = %128, %124 %145 = phi i1 [ false, %124 ], [ %143, %128 ] br i1 %145, label %146, label %149 146: ; preds = %144 %147 = load i32, ptr %12, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %12, align 4 br label %124, !llvm.loop !6 149: ; preds = %144 %150 = load i32, ptr %12, align 4 %151 = load i32, ptr %10, align 4 %152 = icmp eq i32 %150, %151 br i1 %152, label %153, label %163 153: ; preds = %149 %154 = load i32, ptr %16, align 4 %155 = icmp eq i32 %154, 1 br i1 %155, label %156, label %159 156: ; preds = %153 %157 = load i32, ptr %11, align 4 %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %157) br label %162 159: ; preds = %153 %160 = load i32, ptr %11, align 4 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %160) br label %162 162: ; preds = %159, %156 br label %163 163: ; preds = %162, %149 br label %164 164: ; preds = %163 %165 = load i32, ptr %11, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %11, align 4 %167 = load i32, ptr %11, align 4 %168 = load i32, ptr %9, align 4 %169 = load i32, ptr %10, align 4 %170 = sub nsw i32 %168, %169 %171 = icmp slt i32 %167, %170 br i1 %171, label %123, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %164 br label %172 172: ; preds = %._crit_edge, %111 %173 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7swinzzn.c' source_filename = "/tmp/tmp7swinzzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%s%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"sub\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"mul\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %11, ptr noundef %7) store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 %13 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i32 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %8, align 4 store i32 1, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %22 22: ; preds = %16, %2 %23 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i32 %24, 0 br i1 %25, label %32, label %26 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = sub nsw i32 %27, %28 store i32 %29, ptr %8, align 4 store i32 1, ptr %9, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) br label %32 32: ; preds = %26, %22 %33 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.4) %35 = icmp ne i32 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = mul nsw i32 %37, %38 store i32 %39, ptr %8, align 4 store i32 1, ptr %9, align 4 %40 = load i32, ptr %8, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) br label %42 42: ; preds = %36, %32 %43 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.5) %45 = icmp ne i32 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %42 %47 = load i32, ptr %7, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = sdiv i32 %50, %51 store i32 %52, ptr %8, align 4 store i32 1, ptr %9, align 4 %53 = load i32, ptr %8, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) br label %55 55: ; preds = %49, %46 br label %56 56: ; preds = %55, %42 %57 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.6) %59 = icmp ne i32 %58, 0 br i1 %59, label %70, label %60 60: ; preds = %56 %61 = load i32, ptr %7, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %60 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = srem i32 %64, %65 store i32 %66, ptr %8, align 4 store i32 1, ptr %9, align 4 %67 = load i32, ptr %8, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67) br label %69 69: ; preds = %63, %60 br label %70 70: ; preds = %69, %56 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %70 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %75 75: ; preds = %73, %70 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7swinzzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d%s%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"sub\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"mul\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %11, ptr noundef %7) store i32 0, ptr %9, align 4 store i32 0, ptr %8, align 4 %13 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i32 %14, 0 br i1 %15, label %22, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %8, align 4 store i32 1, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20) br label %22 22: ; preds = %16, %2 %23 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %24 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.3) %25 = icmp ne i32 %24, 0 br i1 %25, label %32, label %26 26: ; preds = %22 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = sub nsw i32 %27, %28 store i32 %29, ptr %8, align 4 store i32 1, ptr %9, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30) br label %32 32: ; preds = %26, %22 %33 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.4) %35 = icmp ne i32 %34, 0 br i1 %35, label %42, label %36 36: ; preds = %32 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = mul nsw i32 %37, %38 store i32 %39, ptr %8, align 4 store i32 1, ptr %9, align 4 %40 = load i32, ptr %8, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) br label %42 42: ; preds = %36, %32 %43 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.5) %45 = icmp ne i32 %44, 0 br i1 %45, label %56, label %46 46: ; preds = %42 %47 = load i32, ptr %7, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = sdiv i32 %50, %51 store i32 %52, ptr %8, align 4 store i32 1, ptr %9, align 4 %53 = load i32, ptr %8, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) br label %55 55: ; preds = %49, %46 br label %56 56: ; preds = %55, %42 %57 = getelementptr inbounds [5 x i8], ptr %10, i64 0, i64 0 %58 = call i32 @strcmp(ptr noundef %57, ptr noundef @.str.6) %59 = icmp ne i32 %58, 0 br i1 %59, label %70, label %60 60: ; preds = %56 %61 = load i32, ptr %7, align 4 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %69 63: ; preds = %60 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %7, align 4 %66 = srem i32 %64, %65 store i32 %66, ptr %8, align 4 store i32 1, ptr %9, align 4 %67 = load i32, ptr %8, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %67) br label %69 69: ; preds = %63, %60 br label %70 70: ; preds = %69, %56 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 0 br i1 %72, label %73, label %75 73: ; preds = %70 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %75 75: ; preds = %73, %70 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdyc0hfeo.c' source_filename = "/tmp/tmpdyc0hfeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"header.bin\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"signed.bin\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"final.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i64 @malloc(i32 noundef 16777216) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @memset(ptr noundef %10, i32 noundef 255, i32 noundef 16777216) %12 = load ptr, ptr %6, align 8 %13 = call i32 @rrd(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 512 %16 = call i32 @rrd(ptr noundef @.str.1, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 511 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = srem i32 %19, 512 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %21, %20 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = sdiv i32 %23, 512 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 48 store i32 %24, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 512, %28 %30 = call i32 @wrt(ptr noundef @.str.2, ptr noundef %27, i32 noundef %29) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rrd(ptr noundef, ptr noundef) #1 declare i32 @wrt(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/tmpdyc0hfeo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"header.bin\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"signed.bin\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"final.bin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i64 @malloc(i32 noundef 16777216) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @memset(ptr noundef %10, i32 noundef 255, i32 noundef 16777216) %12 = load ptr, ptr %6, align 8 %13 = call i32 @rrd(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 512 %16 = call i32 @rrd(ptr noundef @.str.1, ptr noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 511 store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = srem i32 %19, 512 %21 = load i32, ptr %7, align 4 %22 = sub nsw i32 %21, %20 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = sdiv i32 %23, 512 %25 = load ptr, ptr %6, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 48 store i32 %24, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 512, %28 %30 = call i32 @wrt(ptr noundef @.str.2, ptr noundef %27, i32 noundef %29) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @rrd(ptr noundef, ptr noundef) #1 declare i32 @wrt(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/tmpaae5plo_.c' source_filename = "/tmp/tmpaae5plo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_hash(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @env_djb2_hash(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = srem i64 %8, %10 %12 = trunc i64 %11 to i32 ret i32 %12 } declare i64 @env_djb2_hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaae5plo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_hash(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @env_djb2_hash(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = srem i64 %8, %10 %12 = trunc i64 %11 to i32 ret i32 %12 } declare i64 @env_djb2_hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpynqy4lbb.c' source_filename = "/tmp/tmpynqy4lbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_U_Qfunle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 15) %8 = icmp ne i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmpynqy4lbb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_U_Qfunle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 15) %8 = icmp ne i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmp2h1laa_l.c' source_filename = "/tmp/tmp2h1laa_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" @MB_CUR_MAX = 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/tmp2h1laa_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" @MB_CUR_MAX = 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/tmpenih4myi.c' source_filename = "/tmp/tmpenih4myi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genExp_mem(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %9, align 4 br label %15 15: ; preds = %46, %4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %10, align 4 %18 = add nsw i32 %17, 1 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %49 20: ; preds = %15 %21 = load i32, ptr %9, align 4 %22 = sitofp i32 %21 to double %23 = load double, ptr %6, align 8 %24 = fmul double %22, %23 %25 = call i64 @cos(double noundef %24) %26 = sitofp i64 %25 to double %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %27, i64 %31 store double %26, ptr %32, align 8 %33 = load i32, ptr %9, align 4 %34 = sitofp i32 %33 to double %35 = load double, ptr %6, align 8 %36 = fmul double %34, %35 %37 = call i64 @sin(double noundef %36) %38 = sub nsw i64 0, %37 %39 = sitofp i64 %38 to double %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %41, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %40, i64 %44 store double %39, ptr %45, align 8 br label %46 46: ; preds = %20 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 br label %15, !llvm.loop !6 49: ; preds = %15 ret void } declare i64 @cos(double noundef) #1 declare i64 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpenih4myi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @genExp_mem(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %10, align 4 %13 = load i32, ptr %10, align 4 %14 = sub nsw i32 0, %13 store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = add nsw i32 %16, 1 %18 = icmp slt i32 %15, %17 br i1 %18, label %.lr.ph, label %52 .lr.ph: ; preds = %4 br label %19 19: ; preds = %.lr.ph, %45 %20 = load i32, ptr %9, align 4 %21 = sitofp i32 %20 to double %22 = load double, ptr %6, align 8 %23 = fmul double %21, %22 %24 = call i64 @cos(double noundef %23) %25 = sitofp i64 %24 to double %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds double, ptr %26, i64 %30 store double %25, ptr %31, align 8 %32 = load i32, ptr %9, align 4 %33 = sitofp i32 %32 to double %34 = load double, ptr %6, align 8 %35 = fmul double %33, %34 %36 = call i64 @sin(double noundef %35) %37 = sub nsw i64 0, %36 %38 = sitofp i64 %37 to double %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %39, i64 %43 store double %38, ptr %44, align 8 br label %45 45: ; preds = %19 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 %51 = icmp slt i32 %48, %50 br i1 %51, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %52 52: ; preds = %._crit_edge, %4 ret void } declare i64 @cos(double noundef) #1 declare i64 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl6yz_0io.c' source_filename = "/tmp/tmpl6yz_0io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ASN1_object_size(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 1, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 -1, ptr %4, align 4 br label %60 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 31 br i1 %15, label %16, label %26 16: ; preds = %13 br label %17 17: ; preds = %20, %16 %18 = load i32, ptr %7, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %17 %21 = load i32, ptr %7, align 4 %22 = ashr i32 %21, 7 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %17, !llvm.loop !6 25: ; preds = %17 br label %26 26: ; preds = %25, %13 %27 = load i32, ptr %5, align 4 %28 = icmp eq i32 %27, 2 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 3 store i32 %31, ptr %8, align 4 br label %49 32: ; preds = %26 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp sgt i32 %35, 127 br i1 %36, label %37, label %48 37: ; preds = %32 %38 = load i32, ptr %6, align 4 store i32 %38, ptr %9, align 4 br label %39 39: ; preds = %42, %37 %40 = load i32, ptr %9, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %39 %43 = load i32, ptr %9, align 4 %44 = ashr i32 %43, 8 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 br label %39, !llvm.loop !8 47: ; preds = %39 br label %48 48: ; preds = %47, %32 br label %49 49: ; preds = %48, %29 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @INT_MAX, align 4 %52 = load i32, ptr %6, align 4 %53 = sub nsw i32 %51, %52 %54 = icmp sge i32 %50, %53 br i1 %54, label %55, label %56 55: ; preds = %49 store i32 -1, ptr %4, align 4 br label %60 56: ; preds = %49 %57 = load i32, ptr %8, align 4 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %57, %58 store i32 %59, ptr %4, align 4 br label %60 60: ; preds = %56, %55, %12 %61 = load i32, ptr %4, align 4 ret i32 %61 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpl6yz_0io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ASN1_object_size(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 1, ptr %8, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %3 store i32 -1, ptr %4, align 4 br label %62 13: ; preds = %3 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 31 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = load i32, ptr %7, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %.lr.ph, label %26 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %19 %20 = load i32, ptr %7, align 4 %21 = ashr i32 %20, 7 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp sgt i32 %24, 0 br i1 %25, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %16 br label %27 27: ; preds = %26, %13 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 2 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 3 store i32 %32, ptr %8, align 4 br label %51 33: ; preds = %27 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp sgt i32 %36, 127 br i1 %37, label %38, label %50 38: ; preds = %33 %39 = load i32, ptr %6, align 4 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp sgt i32 %40, 0 br i1 %41, label %.lr.ph2, label %49 .lr.ph2: ; preds = %38 br label %42 42: ; preds = %.lr.ph2, %42 %43 = load i32, ptr %9, align 4 %44 = ashr i32 %43, 8 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %8, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %42, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %49 49: ; preds = %._crit_edge3, %38 br label %50 50: ; preds = %49, %33 br label %51 51: ; preds = %50, %30 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr @INT_MAX, align 4 %54 = load i32, ptr %6, align 4 %55 = sub nsw i32 %53, %54 %56 = icmp sge i32 %52, %55 br i1 %56, label %57, label %58 57: ; preds = %51 store i32 -1, ptr %4, align 4 br label %62 58: ; preds = %51 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %4, align 4 br label %62 62: ; preds = %58, %57, %12 %63 = load i32, ptr %4, align 4 ret i32 %63 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpy7zuu2q4.c' source_filename = "/tmp/tmpy7zuu2q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A The number of bisection steps exceed %d.\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0A c1=%e, c2=%e, x_diff=%e, f=%e\00", align 1 @.str.2 = private unnamed_addr constant [81 x i8] c"\0A If you meet with this problem, please contact Jun Liu (j.liu@asu.edu). Thanks!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eppO(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, double noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca i32, align 4 store ptr %0, ptr %8, align 8 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 double %5, ptr %13, align 8 store double %6, ptr %14, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store double 0.000000e+00, ptr %20, align 8 store double 0.000000e+00, ptr %22, align 8 store double 1.000000e+10, ptr %23, align 8 %34 = load double, ptr %14, align 8 %35 = fdiv double 1.000000e+00, %34 %36 = fsub double 1.000000e+00, %35 %37 = fdiv double 1.000000e+00, %36 store double %37, ptr %24, align 8 store double 0.000000e+00, ptr %31, align 8 store i32 1, ptr %33, align 4 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %16, align 8 store i32 0, ptr %15, align 4 br label %44 44: ; preds = %131, %7 %45 = load i32, ptr %15, align 4 %46 = load i32, ptr %12, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %48, label %134 48: ; preds = %44 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %15, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds double, ptr %49, i64 %51 store double 0.000000e+00, ptr %52, align 8 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %15, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %53, i64 %55 %57 = load double, ptr %56, align 8 %58 = fcmp oeq double %57, 0.000000e+00 br i1 %58, label %59, label %64 59: ; preds = %48 %60 = load ptr, ptr %16, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 store i32 0, ptr %63, align 4 br label %130 64: ; preds = %48 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %15, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = fcmp ogt double %69, 0.000000e+00 br i1 %70, label %71, label %76 71: ; preds = %64 %72 = load ptr, ptr %16, align 8 %73 = load i32, ptr %15, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 0, ptr %75, align 4 br label %91 76: ; preds = %64 %77 = load ptr, ptr %16, align 8 %78 = load i32, ptr %15, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 store i32 1, ptr %80, align 4 %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %15, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = fneg double %85 %87 = load ptr, ptr %11, align 8 %88 = load i32, ptr %15, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds double, ptr %87, i64 %89 store double %86, ptr %90, align 8 br label %91 91: ; preds = %76, %71 %92 = load ptr, ptr %11, align 8 %93 = load i32, ptr %15, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = load double, ptr %24, align 8 %98 = fptosi double %97 to i32 %99 = call double @pow(double noundef %96, i32 noundef %98) %100 = load double, ptr %20, align 8 %101 = fadd double %100, %99 store double %101, ptr %20, align 8 %102 = load ptr, ptr %11, align 8 %103 = load i32, ptr %15, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 %106 = load double, ptr %105, align 8 %107 = load double, ptr %22, align 8 %108 = fcmp ogt double %106, %107 br i1 %108, label %109, label %115 109: ; preds = %91 %110 = load ptr, ptr %11, align 8 %111 = load i32, ptr %15, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 %114 = load double, ptr %113, align 8 store double %114, ptr %22, align 8 br label %115 115: ; preds = %109, %91 %116 = load ptr, ptr %11, align 8 %117 = load i32, ptr %15, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %116, i64 %118 %120 = load double, ptr %119, align 8 %121 = load double, ptr %23, align 8 %122 = fcmp olt double %120, %121 br i1 %122, label %123, label %129 123: ; preds = %115 %124 = load ptr, ptr %11, align 8 %125 = load i32, ptr %15, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 store double %128, ptr %23, align 8 br label %129 129: ; preds = %123, %115 br label %130 130: ; preds = %129, %59 br label %131 131: ; preds = %130 %132 = load i32, ptr %15, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %15, align 4 br label %44, !llvm.loop !6 134: ; preds = %44 %135 = load double, ptr %20, align 8 %136 = load double, ptr %24, align 8 %137 = fdiv double 1.000000e+00, %136 %138 = fptosi double %137 to i32 %139 = call double @pow(double noundef %135, i32 noundef %138) store double %139, ptr %20, align 8 %140 = load double, ptr %13, align 8 %141 = load double, ptr %20, align 8 %142 = fcmp oge double %140, %141 br i1 %142, label %143, label %178 143: ; preds = %134 %144 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %144, align 8 %145 = load ptr, ptr %10, align 8 %146 = getelementptr inbounds i32, ptr %145, i64 1 store i32 0, ptr %146, align 4 %147 = load ptr, ptr %10, align 8 %148 = getelementptr inbounds i32, ptr %147, i64 0 store i32 0, ptr %148, align 4 store i32 0, ptr %15, align 4 br label %149 149: ; preds = %172, %143 %150 = load i32, ptr %15, align 4 %151 = load i32, ptr %12, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %153, label %175 153: ; preds = %149 %154 = load ptr, ptr %16, align 8 %155 = load i32, ptr %15, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i32, ptr %154, i64 %156 %158 = load i32, ptr %157, align 4 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %171 160: ; preds = %153 %161 = load ptr, ptr %11, align 8 %162 = load i32, ptr %15, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 %166 = fneg double %165 %167 = load ptr, ptr %11, align 8 %168 = load i32, ptr %15, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %167, i64 %169 store double %166, ptr %170, align 8 br label %171 171: ; preds = %160, %153 br label %172 172: ; preds = %171 %173 = load i32, ptr %15, align 4 %174 = add nsw i32 %173, 1 store i32 %174, ptr %15, align 4 br label %149, !llvm.loop !8 175: ; preds = %149 %176 = load ptr, ptr %16, align 8 %177 = call i32 @free(ptr noundef %176) br label %472 178: ; preds = %134 %179 = load double, ptr %20, align 8 %180 = load double, ptr %13, align 8 %181 = fsub double %179, %180 %182 = load double, ptr %20, align 8 %183 = fdiv double %181, %182 store double %183, ptr %21, align 8 %184 = load double, ptr %14, align 8 %185 = fcmp ogt double %184, 2.000000e+00 br i1 %185, label %186, label %263 186: ; preds = %178 %187 = load double, ptr %21, align 8 %188 = fsub double 1.000000e+00, %187 %189 = load double, ptr %23, align 8 %190 = fmul double %188, %189 %191 = call double @log(double noundef %190) #4 %192 = load double, ptr %14, align 8 %193 = fsub double %192, 1.000000e+00 %194 = load double, ptr %21, align 8 %195 = load double, ptr %23, align 8 %196 = fmul double %194, %195 %197 = call double @log(double noundef %196) #4 %198 = fneg double %193 %199 = call double @llvm.fmuladd.f64(double %198, double %197, double %191) %200 = fcmp oge double %199, 7.090000e+02 br i1 %200, label %201, label %238 201: ; preds = %186 store i32 0, ptr %15, align 4 br label %202 202: ; preds = %225, %201 %203 = load i32, ptr %15, align 4 %204 = load i32, ptr %12, align 4 %205 = icmp slt i32 %203, %204 br i1 %205, label %206, label %228 206: ; preds = %202 %207 = load ptr, ptr %16, align 8 %208 = load i32, ptr %15, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i32, ptr %207, i64 %209 %211 = load i32, ptr %210, align 4 %212 = icmp ne i32 %211, 0 br i1 %212, label %213, label %224 213: ; preds = %206 %214 = load ptr, ptr %11, align 8 %215 = load i32, ptr %15, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds double, ptr %214, i64 %216 %218 = load double, ptr %217, align 8 %219 = fneg double %218 %220 = load ptr, ptr %11, align 8 %221 = load i32, ptr %15, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 store double %219, ptr %223, align 8 br label %224 224: ; preds = %213, %206 br label %225 225: ; preds = %224 %226 = load i32, ptr %15, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %15, align 4 br label %202, !llvm.loop !9 228: ; preds = %202 %229 = load ptr, ptr %8, align 8 %230 = load ptr, ptr %9, align 8 %231 = load ptr, ptr %10, align 8 %232 = load ptr, ptr %11, align 8 %233 = load i32, ptr %12, align 4 %234 = load double, ptr %13, align 8 %235 = call i32 @eppInf(ptr noundef %229, ptr noundef %230, ptr noundef %231, ptr noundef %232, i32 noundef %233, double noundef %234, i32 noundef 0) %236 = load ptr, ptr %16, align 8 %237 = call i32 @free(ptr noundef %236) br label %472 238: ; preds = %186 %239 = load double, ptr %21, align 8 %240 = fsub double 1.000000e+00, %239 %241 = load double, ptr %22, align 8 %242 = fmul double %240, %241 %243 = load double, ptr %21, align 8 %244 = load double, ptr %22, align 8 %245 = fmul double %243, %244 %246 = load double, ptr %14, align 8 %247 = fsub double %246, 1.000000e+00 %248 = fptosi double %247 to i32 %249 = call double @pow(double noundef %245, i32 noundef %248) %250 = fdiv double %242, %249 store double %250, ptr %26, align 8 %251 = load double, ptr %21, align 8 %252 = fsub double 1.000000e+00, %251 %253 = load double, ptr %23, align 8 %254 = fmul double %252, %253 %255 = load double, ptr %21, align 8 %256 = load double, ptr %23, align 8 %257 = fmul double %255, %256 %258 = load double, ptr %14, align 8 %259 = fsub double %258, 1.000000e+00 %260 = fptosi double %259 to i32 %261 = call double @pow(double noundef %257, i32 noundef %260) %262 = fdiv double %254, %261 store double %262, ptr %27, align 8 br label %288 263: ; preds = %178 %264 = load double, ptr %21, align 8 %265 = fsub double 1.000000e+00, %264 %266 = load double, ptr %22, align 8 %267 = fmul double %265, %266 %268 = load double, ptr %21, align 8 %269 = load double, ptr %22, align 8 %270 = fmul double %268, %269 %271 = load double, ptr %14, align 8 %272 = fsub double %271, 1.000000e+00 %273 = fptosi double %272 to i32 %274 = call double @pow(double noundef %270, i32 noundef %273) %275 = fdiv double %267, %274 store double %275, ptr %27, align 8 %276 = load double, ptr %21, align 8 %277 = fsub double 1.000000e+00, %276 %278 = load double, ptr %23, align 8 %279 = fmul double %277, %278 %280 = load double, ptr %21, align 8 %281 = load double, ptr %23, align 8 %282 = fmul double %280, %281 %283 = load double, ptr %14, align 8 %284 = fsub double %283, 1.000000e+00 %285 = fptosi double %284 to i32 %286 = call double @pow(double noundef %282, i32 noundef %285) %287 = fdiv double %279, %286 store double %287, ptr %26, align 8 br label %288 288: ; preds = %263, %238 %289 = load double, ptr %26, align 8 %290 = load double, ptr %27, align 8 %291 = fsub double %289, %290 %292 = call i32 @fabs(double noundef %291) %293 = sitofp i32 %292 to double %294 = fcmp ole double %293, 1.000000e-08 br i1 %294, label %295, label %297 295: ; preds = %288 %296 = load double, ptr %26, align 8 store double %296, ptr %25, align 8 br label %302 297: ; preds = %288 %298 = load double, ptr %26, align 8 %299 = load double, ptr %27, align 8 %300 = fadd double %298, %299 %301 = fdiv double %300, 2.000000e+00 store double %301, ptr %25, align 8 br label %302 302: ; preds = %297, %295 store i32 0, ptr %17, align 4 br label %303 303: ; preds = %302, %423 %304 = load i32, ptr %17, align 4 %305 = add nsw i32 %304, 1 store i32 %305, ptr %17, align 4 store double 0.000000e+00, ptr %31, align 8 store i32 0, ptr %15, align 4 br label %306 306: ; preds = %347, %303 %307 = load i32, ptr %15, align 4 %308 = load i32, ptr %12, align 4 %309 = icmp slt i32 %307, %308 br i1 %309, label %310, label %350 310: ; preds = %306 %311 = load ptr, ptr %11, align 8 %312 = load i32, ptr %15, align 4 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds double, ptr %311, i64 %313 %315 = load double, ptr %314, align 8 %316 = load double, ptr %14, align 8 %317 = load double, ptr %25, align 8 %318 = load ptr, ptr %8, align 8 %319 = load i32, ptr %15, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds double, ptr %318, i64 %320 %322 = load double, ptr %321, align 8 %323 = call i32 @zerofind(ptr noundef %28, ptr noundef %18, double noundef %315, double noundef %316, double noundef %317, double noundef %322) %324 = load double, ptr %28, align 8 %325 = load ptr, ptr %8, align 8 %326 = load i32, ptr %15, align 4 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds double, ptr %325, i64 %327 %329 = load double, ptr %328, align 8 %330 = fsub double %324, %329 %331 = call i32 @fabs(double noundef %330) %332 = sitofp i32 %331 to double store double %332, ptr %32, align 8 %333 = load double, ptr %31, align 8 %334 = load double, ptr %32, align 8 %335 = fcmp olt double %333, %334 br i1 %335, label %336, label %338 336: ; preds = %310 %337 = load double, ptr %32, align 8 store double %337, ptr %31, align 8 br label %338 338: ; preds = %336, %310 %339 = load double, ptr %28, align 8 %340 = load ptr, ptr %8, align 8 %341 = load i32, ptr %15, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds double, ptr %340, i64 %342 store double %339, ptr %343, align 8 %344 = load i32, ptr %18, align 4 %345 = load i32, ptr %19, align 4 %346 = add nsw i32 %345, %344 store i32 %346, ptr %19, align 4 br label %347 347: ; preds = %338 %348 = load i32, ptr %15, align 4 %349 = add nsw i32 %348, 1 store i32 %349, ptr %15, align 4 br label %306, !llvm.loop !10 350: ; preds = %306 %351 = load ptr, ptr %8, align 8 %352 = load double, ptr %14, align 8 %353 = load i32, ptr %12, align 4 %354 = call double @norm(ptr noundef %351, double noundef %352, i32 noundef %353) store double %354, ptr %30, align 8 %355 = load double, ptr %13, align 8 %356 = load double, ptr %30, align 8 %357 = load double, ptr %14, align 8 %358 = fsub double 1.000000e+00, %357 %359 = fptosi double %358 to i32 %360 = call double @pow(double noundef %356, i32 noundef %359) %361 = load double, ptr %25, align 8 %362 = fneg double %361 %363 = call double @llvm.fmuladd.f64(double %355, double %360, double %362) store double %363, ptr %29, align 8 %364 = load double, ptr %29, align 8 %365 = call i32 @fabs(double noundef %364) %366 = sitofp i32 %365 to double %367 = fcmp ole double %366, 1.000000e-08 br i1 %367, label %375, label %368 368: ; preds = %350 %369 = load double, ptr %26, align 8 %370 = load double, ptr %27, align 8 %371 = fsub double %369, %370 %372 = call i32 @fabs(double noundef %371) %373 = sitofp i32 %372 to double %374 = fcmp ole double %373, 1.000000e-08 br i1 %374, label %375, label %376 375: ; preds = %368, %350 br label %424 376: ; preds = %368 %377 = load double, ptr %29, align 8 %378 = fcmp ogt double %377, 0.000000e+00 br i1 %378, label %379, label %388 379: ; preds = %376 %380 = load double, ptr %31, align 8 %381 = fcmp ole double %380, 1.000000e-08 br i1 %381, label %382, label %386 382: ; preds = %379 %383 = load i32, ptr %33, align 4 %384 = icmp eq i32 %383, 0 br i1 %384, label %385, label %386 385: ; preds = %382 br label %424 386: ; preds = %382, %379 %387 = load double, ptr %25, align 8 store double %387, ptr %26, align 8 store i32 1, ptr %33, align 4 br label %397 388: ; preds = %376 %389 = load double, ptr %31, align 8 %390 = fcmp ole double %389, 1.000000e-08 br i1 %390, label %391, label %395 391: ; preds = %388 %392 = load i32, ptr %33, align 4 %393 = icmp eq i32 %392, 1 br i1 %393, label %394, label %395 394: ; preds = %391 br label %424 395: ; preds = %391, %388 %396 = load double, ptr %25, align 8 store double %396, ptr %27, align 8 store i32 0, ptr %33, align 4 br label %397 397: ; preds = %395, %386 br label %398 398: ; preds = %397 %399 = load double, ptr %26, align 8 %400 = load double, ptr %27, align 8 %401 = fadd double %399, %400 %402 = fdiv double %401, 2.000000e+00 store double %402, ptr %25, align 8 %403 = load i32, ptr %17, align 4 %404 = icmp sge i32 %403, 1000 br i1 %404, label %405, label %423 405: ; preds = %398 %406 = load double, ptr %26, align 8 %407 = load double, ptr %27, align 8 %408 = fsub double %406, %407 %409 = call i32 @fabs(double noundef %408) %410 = sitofp i32 %409 to double %411 = load double, ptr %27, align 8 %412 = fmul double 1.000000e-08, %411 %413 = fcmp ole double %410, %412 br i1 %413, label %414, label %415 414: ; preds = %405 br label %424 415: ; preds = %405 %416 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1000) %417 = load double, ptr %26, align 8 %418 = load double, ptr %27, align 8 %419 = load double, ptr %31, align 8 %420 = load double, ptr %29, align 8 %421 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %417, double noundef %418, double noundef %419, double noundef %420) %422 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %472 423: ; preds = %398 br label %303 424: ; preds = %414, %394, %385, %375 store i32 0, ptr %15, align 4 br label %425 425: ; preds = %458, %424 %426 = load i32, ptr %15, align 4 %427 = load i32, ptr %12, align 4 %428 = icmp slt i32 %426, %427 br i1 %428, label %429, label %461 429: ; preds = %425 %430 = load ptr, ptr %16, align 8 %431 = load i32, ptr %15, align 4 %432 = sext i32 %431 to i64 %433 = getelementptr inbounds i32, ptr %430, i64 %432 %434 = load i32, ptr %433, align 4 %435 = icmp ne i32 %434, 0 br i1 %435, label %436, label %457 436: ; preds = %429 %437 = load ptr, ptr %8, align 8 %438 = load i32, ptr %15, align 4 %439 = sext i32 %438 to i64 %440 = getelementptr inbounds double, ptr %437, i64 %439 %441 = load double, ptr %440, align 8 %442 = fneg double %441 %443 = load ptr, ptr %8, align 8 %444 = load i32, ptr %15, 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 %11, align 8 %448 = load i32, ptr %15, align 4 %449 = sext i32 %448 to i64 %450 = getelementptr inbounds double, ptr %447, i64 %449 %451 = load double, ptr %450, align 8 %452 = fneg double %451 %453 = load ptr, ptr %11, align 8 %454 = load i32, ptr %15, align 4 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds double, ptr %453, i64 %455 store double %452, ptr %456, align 8 br label %457 457: ; preds = %436, %429 br label %458 458: ; preds = %457 %459 = load i32, ptr %15, align 4 %460 = add nsw i32 %459, 1 store i32 %460, ptr %15, align 4 br label %425, !llvm.loop !11 461: ; preds = %425 %462 = load ptr, ptr %16, align 8 %463 = call i32 @free(ptr noundef %462) %464 = load double, ptr %25, align 8 %465 = load ptr, ptr %9, align 8 store double %464, ptr %465, align 8 %466 = load i32, ptr %17, align 4 %467 = load ptr, ptr %10, align 8 %468 = getelementptr inbounds i32, ptr %467, i64 0 store i32 %466, ptr %468, align 4 %469 = load i32, ptr %19, align 4 %470 = load ptr, ptr %10, align 8 %471 = getelementptr inbounds i32, ptr %470, i64 1 store i32 %469, ptr %471, align 4 br label %472 472: ; preds = %461, %415, %228, %175 ret void } declare i64 @malloc(i32 noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @eppInf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, i32 noundef) #1 declare i32 @fabs(double noundef) #1 declare i32 @zerofind(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 declare double @norm(ptr noundef, double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy7zuu2q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A The number of bisection steps exceed %d.\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\0A c1=%e, c2=%e, x_diff=%e, f=%e\00", align 1 @.str.2 = private unnamed_addr constant [81 x i8] c"\0A If you meet with this problem, please contact Jun Liu (j.liu@asu.edu). Thanks!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @eppO(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, double noundef %6) #0 { %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca i32, align 4 store ptr %0, ptr %8, align 8 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 double %5, ptr %13, align 8 store double %6, ptr %14, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store double 0.000000e+00, ptr %20, align 8 store double 0.000000e+00, ptr %22, align 8 store double 1.000000e+10, ptr %23, align 8 %34 = load double, ptr %14, align 8 %35 = fdiv double 1.000000e+00, %34 %36 = fsub double 1.000000e+00, %35 %37 = fdiv double 1.000000e+00, %36 store double %37, ptr %24, align 8 store double 0.000000e+00, ptr %31, align 8 store i32 1, ptr %33, align 4 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = mul i64 4, %39 %41 = trunc i64 %40 to i32 %42 = call i64 @malloc(i32 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %16, align 8 store i32 0, ptr %15, align 4 %44 = load i32, ptr %15, align 4 %45 = load i32, ptr %12, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %.lr.ph, label %136 .lr.ph: ; preds = %7 br label %47 47: ; preds = %.lr.ph, %130 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %15, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %48, i64 %50 store double 0.000000e+00, ptr %51, align 8 %52 = load ptr, ptr %11, align 8 %53 = load i32, ptr %15, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = fcmp oeq double %56, 0.000000e+00 br i1 %57, label %58, label %63 58: ; preds = %47 %59 = load ptr, ptr %16, align 8 %60 = load i32, ptr %15, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %59, i64 %61 store i32 0, ptr %62, align 4 br label %129 63: ; preds = %47 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %15, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = fcmp ogt double %68, 0.000000e+00 br i1 %69, label %70, label %75 70: ; preds = %63 %71 = load ptr, ptr %16, align 8 %72 = load i32, ptr %15, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 store i32 0, ptr %74, align 4 br label %90 75: ; preds = %63 %76 = load ptr, ptr %16, align 8 %77 = load i32, ptr %15, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 store i32 1, ptr %79, align 4 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %15, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 %84 = load double, ptr %83, align 8 %85 = fneg double %84 %86 = load ptr, ptr %11, align 8 %87 = load i32, ptr %15, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 store double %85, ptr %89, align 8 br label %90 90: ; preds = %75, %70 %91 = load ptr, ptr %11, align 8 %92 = load i32, ptr %15, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 %96 = load double, ptr %24, align 8 %97 = fptosi double %96 to i32 %98 = call double @pow(double noundef %95, i32 noundef %97) %99 = load double, ptr %20, align 8 %100 = fadd double %99, %98 store double %100, ptr %20, align 8 %101 = load ptr, ptr %11, align 8 %102 = load i32, ptr %15, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 %105 = load double, ptr %104, align 8 %106 = load double, ptr %22, align 8 %107 = fcmp ogt double %105, %106 br i1 %107, label %108, label %114 108: ; preds = %90 %109 = load ptr, ptr %11, align 8 %110 = load i32, ptr %15, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %109, i64 %111 %113 = load double, ptr %112, align 8 store double %113, ptr %22, align 8 br label %114 114: ; preds = %108, %90 %115 = load ptr, ptr %11, align 8 %116 = load i32, ptr %15, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = load double, ptr %23, align 8 %121 = fcmp olt double %119, %120 br i1 %121, label %122, label %128 122: ; preds = %114 %123 = load ptr, ptr %11, align 8 %124 = load i32, ptr %15, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 %127 = load double, ptr %126, align 8 store double %127, ptr %23, align 8 br label %128 128: ; preds = %122, %114 br label %129 129: ; preds = %128, %58 br label %130 130: ; preds = %129 %131 = load i32, ptr %15, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %15, align 4 %133 = load i32, ptr %15, align 4 %134 = load i32, ptr %12, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %130 br label %136 136: ; preds = %._crit_edge, %7 %137 = load double, ptr %20, align 8 %138 = load double, ptr %24, align 8 %139 = fdiv double 1.000000e+00, %138 %140 = fptosi double %139 to i32 %141 = call double @pow(double noundef %137, i32 noundef %140) store double %141, ptr %20, align 8 %142 = load double, ptr %13, align 8 %143 = load double, ptr %20, align 8 %144 = fcmp oge double %142, %143 br i1 %144, label %145, label %182 145: ; preds = %136 %146 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %146, align 8 %147 = load ptr, ptr %10, align 8 %148 = getelementptr inbounds i32, ptr %147, i64 1 store i32 0, ptr %148, align 4 %149 = load ptr, ptr %10, align 8 %150 = getelementptr inbounds i32, ptr %149, i64 0 store i32 0, ptr %150, align 4 store i32 0, ptr %15, align 4 %151 = load i32, ptr %15, align 4 %152 = load i32, ptr %12, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %.lr.ph11, label %179 .lr.ph11: ; preds = %145 br label %154 154: ; preds = %.lr.ph11, %173 %155 = load ptr, ptr %16, align 8 %156 = load i32, ptr %15, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i32, ptr %155, i64 %157 %159 = load i32, ptr %158, align 4 %160 = icmp ne i32 %159, 0 br i1 %160, label %161, label %172 161: ; preds = %154 %162 = load ptr, ptr %11, align 8 %163 = load i32, ptr %15, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 %166 = load double, ptr %165, align 8 %167 = fneg double %166 %168 = load ptr, ptr %11, align 8 %169 = load i32, ptr %15, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds double, ptr %168, i64 %170 store double %167, ptr %171, align 8 br label %172 172: ; preds = %161, %154 br label %173 173: ; preds = %172 %174 = load i32, ptr %15, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %15, align 4 %176 = load i32, ptr %15, align 4 %177 = load i32, ptr %12, align 4 %178 = icmp slt i32 %176, %177 br i1 %178, label %154, label %._crit_edge12, !llvm.loop !8 ._crit_edge12: ; preds = %173 br label %179 179: ; preds = %._crit_edge12, %145 %180 = load ptr, ptr %16, align 8 %181 = call i32 @free(ptr noundef %180) br label %481 182: ; preds = %136 %183 = load double, ptr %20, align 8 %184 = load double, ptr %13, align 8 %185 = fsub double %183, %184 %186 = load double, ptr %20, align 8 %187 = fdiv double %185, %186 store double %187, ptr %21, align 8 %188 = load double, ptr %14, align 8 %189 = fcmp ogt double %188, 2.000000e+00 br i1 %189, label %190, label %269 190: ; preds = %182 %191 = load double, ptr %21, align 8 %192 = fsub double 1.000000e+00, %191 %193 = load double, ptr %23, align 8 %194 = fmul double %192, %193 %195 = call double @log(double noundef %194) #4 %196 = load double, ptr %14, align 8 %197 = fsub double %196, 1.000000e+00 %198 = load double, ptr %21, align 8 %199 = load double, ptr %23, align 8 %200 = fmul double %198, %199 %201 = call double @log(double noundef %200) #4 %202 = fneg double %197 %203 = call double @llvm.fmuladd.f64(double %202, double %201, double %195) %204 = fcmp oge double %203, 7.090000e+02 br i1 %204, label %205, label %244 205: ; preds = %190 store i32 0, ptr %15, align 4 %206 = load i32, ptr %15, align 4 %207 = load i32, ptr %12, align 4 %208 = icmp slt i32 %206, %207 br i1 %208, label %.lr.ph8, label %234 .lr.ph8: ; preds = %205 br label %209 209: ; preds = %.lr.ph8, %228 %210 = load ptr, ptr %16, align 8 %211 = load i32, ptr %15, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 %214 = load i32, ptr %213, align 4 %215 = icmp ne i32 %214, 0 br i1 %215, label %216, label %227 216: ; preds = %209 %217 = load ptr, ptr %11, align 8 %218 = load i32, ptr %15, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %217, i64 %219 %221 = load double, ptr %220, align 8 %222 = fneg double %221 %223 = load ptr, ptr %11, align 8 %224 = load i32, ptr %15, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds double, ptr %223, i64 %225 store double %222, ptr %226, align 8 br label %227 227: ; preds = %216, %209 br label %228 228: ; preds = %227 %229 = load i32, ptr %15, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %15, align 4 %231 = load i32, ptr %15, align 4 %232 = load i32, ptr %12, align 4 %233 = icmp slt i32 %231, %232 br i1 %233, label %209, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %228 br label %234 234: ; preds = %._crit_edge9, %205 %235 = load ptr, ptr %8, align 8 %236 = load ptr, ptr %9, align 8 %237 = load ptr, ptr %10, align 8 %238 = load ptr, ptr %11, align 8 %239 = load i32, ptr %12, align 4 %240 = load double, ptr %13, align 8 %241 = call i32 @eppInf(ptr noundef %235, ptr noundef %236, ptr noundef %237, ptr noundef %238, i32 noundef %239, double noundef %240, i32 noundef 0) %242 = load ptr, ptr %16, align 8 %243 = call i32 @free(ptr noundef %242) br label %481 244: ; preds = %190 %245 = load double, ptr %21, align 8 %246 = fsub double 1.000000e+00, %245 %247 = load double, ptr %22, align 8 %248 = fmul double %246, %247 %249 = load double, ptr %21, align 8 %250 = load double, ptr %22, align 8 %251 = fmul double %249, %250 %252 = load double, ptr %14, align 8 %253 = fsub double %252, 1.000000e+00 %254 = fptosi double %253 to i32 %255 = call double @pow(double noundef %251, i32 noundef %254) %256 = fdiv double %248, %255 store double %256, ptr %26, align 8 %257 = load double, ptr %21, align 8 %258 = fsub double 1.000000e+00, %257 %259 = load double, ptr %23, align 8 %260 = fmul double %258, %259 %261 = load double, ptr %21, align 8 %262 = load double, ptr %23, align 8 %263 = fmul double %261, %262 %264 = load double, ptr %14, align 8 %265 = fsub double %264, 1.000000e+00 %266 = fptosi double %265 to i32 %267 = call double @pow(double noundef %263, i32 noundef %266) %268 = fdiv double %260, %267 store double %268, ptr %27, align 8 br label %294 269: ; preds = %182 %270 = load double, ptr %21, align 8 %271 = fsub double 1.000000e+00, %270 %272 = load double, ptr %22, align 8 %273 = fmul double %271, %272 %274 = load double, ptr %21, align 8 %275 = load double, ptr %22, align 8 %276 = fmul double %274, %275 %277 = load double, ptr %14, align 8 %278 = fsub double %277, 1.000000e+00 %279 = fptosi double %278 to i32 %280 = call double @pow(double noundef %276, i32 noundef %279) %281 = fdiv double %273, %280 store double %281, ptr %27, align 8 %282 = load double, ptr %21, align 8 %283 = fsub double 1.000000e+00, %282 %284 = load double, ptr %23, align 8 %285 = fmul double %283, %284 %286 = load double, ptr %21, align 8 %287 = load double, ptr %23, align 8 %288 = fmul double %286, %287 %289 = load double, ptr %14, align 8 %290 = fsub double %289, 1.000000e+00 %291 = fptosi double %290 to i32 %292 = call double @pow(double noundef %288, i32 noundef %291) %293 = fdiv double %285, %292 store double %293, ptr %26, align 8 br label %294 294: ; preds = %269, %244 %295 = load double, ptr %26, align 8 %296 = load double, ptr %27, align 8 %297 = fsub double %295, %296 %298 = call i32 @fabs(double noundef %297) %299 = sitofp i32 %298 to double %300 = fcmp ole double %299, 1.000000e-08 br i1 %300, label %301, label %303 301: ; preds = %294 %302 = load double, ptr %26, align 8 store double %302, ptr %25, align 8 br label %308 303: ; preds = %294 %304 = load double, ptr %26, align 8 %305 = load double, ptr %27, align 8 %306 = fadd double %304, %305 %307 = fdiv double %306, 2.000000e+00 store double %307, ptr %25, align 8 br label %308 308: ; preds = %303, %301 store i32 0, ptr %17, align 4 br label %309 309: ; preds = %406, %308 %310 = load i32, ptr %17, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %17, align 4 store double 0.000000e+00, ptr %31, align 8 store i32 0, ptr %15, align 4 %312 = load i32, ptr %15, align 4 %313 = load i32, ptr %12, align 4 %314 = icmp slt i32 %312, %313 br i1 %314, label %.lr.ph2, label %358 .lr.ph2: ; preds = %309 br label %315 315: ; preds = %.lr.ph2, %352 %316 = load ptr, ptr %11, align 8 %317 = load i32, ptr %15, align 4 %318 = sext i32 %317 to i64 %319 = getelementptr inbounds double, ptr %316, i64 %318 %320 = load double, ptr %319, align 8 %321 = load double, ptr %14, align 8 %322 = load double, ptr %25, align 8 %323 = load ptr, ptr %8, align 8 %324 = load i32, ptr %15, align 4 %325 = sext i32 %324 to i64 %326 = getelementptr inbounds double, ptr %323, i64 %325 %327 = load double, ptr %326, align 8 %328 = call i32 @zerofind(ptr noundef %28, ptr noundef %18, double noundef %320, double noundef %321, double noundef %322, double noundef %327) %329 = load double, ptr %28, align 8 %330 = load ptr, ptr %8, align 8 %331 = load i32, ptr %15, align 4 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %330, i64 %332 %334 = load double, ptr %333, align 8 %335 = fsub double %329, %334 %336 = call i32 @fabs(double noundef %335) %337 = sitofp i32 %336 to double store double %337, ptr %32, align 8 %338 = load double, ptr %31, align 8 %339 = load double, ptr %32, align 8 %340 = fcmp olt double %338, %339 br i1 %340, label %341, label %343 341: ; preds = %315 %342 = load double, ptr %32, align 8 store double %342, ptr %31, align 8 br label %343 343: ; preds = %341, %315 %344 = load double, ptr %28, align 8 %345 = load ptr, ptr %8, align 8 %346 = load i32, ptr %15, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds double, ptr %345, i64 %347 store double %344, ptr %348, align 8 %349 = load i32, ptr %18, align 4 %350 = load i32, ptr %19, align 4 %351 = add nsw i32 %350, %349 store i32 %351, ptr %19, align 4 br label %352 352: ; preds = %343 %353 = load i32, ptr %15, align 4 %354 = add nsw i32 %353, 1 store i32 %354, ptr %15, align 4 %355 = load i32, ptr %15, align 4 %356 = load i32, ptr %12, align 4 %357 = icmp slt i32 %355, %356 br i1 %357, label %315, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %352 br label %358 358: ; preds = %._crit_edge3, %309 %359 = load ptr, ptr %8, align 8 %360 = load double, ptr %14, align 8 %361 = load i32, ptr %12, align 4 %362 = call double @norm(ptr noundef %359, double noundef %360, i32 noundef %361) store double %362, ptr %30, align 8 %363 = load double, ptr %13, align 8 %364 = load double, ptr %30, align 8 %365 = load double, ptr %14, align 8 %366 = fsub double 1.000000e+00, %365 %367 = fptosi double %366 to i32 %368 = call double @pow(double noundef %364, i32 noundef %367) %369 = load double, ptr %25, align 8 %370 = fneg double %369 %371 = call double @llvm.fmuladd.f64(double %363, double %368, double %370) store double %371, ptr %29, align 8 %372 = load double, ptr %29, align 8 %373 = call i32 @fabs(double noundef %372) %374 = sitofp i32 %373 to double %375 = fcmp ole double %374, 1.000000e-08 br i1 %375, label %383, label %376 376: ; preds = %358 %377 = load double, ptr %26, align 8 %378 = load double, ptr %27, align 8 %379 = fsub double %377, %378 %380 = call i32 @fabs(double noundef %379) %381 = sitofp i32 %380 to double %382 = fcmp ole double %381, 1.000000e-08 br i1 %382, label %383, label %384 383: ; preds = %376, %358 br label %431 384: ; preds = %376 %385 = load double, ptr %29, align 8 %386 = fcmp ogt double %385, 0.000000e+00 br i1 %386, label %387, label %396 387: ; preds = %384 %388 = load double, ptr %31, align 8 %389 = fcmp ole double %388, 1.000000e-08 br i1 %389, label %390, label %394 390: ; preds = %387 %391 = load i32, ptr %33, align 4 %392 = icmp eq i32 %391, 0 br i1 %392, label %393, label %394 393: ; preds = %390 br label %431 394: ; preds = %390, %387 %395 = load double, ptr %25, align 8 store double %395, ptr %26, align 8 store i32 1, ptr %33, align 4 br label %405 396: ; preds = %384 %397 = load double, ptr %31, align 8 %398 = fcmp ole double %397, 1.000000e-08 br i1 %398, label %399, label %403 399: ; preds = %396 %400 = load i32, ptr %33, align 4 %401 = icmp eq i32 %400, 1 br i1 %401, label %402, label %403 402: ; preds = %399 br label %431 403: ; preds = %399, %396 %404 = load double, ptr %25, align 8 store double %404, ptr %27, align 8 store i32 0, ptr %33, align 4 br label %405 405: ; preds = %403, %394 br label %406 406: ; preds = %405 %407 = load double, ptr %26, align 8 %408 = load double, ptr %27, align 8 %409 = fadd double %407, %408 %410 = fdiv double %409, 2.000000e+00 store double %410, ptr %25, align 8 %411 = load i32, ptr %17, align 4 %412 = icmp sge i32 %411, 1000 br i1 %412, label %413, label %309 413: ; preds = %406 %414 = load double, ptr %26, align 8 %415 = load double, ptr %27, align 8 %416 = fsub double %414, %415 %417 = call i32 @fabs(double noundef %416) %418 = sitofp i32 %417 to double %419 = load double, ptr %27, align 8 %420 = fmul double 1.000000e-08, %419 %421 = fcmp ole double %418, %420 br i1 %421, label %422, label %423 422: ; preds = %413 br label %431 423: ; preds = %413 %424 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1000) %425 = load double, ptr %26, align 8 %426 = load double, ptr %27, align 8 %427 = load double, ptr %31, align 8 %428 = load double, ptr %29, align 8 %429 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %425, double noundef %426, double noundef %427, double noundef %428) %430 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %481 431: ; preds = %422, %402, %393, %383 store i32 0, ptr %15, align 4 %432 = load i32, ptr %15, align 4 %433 = load i32, ptr %12, align 4 %434 = icmp slt i32 %432, %433 br i1 %434, label %.lr.ph5, label %470 .lr.ph5: ; preds = %431 br label %435 435: ; preds = %.lr.ph5, %464 %436 = load ptr, ptr %16, align 8 %437 = load i32, ptr %15, align 4 %438 = sext i32 %437 to i64 %439 = getelementptr inbounds i32, ptr %436, i64 %438 %440 = load i32, ptr %439, align 4 %441 = icmp ne i32 %440, 0 br i1 %441, label %442, label %463 442: ; preds = %435 %443 = load ptr, ptr %8, align 8 %444 = load i32, ptr %15, align 4 %445 = sext i32 %444 to i64 %446 = getelementptr inbounds double, ptr %443, i64 %445 %447 = load double, ptr %446, align 8 %448 = fneg double %447 %449 = load ptr, ptr %8, align 8 %450 = load i32, ptr %15, align 4 %451 = sext i32 %450 to i64 %452 = getelementptr inbounds double, ptr %449, i64 %451 store double %448, ptr %452, align 8 %453 = load ptr, ptr %11, align 8 %454 = load i32, ptr %15, align 4 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds double, ptr %453, i64 %455 %457 = load double, ptr %456, align 8 %458 = fneg double %457 %459 = load ptr, ptr %11, align 8 %460 = load i32, ptr %15, align 4 %461 = sext i32 %460 to i64 %462 = getelementptr inbounds double, ptr %459, i64 %461 store double %458, ptr %462, align 8 br label %463 463: ; preds = %442, %435 br label %464 464: ; preds = %463 %465 = load i32, ptr %15, align 4 %466 = add nsw i32 %465, 1 store i32 %466, ptr %15, align 4 %467 = load i32, ptr %15, align 4 %468 = load i32, ptr %12, align 4 %469 = icmp slt i32 %467, %468 br i1 %469, label %435, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %464 br label %470 470: ; preds = %._crit_edge6, %431 %471 = load ptr, ptr %16, align 8 %472 = call i32 @free(ptr noundef %471) %473 = load double, ptr %25, align 8 %474 = load ptr, ptr %9, align 8 store double %473, ptr %474, align 8 %475 = load i32, ptr %17, align 4 %476 = load ptr, ptr %10, align 8 %477 = getelementptr inbounds i32, ptr %476, i64 0 store i32 %475, ptr %477, align 4 %478 = load i32, ptr %19, align 4 %479 = load ptr, ptr %10, align 8 %480 = getelementptr inbounds i32, ptr %479, i64 1 store i32 %478, ptr %480, align 4 br label %481 481: ; preds = %470, %423, %234, %179 ret void } declare i64 @malloc(i32 noundef) #1 declare double @pow(double noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 declare i32 @eppInf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, i32 noundef) #1 declare i32 @fabs(double noundef) #1 declare i32 @zerofind(ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1 declare double @norm(ptr noundef, double noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpjx4ek7b7.c' source_filename = "/tmp/tmpjx4ek7b7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"days=\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"max number of days in cache: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMaxDaysInCache(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 2, ptr %3, align 4 %4 = call i64 @strlen(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 %4 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = icmp sgt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %10, %1 %14 = load i32, ptr %3, align 4 %15 = call i32 @slog(i32 noundef 2, ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @slog(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/tmpjx4ek7b7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"days=\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"max number of days in cache: %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getMaxDaysInCache(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 2, ptr %3, align 4 %4 = call i64 @strlen(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 %4 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = icmp sgt i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %10, %1 %14 = load i32, ptr %3, align 4 %15 = call i32 @slog(i32 noundef 2, ptr noundef @.str.1, i32 noundef %14) %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @slog(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/tmpt2mj4bym.c' source_filename = "/tmp/tmpt2mj4bym.c" target datalayout = "e-m:e-p270: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/tmpt2mj4bym.c" target datalayout = "e-m:e-p270: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/tmps4bzco9x.c' source_filename = "/tmp/tmps4bzco9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmp_set_shake_reject_time(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca [2 x i8], align 1 store i16 %0, ptr %2, align 2 %4 = load i16, ptr %2, align 2 %5 = zext i16 %4 to i32 %6 = sdiv i32 %5, 5 %7 = trunc i32 %6 to i16 store i16 %7, ptr %2, align 2 %8 = load i16, ptr %2, align 2 %9 = zext i16 %8 to i32 %10 = ashr i32 %9, 8 %11 = trunc i32 %10 to i8 %12 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0 store i8 %11, ptr %12, align 1 %13 = load i16, ptr %2, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 255 %16 = trunc i32 %15 to i8 %17 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1 store i8 %16, ptr %17, align 1 %18 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @mpu_write_mem(i32 noundef 346, i32 noundef 2, ptr noundef %18) ret i32 %19 } declare i32 @mpu_write_mem(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/tmps4bzco9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmp_set_shake_reject_time(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca [2 x i8], align 1 store i16 %0, ptr %2, align 2 %4 = load i16, ptr %2, align 2 %5 = zext i16 %4 to i32 %6 = sdiv i32 %5, 5 %7 = trunc i32 %6 to i16 store i16 %7, ptr %2, align 2 %8 = load i16, ptr %2, align 2 %9 = zext i16 %8 to i32 %10 = ashr i32 %9, 8 %11 = trunc i32 %10 to i8 %12 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0 store i8 %11, ptr %12, align 1 %13 = load i16, ptr %2, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 255 %16 = trunc i32 %15 to i8 %17 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 1 store i8 %16, ptr %17, align 1 %18 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @mpu_write_mem(i32 noundef 346, i32 noundef 2, ptr noundef %18) ret i32 %19 } declare i32 @mpu_write_mem(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/tmp848xe80p.c' source_filename = "/tmp/tmp848xe80p.c" target datalayout = "e-m:e-p270: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/tmp848xe80p.c" target datalayout = "e-m:e-p270: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/tmpf35uewdp.c' source_filename = "/tmp/tmpf35uewdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AHello World\0A\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf35uewdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AHello World\0A\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpprcw6in6.c' source_filename = "/tmp/tmpprcw6in6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_first(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @list_is_empty(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call ptr @list_begin(ptr noundef %9) store ptr %10, ptr %2, align 8 br label %11 11: ; preds = %8, %7 %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @list_is_empty(ptr noundef) #1 declare ptr @list_begin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpprcw6in6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_first(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @list_is_empty(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call ptr @list_begin(ptr noundef %9) store ptr %10, ptr %2, align 8 br label %11 11: ; preds = %8, %7 %12 = load ptr, ptr %2, align 8 ret ptr %12 } declare i64 @list_is_empty(ptr noundef) #1 declare ptr @list_begin(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmd4vz4qa.c' source_filename = "/tmp/tmpmd4vz4qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @pvr_init() %2 = load i32, ptr @stdin, align 4 %3 = call i32 @pvr2_render_load_scene(i32 noundef %2) %4 = call i32 (...) @pvr2_render_loaded_scene() %5 = call i32 (...) @asic_clear() %6 = call i32 @asic_wait(i32 noundef 5) %7 = call i32 (...) @asic_clear() %8 = call i32 @asic_wait(i32 noundef 5) %9 = call i32 (...) @asic_clear() %10 = call i32 @asic_wait(i32 noundef 5) ret i32 0 } declare i32 @pvr_init(...) #1 declare i32 @pvr2_render_load_scene(i32 noundef) #1 declare i32 @pvr2_render_loaded_scene(...) #1 declare i32 @asic_clear(...) #1 declare i32 @asic_wait(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/tmpmd4vz4qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @pvr_init() %2 = load i32, ptr @stdin, align 4 %3 = call i32 @pvr2_render_load_scene(i32 noundef %2) %4 = call i32 (...) @pvr2_render_loaded_scene() %5 = call i32 (...) @asic_clear() %6 = call i32 @asic_wait(i32 noundef 5) %7 = call i32 (...) @asic_clear() %8 = call i32 @asic_wait(i32 noundef 5) %9 = call i32 (...) @asic_clear() %10 = call i32 @asic_wait(i32 noundef 5) ret i32 0 } declare i32 @pvr_init(...) #1 declare i32 @pvr2_render_load_scene(i32 noundef) #1 declare i32 @pvr2_render_loaded_scene(...) #1 declare i32 @asic_clear(...) #1 declare i32 @asic_wait(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/tmpfaj5rp_g.c' source_filename = "/tmp/tmpfaj5rp_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfaj5rp_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq0oazoj2.c' source_filename = "/tmp/tmpq0oazoj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scan(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %6, align 8 br label %11 11: ; preds = %67, %2 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %15, label %70 15: ; preds = %11 %16 = load ptr, ptr %6, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 42 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %6, align 8 store i32 2, ptr %8, align 4 br label %23 23: ; preds = %20, %15 %24 = load ptr, ptr %6, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %26, %29 br i1 %30, label %36, label %31 31: ; preds = %23 %32 = load ptr, ptr %6, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 63 br i1 %35, label %36, label %44 36: ; preds = %31, %23 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 store ptr %40, ptr %7, align 8 br label %41 41: ; preds = %39, %36 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 store i32 1, ptr %8, align 4 br label %50 44: ; preds = %31 %45 = load i32, ptr %8, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = load ptr, ptr %4, align 8 store ptr %48, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %49 49: ; preds = %47, %44 br label %50 50: ; preds = %49, %41 %51 = load ptr, ptr %6, align 8 %52 = load i8, ptr %51, align 1 %53 = icmp ne i8 %52, 0 br i1 %53, label %67, label %54 54: ; preds = %50 br label %55 55: ; preds = %59, %54 %56 = load ptr, ptr %7, align 8 %57 = load ptr, ptr %5, align 8 %58 = icmp ule ptr %56, %57 br i1 %58, label %59, label %65 59: ; preds = %55 %60 = load ptr, ptr %7, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %7, align 8 %62 = load i8, ptr %60, align 1 %63 = sext i8 %62 to i32 %64 = call i32 @printf(ptr noundef @.str, i32 noundef %63) br label %55, !llvm.loop !6 65: ; preds = %55 %66 = load ptr, ptr %4, align 8 store ptr %66, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %67 67: ; preds = %65, %50 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %5, align 8 br label %11, !llvm.loop !8 70: ; preds = %11 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq0oazoj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @scan(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %.lr.ph2, label %74 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %68 %15 = load ptr, ptr %6, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 42 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %6, align 8 store i32 2, ptr %8, align 4 br label %22 22: ; preds = %19, %14 %23 = load ptr, ptr %6, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %25, %28 br i1 %29, label %35, label %30 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 63 br i1 %34, label %35, label %43 35: ; preds = %30, %22 %36 = load i32, ptr %8, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %40, label %38 38: ; preds = %35 %39 = load ptr, ptr %5, align 8 store ptr %39, ptr %7, align 8 br label %40 40: ; preds = %38, %35 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %6, align 8 store i32 1, ptr %8, align 4 br label %49 43: ; preds = %30 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %48 46: ; preds = %43 %47 = load ptr, ptr %4, align 8 store ptr %47, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %48 48: ; preds = %46, %43 br label %49 49: ; preds = %48, %40 %50 = load ptr, ptr %6, align 8 %51 = load i8, ptr %50, align 1 %52 = icmp ne i8 %51, 0 br i1 %52, label %68, label %53 53: ; preds = %49 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %5, align 8 %56 = icmp ule ptr %54, %55 br i1 %56, label %.lr.ph, label %66 .lr.ph: ; preds = %53 br label %57 57: ; preds = %.lr.ph, %57 %58 = load ptr, ptr %7, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %7, align 8 %60 = load i8, ptr %58, align 1 %61 = sext i8 %60 to i32 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %61) %63 = load ptr, ptr %7, align 8 %64 = load ptr, ptr %5, align 8 %65 = icmp ule ptr %63, %64 br i1 %65, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %66 66: ; preds = %._crit_edge, %53 %67 = load ptr, ptr %4, align 8 store ptr %67, ptr %6, align 8 store i32 0, ptr %8, align 4 br label %68 68: ; preds = %66, %49 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %5, align 8 %71 = load ptr, ptr %5, align 8 %72 = load i8, ptr %71, align 1 %73 = icmp ne i8 %72, 0 br i1 %73, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %2 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxdhrge0q.c' source_filename = "/tmp/tmpxdhrge0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdhrge0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpotkv4n_0.c' source_filename = "/tmp/tmpotkv4n_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pl_copy_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13, i32 noundef 0) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 -1, ptr %3, align 4 br label %68 18: ; preds = %2 %19 = load i32, ptr %7, align 4 %20 = call i64 @fstat(i32 noundef %19, ptr noundef %10) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %7, align 4 %24 = call i32 @close(i32 noundef %23) store i32 -1, ptr %3, align 4 br label %68 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr @O_CREAT, align 4 %28 = load i32, ptr @O_TRUNC, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @O_WRONLY, align 4 %31 = or i32 %29, %30 %32 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = and i32 %33, 511 %35 = call i32 @open(ptr noundef %26, i32 noundef %31, i32 noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %25 %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) store i32 -1, ptr %3, align 4 br label %68 41: ; preds = %25 br label %42 42: ; preds = %62, %41 %43 = load i32, ptr %7, align 4 %44 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %45 = call i32 @read(i32 noundef %43, ptr noundef %44, i32 noundef 512) store i32 %45, ptr %9, align 4 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %63 47: ; preds = %42 %48 = load i32, ptr %8, align 4 %49 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %50 = load i32, ptr %9, align 4 %51 = call i32 @write(i32 noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %11, align 4 %52 = load i32, ptr %11, align 4 %53 = load i32, ptr %9, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %62 55: ; preds = %47 %56 = load i32, ptr %8, align 4 %57 = call i32 @close(i32 noundef %56) %58 = load i32, ptr %7, align 4 %59 = call i32 @close(i32 noundef %58) %60 = load ptr, ptr %5, align 8 %61 = call i32 @unlink(ptr noundef %60) store i32 -1, ptr %3, align 4 br label %68 62: ; preds = %47 br label %42, !llvm.loop !6 63: ; preds = %42 %64 = load i32, ptr %8, align 4 %65 = call i32 @close(i32 noundef %64) %66 = load i32, ptr %7, align 4 %67 = call i32 @close(i32 noundef %66) store i32 0, ptr %3, align 4 br label %68 68: ; preds = %63, %55, %38, %22, %17 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpotkv4n_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pl_copy_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13, i32 noundef 0) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %2 store i32 -1, ptr %3, align 4 br label %70 18: ; preds = %2 %19 = load i32, ptr %7, align 4 %20 = call i64 @fstat(i32 noundef %19, ptr noundef %10) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load i32, ptr %7, align 4 %24 = call i32 @close(i32 noundef %23) store i32 -1, ptr %3, align 4 br label %70 25: ; preds = %18 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr @O_CREAT, align 4 %28 = load i32, ptr @O_TRUNC, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @O_WRONLY, align 4 %31 = or i32 %29, %30 %32 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = and i32 %33, 511 %35 = call i32 @open(ptr noundef %26, i32 noundef %31, i32 noundef %34) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %25 %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) store i32 -1, ptr %3, align 4 br label %70 41: ; preds = %25 %42 = load i32, ptr %7, align 4 %43 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %44 = call i32 @read(i32 noundef %42, ptr noundef %43, i32 noundef 512) store i32 %44, ptr %9, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %.lr.ph, label %65 .lr.ph: ; preds = %41 br label %50 46: ; preds = %50 %47 = load i32, ptr %7, align 4 %48 = call i32 @read(i32 noundef %47, ptr noundef %43, i32 noundef 512) store i32 %48, ptr %9, align 4 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %._crit_edge, !llvm.loop !6 50: ; preds = %.lr.ph, %46 %51 = load i32, ptr %8, align 4 %52 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %53 = load i32, ptr %9, align 4 %54 = call i32 @write(i32 noundef %51, ptr noundef %52, i32 noundef %53) store i32 %54, ptr %11, align 4 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %46 58: ; preds = %50 %59 = load i32, ptr %8, align 4 %60 = call i32 @close(i32 noundef %59) %61 = load i32, ptr %7, align 4 %62 = call i32 @close(i32 noundef %61) %63 = load ptr, ptr %5, align 8 %64 = call i32 @unlink(ptr noundef %63) store i32 -1, ptr %3, align 4 br label %70 ._crit_edge: ; preds = %46 br label %65 65: ; preds = %._crit_edge, %41 %66 = load i32, ptr %8, align 4 %67 = call i32 @close(i32 noundef %66) %68 = load i32, ptr %7, align 4 %69 = call i32 @close(i32 noundef %68) store i32 0, ptr %3, align 4 br label %70 70: ; preds = %65, %58, %38, %22, %17 %71 = load i32, ptr %3, align 4 ret i32 %71 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3_jbf8ul.c' source_filename = "/tmp/tmp3_jbf8ul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s%*.*f\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s %*.*f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ighmm_cvector_print_prec(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %18 = load i32, ptr %11, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %14, align 8 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %13, align 4 %25 = load ptr, ptr %10, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 %27 = load double, ptr %26, align 8 %28 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22, i32 noundef %23, i32 noundef %24, double noundef %27) br label %29 29: ; preds = %20, %8 store i32 1, ptr %17, align 4 br label %30 30: ; preds = %45, %29 %31 = load i32, ptr %17, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %48 34: ; preds = %30 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %15, align 8 %37 = load i32, ptr %12, align 4 %38 = load i32, ptr %13, align 4 %39 = load ptr, ptr %10, align 8 %40 = load i32, ptr %17, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.1, ptr noundef %36, i32 noundef %37, i32 noundef %38, double noundef %43) br label %45 45: ; preds = %34 %46 = load i32, ptr %17, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %17, align 4 br label %30, !llvm.loop !6 48: ; preds = %30 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %16, align 8 %51 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.2, ptr noundef %50) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3_jbf8ul.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%s%*.*f\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s %*.*f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ighmm_cvector_print_prec(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 %18 = load i32, ptr %11, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %8 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %14, align 8 %23 = load i32, ptr %12, align 4 %24 = load i32, ptr %13, align 4 %25 = load ptr, ptr %10, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 %27 = load double, ptr %26, align 8 %28 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str, ptr noundef %22, i32 noundef %23, i32 noundef %24, double noundef %27) br label %29 29: ; preds = %20, %8 store i32 1, ptr %17, align 4 %30 = load i32, ptr %17, align 4 %31 = load i32, ptr %11, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %50 .lr.ph: ; preds = %29 br label %33 33: ; preds = %.lr.ph, %44 %34 = load ptr, ptr %9, align 8 %35 = load ptr, ptr %15, align 8 %36 = load i32, ptr %12, align 4 %37 = load i32, ptr %13, align 4 %38 = load ptr, ptr %10, align 8 %39 = load i32, ptr %17, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.1, ptr noundef %35, i32 noundef %36, i32 noundef %37, double noundef %42) br label %44 44: ; preds = %33 %45 = load i32, ptr %17, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %17, align 4 %47 = load i32, ptr %17, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %29 %51 = load ptr, ptr %9, align 8 %52 = load ptr, ptr %16, align 8 %53 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.2, ptr noundef %52) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpht50yy00.c' source_filename = "/tmp/tmpht50yy00.c" target datalayout = "e-m:e-p270: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/tmpht50yy00.c" target datalayout = "e-m:e-p270: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/tmphmxzo8vc.c' source_filename = "/tmp/tmphmxzo8vc.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [10 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 9.000000e+00, double 1.000000e+01], align 16 @.str = private unnamed_addr constant [10 x i8] c"min: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x double], align 16 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 80, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %7 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 8 store i32 1, ptr %7, align 16 %8 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 9 store i32 1, ptr %8, align 4 store i32 5, ptr %3, align 4 store i32 2, ptr %4, align 4 store i32 2, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [10 x double], ptr %1, i64 0, i64 0 %11 = load i32, ptr %4, align 4 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = call double @stdlib_strided_dnanmskmin(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 %16 = call i32 @printf(ptr noundef @.str, double noundef %15) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare double @stdlib_strided_dnanmskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphmxzo8vc.c" target datalayout = "e-m:e-p270: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.x = private unnamed_addr constant [10 x double] [double 1.000000e+00, double 2.000000e+00, double 3.000000e+00, double 4.000000e+00, double 5.000000e+00, double 6.000000e+00, double 7.000000e+00, double 8.000000e+00, double 9.000000e+00, double 1.000000e+01], align 16 @.str = private unnamed_addr constant [10 x i8] c"min: %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [10 x double], align 16 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 80, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %7 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 8 store i32 1, ptr %7, align 16 %8 = getelementptr inbounds [10 x i32], ptr %2, i32 0, i32 9 store i32 1, ptr %8, align 4 store i32 5, ptr %3, align 4 store i32 2, ptr %4, align 4 store i32 2, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds [10 x double], ptr %1, i64 0, i64 0 %11 = load i32, ptr %4, align 4 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0 %13 = load i32, ptr %5, align 4 %14 = call double @stdlib_strided_dnanmskmin(i32 noundef %9, ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 %16 = call i32 @printf(ptr noundef @.str, double noundef %15) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare double @stdlib_strided_dnanmskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #3 declare i32 @printf(ptr noundef, double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprs3ezyk7.c' source_filename = "/tmp/tmprs3ezyk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [17 x i8], align 16 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %3 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %78, %16 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %81 21: ; preds = %17 %22 = load i32, ptr %7, align 4 %23 = srem i32 %22, 16 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %7, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %34 34: ; preds = %31, %21 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40) %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = icmp slt i32 %47, 32 br i1 %48, label %57, label %49 49: ; preds = %34 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = icmp sgt i32 %55, 126 br i1 %56, label %57, label %62 57: ; preds = %49, %34 %58 = load i32, ptr %7, align 4 %59 = srem i32 %58, 16 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %60 store i8 46, ptr %61, align 1 br label %72 62: ; preds = %49 %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = load i32, ptr %7, align 4 %69 = srem i32 %68, 16 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %70 store i8 %67, ptr %71, align 1 br label %72 72: ; preds = %62, %57 %73 = load i32, ptr %7, align 4 %74 = srem i32 %73, 16 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %72 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 br label %17, !llvm.loop !6 81: ; preds = %17 br label %82 82: ; preds = %86, %81 %83 = load i32, ptr %7, align 4 %84 = srem i32 %83, 16 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %90 86: ; preds = %82 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %7, align 4 br label %82, !llvm.loop !8 90: ; preds = %82 %91 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %91) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprs3ezyk7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexDump(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [17 x i8], align 16 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %3 store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %83 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %77 %21 = load i32, ptr %7, align 4 %22 = srem i32 %21, 16 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = load i32, ptr %7, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %24 %28 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28) br label %30 30: ; preds = %27, %24 %31 = load i32, ptr %7, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) br label %33 33: ; preds = %30, %20 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39) %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = icmp slt i32 %46, 32 br i1 %47, label %56, label %48 48: ; preds = %33 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = icmp sgt i32 %54, 126 br i1 %55, label %56, label %61 56: ; preds = %48, %33 %57 = load i32, ptr %7, align 4 %58 = srem i32 %57, 16 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %59 store i8 46, ptr %60, align 1 br label %71 61: ; preds = %48 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = load i32, ptr %7, align 4 %68 = srem i32 %67, 16 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %69 store i8 %66, ptr %70, align 1 br label %71 71: ; preds = %61, %56 %72 = load i32, ptr %7, align 4 %73 = srem i32 %72, 16 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %71 %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %7, align 4 %80 = load i32, ptr %7, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %83 83: ; preds = %._crit_edge, %16 %84 = load i32, ptr %7, align 4 %85 = srem i32 %84, 16 %86 = icmp ne i32 %85, 0 br i1 %86, label %.lr.ph2, label %94 .lr.ph2: ; preds = %83 br label %87 87: ; preds = %.lr.ph2, %87 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = load i32, ptr %7, align 4 %92 = srem i32 %91, 16 %93 = icmp ne i32 %92, 0 br i1 %93, label %87, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %94 94: ; preds = %._crit_edge3, %83 %95 = getelementptr inbounds [17 x i8], ptr %8, i64 0, i64 0 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %95) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp53ic36i7.c' source_filename = "/tmp/tmp53ic36i7.c" target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inet6_rth_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 %13 = load i32, ptr %8, align 4 switch i32 %13, label %45 [ i32 128, label %14 ] 14: ; preds = %4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %9, align 4 %19 = icmp sgt i32 %18, 127 br i1 %19, label %20, label %21 20: ; preds = %17, %14 br label %45 21: ; preds = %17 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 4, %24 %26 = trunc i64 %25 to i32 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %21 br label %45 31: ; preds = %21 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %11, align 4 %34 = call i32 @memset(ptr noundef %32, i8 noundef signext 0, i32 noundef %33) %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 4 %38 = udiv i64 %37, 8 %39 = trunc i64 %38 to i32 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds %struct.ip6_rthdr, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds %struct.ip6_rthdr, ptr %42, i32 0, i32 1 store i32 128, ptr %43, align 4 %44 = load ptr, ptr %6, align 8 store ptr %44, ptr %5, align 8 br label %46 45: ; preds = %4, %30, %20 store ptr null, ptr %5, align 8 br label %46 46: ; preds = %45, %31 %47 = load ptr, ptr %5, align 8 ret ptr %47 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp53ic36i7.c" target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @inet6_rth_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 %13 = load i32, ptr %8, align 4 switch i32 %13, label %45 [ i32 128, label %14 ] 14: ; preds = %4 %15 = load i32, ptr %9, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %9, align 4 %19 = icmp sgt i32 %18, 127 br i1 %19, label %20, label %21 20: ; preds = %17, %14 br label %45 21: ; preds = %17 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 %23, 4 %25 = add i64 4, %24 %26 = trunc i64 %25 to i32 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sgt i32 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %21 br label %45 31: ; preds = %21 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %11, align 4 %34 = call i32 @memset(ptr noundef %32, i8 noundef signext 0, i32 noundef %33) %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = mul i64 %36, 4 %38 = udiv i64 %37, 8 %39 = trunc i64 %38 to i32 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds %struct.ip6_rthdr, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds %struct.ip6_rthdr, ptr %42, i32 0, i32 1 store i32 128, ptr %43, align 4 %44 = load ptr, ptr %6, align 8 store ptr %44, ptr %5, align 8 br label %46 45: ; preds = %30, %20, %4 store ptr null, ptr %5, align 8 br label %46 46: ; preds = %45, %31 %47 = load ptr, ptr %5, align 8 ret ptr %47 } declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwaujp0z.c' source_filename = "/tmp/tmpwwaujp0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MIN = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @atom_int(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [64 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds i8, ptr %6, i64 64 store ptr %7, ptr %4, align 8 %8 = load i64, ptr @LONG_MIN, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i64, ptr @LONG_MAX, align 8 %13 = add i64 %12, 1 store i64 %13, ptr %5, align 8 br label %23 14: ; preds = %1 %15 = load i64, ptr %2, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i64, ptr %2, align 8 %19 = sub nsw i64 0, %18 store i64 %19, ptr %5, align 8 br label %22 20: ; preds = %14 %21 = load i64, ptr %2, align 8 store i64 %21, ptr %5, align 8 br label %22 22: ; preds = %20, %17 br label %23 23: ; preds = %22, %11 br label %24 24: ; preds = %31, %23 %25 = load i64, ptr %5, align 8 %26 = urem i64 %25, 10 %27 = add i64 %26, 48 %28 = trunc i64 %27 to i8 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %4, align 8 store i8 %28, ptr %30, align 1 br label %31 31: ; preds = %24 %32 = load i64, ptr %5, align 8 %33 = udiv i64 %32, 10 store i64 %33, ptr %5, align 8 %34 = icmp ugt i64 %33, 0 br i1 %34, label %24, label %35, !llvm.loop !6 35: ; preds = %31 %36 = load i64, ptr %2, align 8 %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %4, align 8 store i8 45, ptr %40, align 1 br label %41 41: ; preds = %38, %35 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 64 %45 = load ptr, ptr %4, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = call ptr @atom_new(ptr noundef %42, i32 noundef %49) ret ptr %50 } declare ptr @atom_new(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/tmpwwaujp0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MIN = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @atom_int(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [64 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %6 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %7 = getelementptr inbounds i8, ptr %6, i64 64 store ptr %7, ptr %4, align 8 %8 = load i64, ptr @LONG_MIN, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load i64, ptr @LONG_MAX, align 8 %13 = add i64 %12, 1 store i64 %13, ptr %5, align 8 br label %23 14: ; preds = %1 %15 = load i64, ptr %2, align 8 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i64, ptr %2, align 8 %19 = sub nsw i64 0, %18 store i64 %19, ptr %5, align 8 br label %22 20: ; preds = %14 %21 = load i64, ptr %2, align 8 store i64 %21, ptr %5, align 8 br label %22 22: ; preds = %20, %17 br label %23 23: ; preds = %22, %11 br label %24 24: ; preds = %31, %23 %25 = load i64, ptr %5, align 8 %26 = urem i64 %25, 10 %27 = add i64 %26, 48 %28 = trunc i64 %27 to i8 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %4, align 8 store i8 %28, ptr %30, align 1 br label %31 31: ; preds = %24 %32 = load i64, ptr %5, align 8 %33 = udiv i64 %32, 10 store i64 %33, ptr %5, align 8 %34 = icmp ugt i64 %33, 0 br i1 %34, label %24, label %35, !llvm.loop !6 35: ; preds = %31 %36 = load i64, ptr %2, align 8 %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %4, align 8 store i8 45, ptr %40, align 1 br label %41 41: ; preds = %38, %35 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 64 %45 = load ptr, ptr %4, align 8 %46 = ptrtoint ptr %44 to i64 %47 = ptrtoint ptr %45 to i64 %48 = sub i64 %46, %47 %49 = trunc i64 %48 to i32 %50 = call ptr @atom_new(ptr noundef %42, i32 noundef %49) ret ptr %50 } declare ptr @atom_new(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/tmp9nrv0_m2.c' source_filename = "/tmp/tmp9nrv0_m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_lst(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9nrv0_m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_lst(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxp8ly578.c' source_filename = "/tmp/tmpxp8ly578.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snmp_enable_syslog() #0 { %1 = call i32 (...) @snmp_disable_syslog() ret void } declare i32 @snmp_disable_syslog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxp8ly578.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snmp_enable_syslog() #0 { %1 = call i32 (...) @snmp_disable_syslog() ret void } declare i32 @snmp_disable_syslog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprt6ev25b.c' source_filename = "/tmp/tmprt6ev25b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s |\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_buf(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp sgt i64 %8, 0 br i1 %9, label %10, label %28 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) store i64 0, ptr %7, align 8 br label %13 13: ; preds = %23, %10 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %6, align 8 %16 = icmp slt i64 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %18, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i32 @putchar(i8 noundef signext %21) br label %23 23: ; preds = %17 %24 = load i64, ptr %7, align 8 %25 = add nsw i64 %24, 1 store i64 %25, ptr %7, align 8 br label %13, !llvm.loop !6 26: ; preds = %13 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %28 28: ; preds = %26, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprt6ev25b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s |\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_buf(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load i64, ptr %6, align 8 %9 = icmp sgt i64 %8, 0 br i1 %9, label %10, label %30 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) store i64 0, ptr %7, align 8 %13 = load i64, ptr %7, align 8 %14 = load i64, ptr %6, align 8 %15 = icmp slt i64 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %10 br label %16 16: ; preds = %.lr.ph, %22 %17 = load ptr, ptr %5, align 8 %18 = load i64, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @putchar(i8 noundef signext %20) br label %22 22: ; preds = %16 %23 = load i64, ptr %7, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %7, align 8 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = icmp slt i64 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %10 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %30 30: ; preds = %28, %3 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0ekphhe_.c' source_filename = "/tmp/tmp0ekphhe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sinpi(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ocml_sinpi_f64(double noundef %3) ret double %4 } declare double @__ocml_sinpi_f64(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ekphhe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sinpi(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ocml_sinpi_f64(double noundef %3) ret double %4 } declare double @__ocml_sinpi_f64(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl22plmxv.c' source_filename = "/tmp/tmpl22plmxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"data length n=? (must be 2^m)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cdft err= %g \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"rdft err= %g \0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"ddct err= %g \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"ddst err= %g \0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"dfct err= %g \0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"dfst err= %g \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 [66 x i32], align 16 %4 = alloca [8193 x double], align 16 %5 = alloca [10240 x double], align 16 %6 = alloca [4097 x double], align 16 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 %13 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %14 = call i32 @putdata(i32 noundef 0, i32 noundef %12, ptr noundef %13) %15 = load i32, ptr %2, align 4 %16 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %17 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %18 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %19 = call i32 @cdft(i32 noundef %15, i32 noundef 1, ptr noundef %16, ptr noundef %17, ptr noundef %18) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %22 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %24 = call i32 @cdft(i32 noundef %20, i32 noundef -1, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 %25, 1 %27 = load i32, ptr %2, align 4 %28 = sitofp i32 %27 to double %29 = fdiv double 2.000000e+00, %28 %30 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %31 = call double @errorcheck(i32 noundef 0, i32 noundef %26, double noundef %29, ptr noundef %30) store double %31, ptr %7, align 8 %32 = load double, ptr %7, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %32) %34 = load i32, ptr %2, align 4 %35 = sub nsw i32 %34, 1 %36 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %37 = call i32 @putdata(i32 noundef 0, i32 noundef %35, ptr noundef %36) %38 = load i32, ptr %2, align 4 %39 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %40 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %41 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %42 = call i32 @rdft(i32 noundef %38, i32 noundef 1, ptr noundef %39, ptr noundef %40, ptr noundef %41) %43 = load i32, ptr %2, align 4 %44 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %45 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %46 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %47 = call i32 @rdft(i32 noundef %43, i32 noundef -1, ptr noundef %44, ptr noundef %45, ptr noundef %46) %48 = load i32, ptr %2, align 4 %49 = sub nsw i32 %48, 1 %50 = load i32, ptr %2, align 4 %51 = sitofp i32 %50 to double %52 = fdiv double 2.000000e+00, %51 %53 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %54 = call double @errorcheck(i32 noundef 0, i32 noundef %49, double noundef %52, ptr noundef %53) store double %54, ptr %7, align 8 %55 = load double, ptr %7, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %55) %57 = load i32, ptr %2, align 4 %58 = sub nsw i32 %57, 1 %59 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %60 = call i32 @putdata(i32 noundef 0, i32 noundef %58, ptr noundef %59) %61 = load i32, ptr %2, align 4 %62 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %64 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %65 = call i32 @ddct(i32 noundef %61, i32 noundef 1, ptr noundef %62, ptr noundef %63, ptr noundef %64) %66 = load i32, ptr %2, align 4 %67 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %68 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %69 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %70 = call i32 @ddct(i32 noundef %66, i32 noundef -1, ptr noundef %67, ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %72 = load double, ptr %71, align 16 %73 = fmul double %72, 5.000000e-01 store double %73, ptr %71, align 16 %74 = load i32, ptr %2, align 4 %75 = sub nsw i32 %74, 1 %76 = load i32, ptr %2, align 4 %77 = sitofp i32 %76 to double %78 = fdiv double 2.000000e+00, %77 %79 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %80 = call double @errorcheck(i32 noundef 0, i32 noundef %75, double noundef %78, ptr noundef %79) store double %80, ptr %7, align 8 %81 = load double, ptr %7, align 8 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %81) %83 = load i32, ptr %2, align 4 %84 = sub nsw i32 %83, 1 %85 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %86 = call i32 @putdata(i32 noundef 0, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %2, align 4 %88 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %89 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %90 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %91 = call i32 @ddst(i32 noundef %87, i32 noundef 1, ptr noundef %88, ptr noundef %89, ptr noundef %90) %92 = load i32, ptr %2, align 4 %93 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %94 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %95 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %96 = call i32 @ddst(i32 noundef %92, i32 noundef -1, ptr noundef %93, ptr noundef %94, ptr noundef %95) %97 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %98 = load double, ptr %97, align 16 %99 = fmul double %98, 5.000000e-01 store double %99, ptr %97, align 16 %100 = load i32, ptr %2, align 4 %101 = sub nsw i32 %100, 1 %102 = load i32, ptr %2, align 4 %103 = sitofp i32 %102 to double %104 = fdiv double 2.000000e+00, %103 %105 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %106 = call double @errorcheck(i32 noundef 0, i32 noundef %101, double noundef %104, ptr noundef %105) store double %106, ptr %7, align 8 %107 = load double, ptr %7, align 8 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %107) %109 = load i32, ptr %2, align 4 %110 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %111 = call i32 @putdata(i32 noundef 0, i32 noundef %109, ptr noundef %110) %112 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %113 = load double, ptr %112, align 16 %114 = fmul double %113, 5.000000e-01 store double %114, ptr %112, align 16 %115 = load i32, ptr %2, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 %116 %118 = load double, ptr %117, align 8 %119 = fmul double %118, 5.000000e-01 store double %119, ptr %117, align 8 %120 = load i32, ptr %2, align 4 %121 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %122 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %123 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %124 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %125 = call i32 @dfct(i32 noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %124) %126 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %127 = load double, ptr %126, align 16 %128 = fmul double %127, 5.000000e-01 store double %128, ptr %126, align 16 %129 = load i32, ptr %2, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 %130 %132 = load double, ptr %131, align 8 %133 = fmul double %132, 5.000000e-01 store double %133, ptr %131, align 8 %134 = load i32, ptr %2, align 4 %135 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %136 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %137 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %138 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %139 = call i32 @dfct(i32 noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138) %140 = load i32, ptr %2, align 4 %141 = load i32, ptr %2, align 4 %142 = sitofp i32 %141 to double %143 = fdiv double 2.000000e+00, %142 %144 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %145 = call double @errorcheck(i32 noundef 0, i32 noundef %140, double noundef %143, ptr noundef %144) store double %145, ptr %7, align 8 %146 = load double, ptr %7, align 8 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %146) %148 = load i32, ptr %2, align 4 %149 = sub nsw i32 %148, 1 %150 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %151 = call i32 @putdata(i32 noundef 1, i32 noundef %149, ptr noundef %150) %152 = load i32, ptr %2, align 4 %153 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %154 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %155 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %156 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %157 = call i32 @dfst(i32 noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, ptr noundef %156) %158 = load i32, ptr %2, align 4 %159 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %160 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %161 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %162 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %163 = call i32 @dfst(i32 noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162) %164 = load i32, ptr %2, align 4 %165 = sub nsw i32 %164, 1 %166 = load i32, ptr %2, align 4 %167 = sitofp i32 %166 to double %168 = fdiv double 2.000000e+00, %167 %169 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %170 = call double @errorcheck(i32 noundef 1, i32 noundef %165, double noundef %168, ptr noundef %169) store double %170, ptr %7, align 8 %171 = load double, ptr %7, align 8 %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %171) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @putdata(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @cdft(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @errorcheck(i32 noundef, i32 noundef, double noundef, ptr noundef) #1 declare i32 @rdft(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ddct(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ddst(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @dfct(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @dfst(i32 noundef, 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/tmpl22plmxv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"data length n=? (must be 2^m)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"cdft err= %g \0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"rdft err= %g \0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"ddct err= %g \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"ddst err= %g \0A\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"dfct err= %g \0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"dfst err= %g \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 [66 x i32], align 16 %4 = alloca [8193 x double], align 16 %5 = alloca [10240 x double], align 16 %6 = alloca [4097 x double], align 16 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %10 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 store i32 0, ptr %10, align 16 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 %13 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %14 = call i32 @putdata(i32 noundef 0, i32 noundef %12, ptr noundef %13) %15 = load i32, ptr %2, align 4 %16 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %17 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %18 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %19 = call i32 @cdft(i32 noundef %15, i32 noundef 1, ptr noundef %16, ptr noundef %17, ptr noundef %18) %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %22 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %24 = call i32 @cdft(i32 noundef %20, i32 noundef -1, ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 %25, 1 %27 = load i32, ptr %2, align 4 %28 = sitofp i32 %27 to double %29 = fdiv double 2.000000e+00, %28 %30 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %31 = call double @errorcheck(i32 noundef 0, i32 noundef %26, double noundef %29, ptr noundef %30) store double %31, ptr %7, align 8 %32 = load double, ptr %7, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %32) %34 = load i32, ptr %2, align 4 %35 = sub nsw i32 %34, 1 %36 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %37 = call i32 @putdata(i32 noundef 0, i32 noundef %35, ptr noundef %36) %38 = load i32, ptr %2, align 4 %39 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %40 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %41 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %42 = call i32 @rdft(i32 noundef %38, i32 noundef 1, ptr noundef %39, ptr noundef %40, ptr noundef %41) %43 = load i32, ptr %2, align 4 %44 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %45 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %46 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %47 = call i32 @rdft(i32 noundef %43, i32 noundef -1, ptr noundef %44, ptr noundef %45, ptr noundef %46) %48 = load i32, ptr %2, align 4 %49 = sub nsw i32 %48, 1 %50 = load i32, ptr %2, align 4 %51 = sitofp i32 %50 to double %52 = fdiv double 2.000000e+00, %51 %53 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %54 = call double @errorcheck(i32 noundef 0, i32 noundef %49, double noundef %52, ptr noundef %53) store double %54, ptr %7, align 8 %55 = load double, ptr %7, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %55) %57 = load i32, ptr %2, align 4 %58 = sub nsw i32 %57, 1 %59 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %60 = call i32 @putdata(i32 noundef 0, i32 noundef %58, ptr noundef %59) %61 = load i32, ptr %2, align 4 %62 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %63 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %64 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %65 = call i32 @ddct(i32 noundef %61, i32 noundef 1, ptr noundef %62, ptr noundef %63, ptr noundef %64) %66 = load i32, ptr %2, align 4 %67 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %68 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %69 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %70 = call i32 @ddct(i32 noundef %66, i32 noundef -1, ptr noundef %67, ptr noundef %68, ptr noundef %69) %71 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %72 = load double, ptr %71, align 16 %73 = fmul double %72, 5.000000e-01 store double %73, ptr %71, align 16 %74 = load i32, ptr %2, align 4 %75 = sub nsw i32 %74, 1 %76 = load i32, ptr %2, align 4 %77 = sitofp i32 %76 to double %78 = fdiv double 2.000000e+00, %77 %79 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %80 = call double @errorcheck(i32 noundef 0, i32 noundef %75, double noundef %78, ptr noundef %79) store double %80, ptr %7, align 8 %81 = load double, ptr %7, align 8 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %81) %83 = load i32, ptr %2, align 4 %84 = sub nsw i32 %83, 1 %85 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %86 = call i32 @putdata(i32 noundef 0, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %2, align 4 %88 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %89 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %90 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %91 = call i32 @ddst(i32 noundef %87, i32 noundef 1, ptr noundef %88, ptr noundef %89, ptr noundef %90) %92 = load i32, ptr %2, align 4 %93 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %94 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %95 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %96 = call i32 @ddst(i32 noundef %92, i32 noundef -1, ptr noundef %93, ptr noundef %94, ptr noundef %95) %97 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %98 = load double, ptr %97, align 16 %99 = fmul double %98, 5.000000e-01 store double %99, ptr %97, align 16 %100 = load i32, ptr %2, align 4 %101 = sub nsw i32 %100, 1 %102 = load i32, ptr %2, align 4 %103 = sitofp i32 %102 to double %104 = fdiv double 2.000000e+00, %103 %105 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %106 = call double @errorcheck(i32 noundef 0, i32 noundef %101, double noundef %104, ptr noundef %105) store double %106, ptr %7, align 8 %107 = load double, ptr %7, align 8 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %107) %109 = load i32, ptr %2, align 4 %110 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %111 = call i32 @putdata(i32 noundef 0, i32 noundef %109, ptr noundef %110) %112 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %113 = load double, ptr %112, align 16 %114 = fmul double %113, 5.000000e-01 store double %114, ptr %112, align 16 %115 = load i32, ptr %2, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 %116 %118 = load double, ptr %117, align 8 %119 = fmul double %118, 5.000000e-01 store double %119, ptr %117, align 8 %120 = load i32, ptr %2, align 4 %121 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %122 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %123 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %124 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %125 = call i32 @dfct(i32 noundef %120, ptr noundef %121, ptr noundef %122, ptr noundef %123, ptr noundef %124) %126 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %127 = load double, ptr %126, align 16 %128 = fmul double %127, 5.000000e-01 store double %128, ptr %126, align 16 %129 = load i32, ptr %2, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 %130 %132 = load double, ptr %131, align 8 %133 = fmul double %132, 5.000000e-01 store double %133, ptr %131, align 8 %134 = load i32, ptr %2, align 4 %135 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %136 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %137 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %138 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %139 = call i32 @dfct(i32 noundef %134, ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138) %140 = load i32, ptr %2, align 4 %141 = load i32, ptr %2, align 4 %142 = sitofp i32 %141 to double %143 = fdiv double 2.000000e+00, %142 %144 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %145 = call double @errorcheck(i32 noundef 0, i32 noundef %140, double noundef %143, ptr noundef %144) store double %145, ptr %7, align 8 %146 = load double, ptr %7, align 8 %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %146) %148 = load i32, ptr %2, align 4 %149 = sub nsw i32 %148, 1 %150 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %151 = call i32 @putdata(i32 noundef 1, i32 noundef %149, ptr noundef %150) %152 = load i32, ptr %2, align 4 %153 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %154 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %155 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %156 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %157 = call i32 @dfst(i32 noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, ptr noundef %156) %158 = load i32, ptr %2, align 4 %159 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %160 = getelementptr inbounds [4097 x double], ptr %6, i64 0, i64 0 %161 = getelementptr inbounds [66 x i32], ptr %3, i64 0, i64 0 %162 = getelementptr inbounds [10240 x double], ptr %5, i64 0, i64 0 %163 = call i32 @dfst(i32 noundef %158, ptr noundef %159, ptr noundef %160, ptr noundef %161, ptr noundef %162) %164 = load i32, ptr %2, align 4 %165 = sub nsw i32 %164, 1 %166 = load i32, ptr %2, align 4 %167 = sitofp i32 %166 to double %168 = fdiv double 2.000000e+00, %167 %169 = getelementptr inbounds [8193 x double], ptr %4, i64 0, i64 0 %170 = call double @errorcheck(i32 noundef 1, i32 noundef %165, double noundef %168, ptr noundef %169) store double %170, ptr %7, align 8 %171 = load double, ptr %7, align 8 %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %171) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @putdata(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @cdft(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @errorcheck(i32 noundef, i32 noundef, double noundef, ptr noundef) #1 declare i32 @rdft(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ddct(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @ddst(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @dfct(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @dfst(i32 noundef, 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/tmpl206u88l.c' source_filename = "/tmp/tmpl206u88l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl206u88l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}