llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp4drawd32.c' source_filename = "/tmp/tmp4drawd32.c" target datalayout = "e-m:e-p270: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/tmp4drawd32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp_imbm0_.c' source_filename = "/tmp/tmpp_imbm0_.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, float, i32 } @main.long_options = internal global [4 x %struct.option] [%struct.option { ptr @.str, i32 1, float 0.000000e+00, i32 102 }, %struct.option { ptr @.str.1, i32 1, float 0.000000e+00, i32 115 }, %struct.option { ptr @.str.2, i32 1, float 0.000000e+00, i32 110 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [9 x i8] c"hw-fctrl\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"sig-fwd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"node\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f:s:n:\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"ERROR: no node name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 -1, ptr %6, align 1 store i8 -1, ptr %7, align 1 store ptr null, ptr %8, align 8 br label %13 13: ; preds = %2, %43 store i32 -1, ptr %9, align 4 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @getopt_long(i32 noundef %14, ptr noundef %15, ptr noundef @.str.3, ptr noundef @main.long_options, ptr noundef %9) store i32 %16, ptr %12, align 4 %17 = load i32, ptr %12, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %13 br label %44 20: ; preds = %13 %21 = load i32, ptr %12, align 4 switch i32 %21, label %43 [ i32 102, label %22 i32 115, label %31 i32 110, label %40 ] 22: ; preds = %20 %23 = load i32, ptr @optarg, align 4 %24 = call i32 @strtoul(i32 noundef %23, ptr noundef %10, i32 noundef 0) %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %22 br label %27 27: ; preds = %26, %22 %28 = phi i1 [ false, %22 ], [ true, %26 ] %29 = zext i1 %28 to i32 %30 = trunc i32 %29 to i8 store i8 %30, ptr %6, align 1 br label %43 31: ; preds = %20 %32 = load i32, ptr @optarg, align 4 %33 = call i32 @strtoul(i32 noundef %32, ptr noundef %10, i32 noundef 0) %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %31 br label %36 36: ; preds = %35, %31 %37 = phi i1 [ false, %31 ], [ true, %35 ] %38 = zext i1 %37 to i32 %39 = trunc i32 %38 to i8 store i8 %39, ptr %7, align 1 br label %43 40: ; preds = %20 %41 = load i32, ptr @optarg, align 4 %42 = call ptr @strdup(i32 noundef %41) store ptr %42, ptr %8, align 8 br label %43 43: ; preds = %20, %40, %36, %27 br label %13 44: ; preds = %19 %45 = load ptr, ptr %8, align 8 %46 = icmp eq ptr %45, null br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %65 49: ; preds = %44 %50 = load i8, ptr %6, align 1 %51 = sext i8 %50 to i32 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %60 53: ; preds = %49 %54 = load i8, ptr %7, align 1 %55 = sext i8 %54 to i32 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %53 %58 = load ptr, ptr %8, align 8 %59 = call i32 @show_node(ptr noundef %58) store i32 0, ptr %3, align 4 br label %65 60: ; preds = %53, %49 %61 = load ptr, ptr %8, align 8 %62 = load i8, ptr %6, align 1 %63 = load i8, ptr %7, align 1 %64 = call i32 @setup_node(ptr noundef %61, i8 noundef signext %62, i8 noundef signext %63) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %60, %57, %47 %66 = load i32, ptr %3, align 4 ret i32 %66 } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @show_node(ptr noundef) #1 declare i32 @setup_node(ptr noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp_imbm0_.c" target datalayout = "e-m:e-p270: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.option = type { ptr, i32, float, i32 } @main.long_options = internal global [4 x %struct.option] [%struct.option { ptr @.str, i32 1, float 0.000000e+00, i32 102 }, %struct.option { ptr @.str.1, i32 1, float 0.000000e+00, i32 115 }, %struct.option { ptr @.str.2, i32 1, float 0.000000e+00, i32 110 }, %struct.option zeroinitializer], align 16 @.str = private unnamed_addr constant [9 x i8] c"hw-fctrl\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"sig-fwd\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"node\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f:s:n:\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"ERROR: no node name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i8 -1, ptr %6, align 1 store i8 -1, ptr %7, align 1 store ptr null, ptr %8, align 8 store i32 -1, ptr %9, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt_long(i32 noundef %13, ptr noundef %14, ptr noundef @.str.3, ptr noundef @main.long_options, ptr noundef %9) store i32 %15, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %.lr.ph .lr.ph: ; preds = %2 br label %19 ._crit_edge: ; preds = %42 br label %18 18: ; preds = %._crit_edge, %2 br label %48 19: ; preds = %.lr.ph, %42 %20 = load i32, ptr %12, align 4 switch i32 %20, label %42 [ i32 102, label %21 i32 115, label %30 i32 110, label %39 ] 21: ; preds = %19 %22 = load i32, ptr @optarg, align 4 %23 = call i32 @strtoul(i32 noundef %22, ptr noundef %10, i32 noundef 0) %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %21 br label %26 26: ; preds = %25, %21 %27 = phi i1 [ false, %21 ], [ true, %25 ] %28 = zext i1 %27 to i32 %29 = trunc i32 %28 to i8 store i8 %29, ptr %6, align 1 br label %42 30: ; preds = %19 %31 = load i32, ptr @optarg, align 4 %32 = call i32 @strtoul(i32 noundef %31, ptr noundef %10, i32 noundef 0) %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %30 br label %35 35: ; preds = %34, %30 %36 = phi i1 [ false, %30 ], [ true, %34 ] %37 = zext i1 %36 to i32 %38 = trunc i32 %37 to i8 store i8 %38, ptr %7, align 1 br label %42 39: ; preds = %19 %40 = load i32, ptr @optarg, align 4 %41 = call ptr @strdup(i32 noundef %40) store ptr %41, ptr %8, align 8 br label %42 42: ; preds = %39, %35, %26, %19 store i32 -1, ptr %9, align 4 %43 = load i32, ptr %4, align 4 %44 = load ptr, ptr %5, align 8 %45 = call i32 @getopt_long(i32 noundef %43, ptr noundef %44, ptr noundef @.str.3, ptr noundef @main.long_options, ptr noundef %9) store i32 %45, ptr %12, align 4 %46 = load i32, ptr %12, align 4 %47 = icmp eq i32 %46, -1 br i1 %47, label %._crit_edge, label %19 48: ; preds = %18 %49 = load ptr, ptr %8, align 8 %50 = icmp eq ptr %49, null br i1 %50, label %51, label %53 51: ; preds = %48 %52 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %69 53: ; preds = %48 %54 = load i8, ptr %6, align 1 %55 = sext i8 %54 to i32 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %64 57: ; preds = %53 %58 = load i8, ptr %7, align 1 %59 = sext i8 %58 to i32 %60 = icmp slt i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %57 %62 = load ptr, ptr %8, align 8 %63 = call i32 @show_node(ptr noundef %62) store i32 0, ptr %3, align 4 br label %69 64: ; preds = %57, %53 %65 = load ptr, ptr %8, align 8 %66 = load i8, ptr %6, align 1 %67 = load i8, ptr %7, align 1 %68 = call i32 @setup_node(ptr noundef %65, i8 noundef signext %66, i8 noundef signext %67) store i32 0, ptr %3, align 4 br label %69 69: ; preds = %64, %61, %51 %70 = load i32, ptr %3, align 4 ret i32 %70 } declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strtoul(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @strdup(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @show_node(ptr noundef) #1 declare i32 @setup_node(ptr noundef, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzzjn0ait.c' source_filename = "/tmp/tmpzzjn0ait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 2 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @bs_strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 store i8 64, ptr %23, align 1 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load ptr, ptr %4, align 8 %31 = call i32 @bs_strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @bs_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/tmpzzjn0ait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cat(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 2 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @bs_strcpy(ptr noundef %16, ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %3, align 8 %21 = call i32 @strlen(ptr noundef %20) %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 store i8 64, ptr %23, align 1 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 1 %30 = load ptr, ptr %4, align 8 %31 = call i32 @bs_strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %6, align 8 ret ptr %32 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @bs_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/tmptjv5jpbn.c' source_filename = "/tmp/tmptjv5jpbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @distance_to_line_ratio(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %9, align 8 %19 = load double, ptr %10, align 8 %20 = load double, ptr %11, align 8 %21 = load double, ptr %12, align 8 %22 = load double, ptr %13, align 8 %23 = load ptr, ptr %14, align 8 %24 = call double @distance_to_line_ratio_xing(double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22, ptr noundef %15, ptr noundef %16, ptr noundef %23) ret double %24 } declare double @distance_to_line_ratio_xing(double noundef, double noundef, double noundef, double noundef, double noundef, double 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/tmptjv5jpbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @distance_to_line_ratio(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store double %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %9, align 8 %19 = load double, ptr %10, align 8 %20 = load double, ptr %11, align 8 %21 = load double, ptr %12, align 8 %22 = load double, ptr %13, align 8 %23 = load ptr, ptr %14, align 8 %24 = call double @distance_to_line_ratio_xing(double noundef %17, double noundef %18, double noundef %19, double noundef %20, double noundef %21, double noundef %22, ptr noundef %15, ptr noundef %16, ptr noundef %23) ret double %24 } declare double @distance_to_line_ratio_xing(double noundef, double noundef, double noundef, double noundef, double noundef, double 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/tmpphz7wxk0.c' source_filename = "/tmp/tmpphz7wxk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vie\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_search_flags_validator(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %7, align 8 %10 = load i8, ptr %8, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 45 br i1 %12, label %13, label %25 13: ; preds = %3 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %25 18: ; preds = %13 %19 = load ptr, ptr %7, align 8 %20 = call i64 @strspn(ptr noundef %19, ptr noundef @.str) %21 = load ptr, ptr %7, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %25 24: ; preds = %18 store i32 0, ptr %4, align 4 br label %26 25: ; preds = %18, %13, %3 store i32 -1, ptr %4, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i64 @strspn(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpphz7wxk0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vie\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cli_search_flags_validator(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %7, align 8 %10 = load i8, ptr %8, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 45 br i1 %12, label %13, label %25 13: ; preds = %3 %14 = load ptr, ptr %7, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %25 18: ; preds = %13 %19 = load ptr, ptr %7, align 8 %20 = call i64 @strspn(ptr noundef %19, ptr noundef @.str) %21 = load ptr, ptr %7, align 8 %22 = call i64 @strlen(ptr noundef %21) %23 = icmp eq i64 %20, %22 br i1 %23, label %24, label %25 24: ; preds = %18 store i32 0, ptr %4, align 4 br label %26 25: ; preds = %18, %13, %3 store i32 -1, ptr %4, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i64 @strspn(ptr noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgpwz_yk5.c' source_filename = "/tmp/tmpgpwz_yk5.c" target datalayout = "e-m:e-p270: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_FILENO = 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/tmpgpwz_yk5.c" target datalayout = "e-m:e-p270: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_FILENO = 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/tmpc2gl0awg.c' source_filename = "/tmp/tmpc2gl0awg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_des_char(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fputc(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @fputc(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/tmpc2gl0awg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @put_des_char(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @fputc(i32 noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @fputc(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/tmppn0tz97g.c' source_filename = "/tmp/tmppn0tz97g.c" target datalayout = "e-m:e-p270: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/tmppn0tz97g.c" target datalayout = "e-m:e-p270: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/tmpvywx72to.c' source_filename = "/tmp/tmpvywx72to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trunc_saturate_u_i32_f64(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 i32 @__builtin_wasm_trunc_saturate_u_i32_f64(double noundef %3) ret i32 %4 } declare i32 @__builtin_wasm_trunc_saturate_u_i32_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/tmpvywx72to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trunc_saturate_u_i32_f64(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 i32 @__builtin_wasm_trunc_saturate_u_i32_f64(double noundef %3) ret i32 %4 } declare i32 @__builtin_wasm_trunc_saturate_u_i32_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/tmpaehrasut.c' source_filename = "/tmp/tmpaehrasut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%Lf\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Case %d: %0.2Lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca x86_fp80, i64 %9, align 16 store i64 %9, ptr %5, align 8 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %21, %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = load i32, ptr %2, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds x86_fp80, ptr %11, i64 %18 %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %16 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 br label %12, !llvm.loop !6 24: ; preds = %12 store i32 0, ptr %2, align 4 br label %25 25: ; preds = %44, %24 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %47 29: ; preds = %25 %30 = load i32, ptr %2, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds x86_fp80, ptr %11, i64 %31 %33 = load x86_fp80, ptr %32, align 16 %34 = fmul x86_fp80 0xK40018000000000000000, %33 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds x86_fp80, ptr %11, i64 %36 %38 = load x86_fp80, ptr %37, align 16 %39 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %34, x86_fp80 %38, x86_fp80 0xK3FFD8000000000000000) store x86_fp80 %39, ptr %6, align 16 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, 1 %42 = load x86_fp80, ptr %6, align 16 %43 = call i32 @printf(ptr noundef @.str.2, i32 noundef %41, x86_fp80 noundef %42) br label %44 44: ; preds = %29 %45 = load i32, ptr %2, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %2, align 4 br label %25, !llvm.loop !8 47: ; preds = %25 store i32 0, ptr %1, align 4 %48 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %48) %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #3 declare i32 @printf(ptr noundef, i32 noundef, x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn } 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/tmpaehrasut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%Lf\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Case %d: %0.2Lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca x86_fp80, align 16 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call ptr @llvm.stacksave() store ptr %10, ptr %4, align 8 %11 = alloca x86_fp80, i64 %9, align 16 store i64 %9, ptr %5, align 8 store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %20 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds x86_fp80, ptr %11, i64 %17 %19 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %51 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %45 %31 = load i32, ptr %2, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds x86_fp80, ptr %11, i64 %32 %34 = load x86_fp80, ptr %33, align 16 %35 = fmul x86_fp80 0xK40018000000000000000, %34 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds x86_fp80, ptr %11, i64 %37 %39 = load x86_fp80, ptr %38, align 16 %40 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %39, x86_fp80 0xK3FFD8000000000000000) store x86_fp80 %40, ptr %6, align 16 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 %43 = load x86_fp80, ptr %6, align 16 %44 = call i32 @printf(ptr noundef @.str.2, i32 noundef %42, x86_fp80 noundef %43) br label %45 45: ; preds = %30 %46 = load i32, ptr %2, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %2, align 4 %48 = load i32, ptr %2, align 4 %49 = load i32, ptr %3, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %26 store i32 0, ptr %1, align 4 %52 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %52) %53 = load i32, ptr %1, align 4 ret i32 %53 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #3 declare i32 @printf(ptr noundef, i32 noundef, x86_fp80 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 willreturn } 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/tmpv0ucx0nj.c' source_filename = "/tmp/tmpv0ucx0nj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Empty input test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"One element test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Two elements test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Negative numbers test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Duplicate numbers test failed!\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_empty_input() %3 = icmp ne i32 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %0 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %8 8: ; preds = %4, %0 %9 = call i32 (...) @test_one_element() %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %8 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %15 15: ; preds = %11, %8 %16 = call i32 (...) @test_two_elements() %17 = icmp ne i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %22 22: ; preds = %18, %15 %23 = call i32 (...) @test_negative_numbers() %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %22 %26 = load i32, ptr %1, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %25, %22 %30 = call i32 (...) @test_duplicate_numbers() %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %29 %33 = load i32, ptr %1, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %1, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %36 36: ; preds = %32, %29 %37 = load i32, ptr %1, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37) ret void } declare i32 @test_empty_input(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_one_element(...) #1 declare i32 @test_two_elements(...) #1 declare i32 @test_negative_numbers(...) #1 declare i32 @test_duplicate_numbers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv0ucx0nj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Empty input test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"One element test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Two elements test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Negative numbers test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Duplicate numbers test failed!\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"%d tests failed.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_empty_input() %3 = icmp ne i32 %2, 0 br i1 %3, label %8, label %4 4: ; preds = %0 %5 = load i32, ptr %1, align 4 %6 = add nsw i32 %5, 1 store i32 %6, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %8 8: ; preds = %4, %0 %9 = call i32 (...) @test_one_element() %10 = icmp ne i32 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %8 %12 = load i32, ptr %1, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %1, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %15 15: ; preds = %11, %8 %16 = call i32 (...) @test_two_elements() %17 = icmp ne i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %22 22: ; preds = %18, %15 %23 = call i32 (...) @test_negative_numbers() %24 = icmp ne i32 %23, 0 br i1 %24, label %29, label %25 25: ; preds = %22 %26 = load i32, ptr %1, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %25, %22 %30 = call i32 (...) @test_duplicate_numbers() %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %29 %33 = load i32, ptr %1, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %1, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %36 36: ; preds = %32, %29 %37 = load i32, ptr %1, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37) ret void } declare i32 @test_empty_input(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_one_element(...) #1 declare i32 @test_two_elements(...) #1 declare i32 @test_negative_numbers(...) #1 declare i32 @test_duplicate_numbers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp69t0nnky.c' source_filename = "/tmp/tmp69t0nnky.c" target datalayout = "e-m:e-p270: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/tmp69t0nnky.c" target datalayout = "e-m:e-p270: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/tmpa8d1o37b.c' source_filename = "/tmp/tmpa8d1o37b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"/* automatically generated by configure */\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"static unsigned char %s[] = {\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"0x%02lx,\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"};\0A#define %sLen %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bin2hex(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @open(ptr noundef %13, i32 noundef 0) store i32 %14, ptr %8, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %57 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %12, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) br label %24 24: ; preds = %16, %40 %25 = load i32, ptr %8, align 4 %26 = call i32 @read(i32 noundef %25, ptr noundef %10, i32 noundef 1) store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %24 br label %48 30: ; preds = %24 %31 = load i32, ptr %11, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %30 %34 = load i32, ptr %11, align 4 %35 = srem i32 %34, 10 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %33 %38 = load ptr, ptr %12, align 8 %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.3) br label %40 40: ; preds = %37, %33, %30 %41 = load ptr, ptr %12, align 8 %42 = load i8, ptr %10, align 1 %43 = sext i8 %42 to i64 %44 = and i64 %43, 255 %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.4, i64 noundef %44) %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %11, align 4 br label %24 48: ; preds = %29 %49 = load ptr, ptr %12, align 8 %50 = load ptr, ptr %7, align 8 %51 = load i32, ptr %11, align 4 %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.5, ptr noundef %50, i32 noundef %51) %53 = load ptr, ptr %12, align 8 %54 = call i32 @fclose(ptr noundef %53) %55 = load i32, ptr %8, align 4 %56 = call i32 @close(i32 noundef %55) store i32 1, ptr %4, align 4 br label %58 57: ; preds = %3 store i32 0, ptr %4, align 4 br label %58 58: ; preds = %57, %48 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa8d1o37b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"/* automatically generated by configure */\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"static unsigned char %s[] = {\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"0x%02lx,\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"};\0A#define %sLen %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bin2hex(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @open(ptr noundef %13, i32 noundef 0) store i32 %14, ptr %8, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %60 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %12, align 8 %19 = load ptr, ptr %12, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1) %21 = load ptr, ptr %12, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) %24 = load i32, ptr %8, align 4 %25 = call i32 @read(i32 noundef %24, ptr noundef %10, i32 noundef 1) store i32 %25, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %.lr.ph .lr.ph: ; preds = %16 br label %29 ._crit_edge: ; preds = %39 br label %28 28: ; preds = %._crit_edge, %16 br label %51 29: ; preds = %.lr.ph, %39 %30 = load i32, ptr %11, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %39 32: ; preds = %29 %33 = load i32, ptr %11, align 4 %34 = srem i32 %33, 10 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load ptr, ptr %12, align 8 %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str.3) br label %39 39: ; preds = %36, %32, %29 %40 = load ptr, ptr %12, align 8 %41 = load i8, ptr %10, align 1 %42 = sext i8 %41 to i64 %43 = and i64 %42, 255 %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef @.str.4, i64 noundef %43) %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %11, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 @read(i32 noundef %47, ptr noundef %10, i32 noundef 1) store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %._crit_edge, label %29 51: ; preds = %28 %52 = load ptr, ptr %12, align 8 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %11, align 4 %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.5, ptr noundef %53, i32 noundef %54) %56 = load ptr, ptr %12, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = load i32, ptr %8, align 4 %59 = call i32 @close(i32 noundef %58) store i32 1, ptr %4, align 4 br label %61 60: ; preds = %3 store i32 0, ptr %4, align 4 br label %61 61: ; preds = %60, %51 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqmgbw1w7.c' source_filename = "/tmp/tmpqmgbw1w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [190 x i8] c"$$ASSERT_BEGIN|/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/plinnie/thingspector/refs/heads/master/test/test1/inspect/tests/test_helloworld.c|49\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"$$ASSERT_END|OK\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c"$$ASSERT_END|Expected helloWorldAgain() to return \22%s\22 but was \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @case_helloWorldAgain() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call ptr (...) @helloWorldAgain() %3 = call i64 @strcmp(ptr noundef %2, ptr noundef @.str.1) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @puts(ptr noundef @.str.2) br label %10 7: ; preds = %0 %8 = call ptr (...) @helloWorldAgain() %9 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.1, ptr noundef %8) br label %10 10: ; preds = %7, %5 ret void } declare i32 @puts(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @helloWorldAgain(...) #1 declare i32 @printf(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/tmpqmgbw1w7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [190 x i8] c"$$ASSERT_BEGIN|/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/plinnie/thingspector/refs/heads/master/test/test1/inspect/tests/test_helloworld.c|49\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"$$ASSERT_END|OK\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c"$$ASSERT_END|Expected helloWorldAgain() to return \22%s\22 but was \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @case_helloWorldAgain() #0 { %1 = call i32 @puts(ptr noundef @.str) %2 = call ptr (...) @helloWorldAgain() %3 = call i64 @strcmp(ptr noundef %2, ptr noundef @.str.1) %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @puts(ptr noundef @.str.2) br label %10 7: ; preds = %0 %8 = call ptr (...) @helloWorldAgain() %9 = call i32 @printf(ptr noundef @.str.3, ptr noundef @.str.1, ptr noundef %8) br label %10 10: ; preds = %7, %5 ret void } declare i32 @puts(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @helloWorldAgain(...) #1 declare i32 @printf(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/tmpxd1wwbf3.c' source_filename = "/tmp/tmpxd1wwbf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epoll_wait(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @epoll_pwait(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef null) ret i32 %13 } declare i32 @epoll_pwait(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxd1wwbf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @epoll_wait(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @epoll_pwait(i32 noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef null) ret i32 %13 } declare i32 @epoll_pwait(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptgpi7_d_.c' source_filename = "/tmp/tmptgpi7_d_.c" target datalayout = "e-m:e-p270: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/tmptgpi7_d_.c" target datalayout = "e-m:e-p270: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/tmpvexr_qsv.c' source_filename = "/tmp/tmpvexr_qsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } %struct.timeval = type { i64, i64 } @.str = private unnamed_addr constant [154 x i8] c"triad driver needs at least 3 arguments, cpu_init, cpu_run, cache_level, [call count multiplier def = 1], [offset a, offset_b, offset_c defaults = 0] \0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" argc = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"bad arguments\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"i:r:l:m:a:b:c\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"unknown option %c\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"failed to set affinity\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [47 x i8] c" process pinned to core %d for initialization\0A\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"len = %d, buf_szie = %zd, iter = %d, mult = %d\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [42 x i8] c" process pinned to core %d for triad run\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c" calling matrix_mult %d times with dimension len = %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [61 x i8] c" total %zd flops %d took %zd cycles/call and a total of %zd\0A\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c" run time = %zd\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c" gettimeofday_run time = %zd\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"frequency = %zd\0A\00", align 1 @.str.14 = private unnamed_addr constant [27 x i8] c" average flops/cycle = %f\0A\00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c" best flops/cycle = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca [4 x i32], align 16 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i64, align 8 %42 = alloca i64, align 8 %43 = alloca i64, align 8 %44 = alloca i64, align 8 %45 = alloca i64, align 8 %46 = alloca %struct.timespec, align 4 %47 = alloca %struct.timespec, align 4 %48 = alloca i64, align 8 %49 = alloca %struct.timeval, align 8 %50 = alloca %struct.timeval, align 8 %51 = alloca i32, align 4 %52 = alloca i32, align 4 %53 = alloca i64, align 8 %54 = alloca i64, align 8 %55 = alloca i32, align 4 %56 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 1.000000e-02, ptr %8, align 8 store double -1.000000e+00, ptr %11, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 0, ptr %20, align 4 store i32 1, ptr %21, align 4 store i32 1, ptr %22, align 4 store i32 0, ptr %30, align 4 store i64 0, ptr %39, align 8 store i64 0, ptr %41, align 8 store i64 0, ptr %42, align 8 store i64 0, ptr %48, align 8 store i32 -1, ptr %52, align 4 store i32 0, ptr %55, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %57, 3 br i1 %58, label %59, label %65 59: ; preds = %2 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str) %61 = load i32, ptr %3, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61) %63 = call i32 (...) @usage() %64 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.2) br label %65 65: ; preds = %59, %2 store i32 2048, ptr %24, align 4 br label %66 66: ; preds = %85, %65 %67 = load i32, ptr %3, align 4 %68 = load ptr, ptr %4, align 8 %69 = call i32 @getopt(i32 noundef %67, ptr noundef %68, ptr noundef @.str.3) store i32 %69, ptr %23, align 4 %70 = icmp ne i32 %69, -1 br i1 %70, label %71, label %86 71: ; preds = %66 %72 = load i32, ptr %23, align 4 switch i32 %72, label %82 [ i32 105, label %73 i32 114, label %76 i32 109, label %79 ] 73: ; preds = %71 %74 = load i32, ptr @optarg, align 4 %75 = call i32 @atoi(i32 noundef %74) store i32 %75, ptr %27, align 4 br label %85 76: ; preds = %71 %77 = load i32, ptr @optarg, align 4 %78 = call i32 @atoi(i32 noundef %77) store i32 %78, ptr %28, align 4 br label %85 79: ; preds = %71 %80 = load i32, ptr @optarg, align 4 %81 = call i32 @atoi(i32 noundef %80) store i32 %81, ptr %21, align 4 br label %85 82: ; preds = %71 %83 = load i32, ptr %23, align 4 %84 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, i32 noundef %83) br label %85 85: ; preds = %82, %79, %76, %73 br label %66, !llvm.loop !6 86: ; preds = %66 %87 = load i32, ptr %22, align 4 %88 = load i32, ptr %21, align 4 %89 = mul nsw i32 %87, %88 store i32 %89, ptr %22, align 4 %90 = load i32, ptr %30, align 4 %91 = load i32, ptr %27, align 4 %92 = call i32 @pin_cpu(i32 noundef %90, i32 noundef %91) %93 = icmp eq i32 %92, -1 br i1 %93, label %94, label %96 94: ; preds = %86 %95 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %100 96: ; preds = %86 %97 = load i32, ptr @stderr, align 4 %98 = load i32, ptr %27, align 4 %99 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %97, ptr noundef @.str.6, i32 noundef %98) br label %100 100: ; preds = %96, %94 %101 = load i32, ptr %24, align 4 %102 = add nsw i32 %101, 8 %103 = load i32, ptr %24, align 4 %104 = add nsw i32 %103, 8 %105 = mul nsw i32 %102, %104 %106 = mul nsw i32 %105, 8 %107 = sext i32 %106 to i64 store i64 %107, ptr %56, align 8 %108 = load i32, ptr @stderr, align 4 %109 = load i32, ptr %24, align 4 %110 = load i64, ptr %56, align 8 %111 = load i32, ptr %22, align 4 %112 = load i32, ptr %21, align 4 %113 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %108, ptr noundef @.str.7, i32 noundef %109, i64 noundef %110, i32 noundef %111, i32 noundef %112) %114 = load i64, ptr %56, align 8 %115 = load i32, ptr @PROT_READ, align 4 %116 = load i32, ptr @PROT_WRITE, align 4 %117 = or i32 %115, %116 %118 = load i32, ptr @MAP_PRIVATE, align 4 %119 = load i32, ptr @MAP_ANON, align 4 %120 = or i32 %118, %119 %121 = load i32, ptr %52, align 4 %122 = load i32, ptr %55, align 4 %123 = call i64 @mmap(ptr noundef null, i64 noundef %114, i32 noundef %117, i32 noundef %120, i32 noundef %121, i32 noundef %122) %124 = inttoptr i64 %123 to ptr store ptr %124, ptr %12, align 8 %125 = load i64, ptr %56, align 8 %126 = load i32, ptr @PROT_READ, align 4 %127 = load i32, ptr @PROT_WRITE, align 4 %128 = or i32 %126, %127 %129 = load i32, ptr @MAP_PRIVATE, align 4 %130 = load i32, ptr @MAP_ANON, align 4 %131 = or i32 %129, %130 %132 = load i32, ptr %52, align 4 %133 = load i32, ptr %55, align 4 %134 = call i64 @mmap(ptr noundef null, i64 noundef %125, i32 noundef %128, i32 noundef %131, i32 noundef %132, i32 noundef %133) %135 = inttoptr i64 %134 to ptr store ptr %135, ptr %13, align 8 %136 = load i64, ptr %56, align 8 %137 = load i32, ptr @PROT_READ, align 4 %138 = load i32, ptr @PROT_WRITE, align 4 %139 = or i32 %137, %138 %140 = load i32, ptr @MAP_PRIVATE, align 4 %141 = load i32, ptr @MAP_ANON, align 4 %142 = or i32 %140, %141 %143 = load i32, ptr %52, align 4 %144 = load i32, ptr %55, align 4 %145 = call i64 @mmap(ptr noundef null, i64 noundef %136, i32 noundef %139, i32 noundef %142, i32 noundef %143, i32 noundef %144) %146 = inttoptr i64 %145 to ptr store ptr %146, ptr %14, align 8 %147 = load ptr, ptr %12, align 8 store ptr %147, ptr %5, align 8 %148 = load ptr, ptr %13, align 8 store ptr %148, ptr %6, align 8 %149 = load ptr, ptr %14, align 8 store ptr %149, ptr %7, align 8 store i32 0, ptr %15, align 4 br label %150 150: ; preds = %188, %100 %151 = load i32, ptr %15, align 4 %152 = load i32, ptr %24, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %154, label %191 154: ; preds = %150 store i32 0, ptr %17, align 4 br label %155 155: ; preds = %184, %154 %156 = load i32, ptr %17, align 4 %157 = load i32, ptr %24, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %159, label %187 159: ; preds = %155 %160 = load ptr, ptr %5, align 8 %161 = load i32, ptr %15, align 4 %162 = load i32, ptr %24, align 4 %163 = mul nsw i32 %161, %162 %164 = load i32, ptr %17, align 4 %165 = add nsw i32 %163, %164 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds double, ptr %160, i64 %166 store double 0.000000e+00, ptr %167, align 8 %168 = load ptr, ptr %6, align 8 %169 = load i32, ptr %15, align 4 %170 = load i32, ptr %24, align 4 %171 = mul nsw i32 %169, %170 %172 = load i32, ptr %17, align 4 %173 = add nsw i32 %171, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds double, ptr %168, i64 %174 store double 1.100000e+00, ptr %175, align 8 %176 = load ptr, ptr %7, align 8 %177 = load i32, ptr %15, align 4 %178 = load i32, ptr %24, align 4 %179 = mul nsw i32 %177, %178 %180 = load i32, ptr %17, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds double, ptr %176, i64 %182 store double 1.100000e+00, ptr %183, align 8 br label %184 184: ; preds = %159 %185 = load i32, ptr %17, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %17, align 4 br label %155, !llvm.loop !8 187: ; preds = %155 br label %188 188: ; preds = %187 %189 = load i32, ptr %15, align 4 %190 = add nsw i32 %189, 1 store i32 %190, ptr %15, align 4 br label %150, !llvm.loop !9 191: ; preds = %150 %192 = load i32, ptr %30, align 4 %193 = load i32, ptr %28, align 4 %194 = call i32 @pin_cpu(i32 noundef %192, i32 noundef %193) %195 = icmp eq i32 %194, -1 br i1 %195, label %196, label %198 196: ; preds = %191 %197 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %202 198: ; preds = %191 %199 = load i32, ptr @stderr, align 4 %200 = load i32, ptr %28, align 4 %201 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %199, ptr noundef @.str.8, i32 noundef %200) br label %202 202: ; preds = %198, %196 %203 = load i32, ptr %22, align 4 %204 = load i32, ptr %24, align 4 %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %203, i32 noundef %204) %206 = call i32 @gettimeofday(ptr noundef %49, ptr noundef null) store i32 %206, ptr %51, align 4 %207 = call i64 (...) @_rdtsc() store i64 %207, ptr %36, align 8 store i32 0, ptr %15, align 4 br label %208 208: ; preds = %239, %202 %209 = load i32, ptr %15, align 4 %210 = load i32, ptr %22, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %242 212: ; preds = %208 %213 = call i64 (...) @_rdtsc() store i64 %213, ptr %33, align 8 %214 = load i32, ptr %24, align 4 %215 = load ptr, ptr %5, align 8 %216 = load ptr, ptr %6, align 8 %217 = load ptr, ptr %7, align 8 %218 = call i64 @matrix_mult(i32 noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217) store i64 %218, ptr %40, align 8 %219 = call i64 (...) @_rdtsc() store i64 %219, ptr %34, align 8 %220 = load i64, ptr %34, align 8 %221 = load i64, ptr %33, align 8 %222 = sub i64 %220, %221 store i64 %222, ptr %35, align 8 %223 = load double, ptr %8, align 8 %224 = fadd double %223, 1.000000e-02 store double %224, ptr %8, align 8 %225 = load i64, ptr %40, align 8 %226 = load i64, ptr %39, align 8 %227 = add i64 %226, %225 store i64 %227, ptr %39, align 8 %228 = load i64, ptr %40, align 8 %229 = uitofp i64 %228 to double %230 = load i64, ptr %35, align 8 %231 = uitofp i64 %230 to double %232 = fdiv double %229, %231 store double %232, ptr %9, align 8 %233 = load double, ptr %9, align 8 %234 = load double, ptr %11, align 8 %235 = fcmp ogt double %233, %234 br i1 %235, label %236, label %238 236: ; preds = %212 %237 = load double, ptr %9, align 8 store double %237, ptr %11, align 8 br label %238 238: ; preds = %236, %212 br label %239 239: ; preds = %238 %240 = load i32, ptr %15, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %15, align 4 br label %208, !llvm.loop !10 242: ; preds = %208 %243 = call i64 (...) @_rdtsc() store i64 %243, ptr %37, align 8 %244 = call i64 (...) @_loc_freq() store i64 %244, ptr %54, align 8 %245 = call i32 @gettimeofday(ptr noundef %50, ptr noundef null) store i32 %245, ptr %51, align 4 %246 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1 %247 = load i64, ptr %246, align 8 %248 = getelementptr inbounds %struct.timeval, ptr %49, i32 0, i32 1 %249 = load i64, ptr %248, align 8 %250 = sub nsw i64 %247, %249 %251 = mul i64 %250, 1000000 store i64 %251, ptr %53, align 8 %252 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 0 %253 = load i64, ptr %252, align 8 %254 = getelementptr inbounds %struct.timeval, ptr %49, i32 0, i32 0 %255 = load i64, ptr %254, align 8 %256 = sub nsw i64 %253, %255 %257 = load i64, ptr %53, align 8 %258 = add i64 %257, %256 store i64 %258, ptr %53, align 8 %259 = load i64, ptr %37, align 8 %260 = load i64, ptr %36, align 8 %261 = sub i64 %259, %260 store i64 %261, ptr %38, align 8 %262 = load i64, ptr %39, align 8 %263 = uitofp i64 %262 to double %264 = load i64, ptr %38, align 8 %265 = uitofp i64 %264 to double %266 = fdiv double %263, %265 store double %266, ptr %10, align 8 %267 = load i64, ptr %39, align 8 %268 = load i32, ptr %25, align 4 %269 = load i64, ptr %35, align 8 %270 = load i64, ptr %38, align 8 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %267, i32 noundef %268, i64 noundef %269, i64 noundef %270) %272 = load i64, ptr %38, align 8 %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %272) %274 = load i64, ptr %53, align 8 %275 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %274) %276 = load i64, ptr %54, align 8 %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %276) %278 = load double, ptr %10, align 8 %279 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %278) %280 = load double, ptr %11, align 8 %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %280) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @usage(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @pin_cpu(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i64 @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @_rdtsc(...) #1 declare i64 @matrix_mult(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @_loc_freq(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvexr_qsv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } %struct.timeval = type { i64, i64 } @.str = private unnamed_addr constant [154 x i8] c"triad driver needs at least 3 arguments, cpu_init, cpu_run, cache_level, [call count multiplier def = 1], [offset a, offset_b, offset_c defaults = 0] \0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" argc = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"bad arguments\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"i:r:l:m:a:b:c\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"unknown option %c\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"failed to set affinity\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [47 x i8] c" process pinned to core %d for initialization\0A\00", align 1 @.str.7 = private unnamed_addr constant [48 x i8] c"len = %d, buf_szie = %zd, iter = %d, mult = %d\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [42 x i8] c" process pinned to core %d for triad run\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c" calling matrix_mult %d times with dimension len = %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [61 x i8] c" total %zd flops %d took %zd cycles/call and a total of %zd\0A\00", align 1 @.str.11 = private unnamed_addr constant [17 x i8] c" run time = %zd\0A\00", align 1 @.str.12 = private unnamed_addr constant [30 x i8] c" gettimeofday_run time = %zd\0A\00", align 1 @.str.13 = private unnamed_addr constant [17 x i8] c"frequency = %zd\0A\00", align 1 @.str.14 = private unnamed_addr constant [27 x i8] c" average flops/cycle = %f\0A\00", align 1 @.str.15 = private unnamed_addr constant [24 x i8] c" best flops/cycle = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca i32, align 4 %26 = alloca [4 x i32], align 16 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca i32, align 4 %31 = alloca i32, align 4 %32 = alloca i32, align 4 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i64, align 8 %42 = alloca i64, align 8 %43 = alloca i64, align 8 %44 = alloca i64, align 8 %45 = alloca i64, align 8 %46 = alloca %struct.timespec, align 4 %47 = alloca %struct.timespec, align 4 %48 = alloca i64, align 8 %49 = alloca %struct.timeval, align 8 %50 = alloca %struct.timeval, align 8 %51 = alloca i32, align 4 %52 = alloca i32, align 4 %53 = alloca i64, align 8 %54 = alloca i64, align 8 %55 = alloca i32, align 4 %56 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store double 1.000000e-02, ptr %8, align 8 store double -1.000000e+00, ptr %11, align 8 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 0, ptr %20, align 4 store i32 1, ptr %21, align 4 store i32 1, ptr %22, align 4 store i32 0, ptr %30, align 4 store i64 0, ptr %39, align 8 store i64 0, ptr %41, align 8 store i64 0, ptr %42, align 8 store i64 0, ptr %48, align 8 store i32 -1, ptr %52, align 4 store i32 0, ptr %55, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %57, 3 br i1 %58, label %59, label %65 59: ; preds = %2 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str) %61 = load i32, ptr %3, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61) %63 = call i32 (...) @usage() %64 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.2) br label %65 65: ; preds = %59, %2 store i32 2048, ptr %24, align 4 %66 = load i32, ptr %3, align 4 %67 = load ptr, ptr %4, align 8 %68 = call i32 @getopt(i32 noundef %66, ptr noundef %67, ptr noundef @.str.3) store i32 %68, ptr %23, align 4 %69 = icmp ne i32 %68, -1 br i1 %69, label %.lr.ph, label %89 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %84 %71 = load i32, ptr %23, align 4 switch i32 %71, label %81 [ i32 105, label %72 i32 114, label %75 i32 109, label %78 ] 72: ; preds = %70 %73 = load i32, ptr @optarg, align 4 %74 = call i32 @atoi(i32 noundef %73) store i32 %74, ptr %27, align 4 br label %84 75: ; preds = %70 %76 = load i32, ptr @optarg, align 4 %77 = call i32 @atoi(i32 noundef %76) store i32 %77, ptr %28, align 4 br label %84 78: ; preds = %70 %79 = load i32, ptr @optarg, align 4 %80 = call i32 @atoi(i32 noundef %79) store i32 %80, ptr %21, align 4 br label %84 81: ; preds = %70 %82 = load i32, ptr %23, align 4 %83 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, i32 noundef %82) br label %84 84: ; preds = %81, %78, %75, %72 %85 = load i32, ptr %3, align 4 %86 = load ptr, ptr %4, align 8 %87 = call i32 @getopt(i32 noundef %85, ptr noundef %86, ptr noundef @.str.3) store i32 %87, ptr %23, align 4 %88 = icmp ne i32 %87, -1 br i1 %88, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %84 br label %89 89: ; preds = %._crit_edge, %65 %90 = load i32, ptr %22, align 4 %91 = load i32, ptr %21, align 4 %92 = mul nsw i32 %90, %91 store i32 %92, ptr %22, align 4 %93 = load i32, ptr %30, align 4 %94 = load i32, ptr %27, align 4 %95 = call i32 @pin_cpu(i32 noundef %93, i32 noundef %94) %96 = icmp eq i32 %95, -1 br i1 %96, label %97, label %99 97: ; preds = %89 %98 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %103 99: ; preds = %89 %100 = load i32, ptr @stderr, align 4 %101 = load i32, ptr %27, align 4 %102 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %100, ptr noundef @.str.6, i32 noundef %101) br label %103 103: ; preds = %99, %97 %104 = load i32, ptr %24, align 4 %105 = add nsw i32 %104, 8 %106 = load i32, ptr %24, align 4 %107 = add nsw i32 %106, 8 %108 = mul nsw i32 %105, %107 %109 = mul nsw i32 %108, 8 %110 = sext i32 %109 to i64 store i64 %110, ptr %56, align 8 %111 = load i32, ptr @stderr, align 4 %112 = load i32, ptr %24, align 4 %113 = load i64, ptr %56, align 8 %114 = load i32, ptr %22, align 4 %115 = load i32, ptr %21, align 4 %116 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %111, ptr noundef @.str.7, i32 noundef %112, i64 noundef %113, i32 noundef %114, i32 noundef %115) %117 = load i64, ptr %56, align 8 %118 = load i32, ptr @PROT_READ, align 4 %119 = load i32, ptr @PROT_WRITE, align 4 %120 = or i32 %118, %119 %121 = load i32, ptr @MAP_PRIVATE, align 4 %122 = load i32, ptr @MAP_ANON, align 4 %123 = or i32 %121, %122 %124 = load i32, ptr %52, align 4 %125 = load i32, ptr %55, align 4 %126 = call i64 @mmap(ptr noundef null, i64 noundef %117, i32 noundef %120, i32 noundef %123, i32 noundef %124, i32 noundef %125) %127 = inttoptr i64 %126 to ptr store ptr %127, ptr %12, align 8 %128 = load i64, ptr %56, align 8 %129 = load i32, ptr @PROT_READ, align 4 %130 = load i32, ptr @PROT_WRITE, align 4 %131 = or i32 %129, %130 %132 = load i32, ptr @MAP_PRIVATE, align 4 %133 = load i32, ptr @MAP_ANON, align 4 %134 = or i32 %132, %133 %135 = load i32, ptr %52, align 4 %136 = load i32, ptr %55, align 4 %137 = call i64 @mmap(ptr noundef null, i64 noundef %128, i32 noundef %131, i32 noundef %134, i32 noundef %135, i32 noundef %136) %138 = inttoptr i64 %137 to ptr store ptr %138, ptr %13, align 8 %139 = load i64, ptr %56, align 8 %140 = load i32, ptr @PROT_READ, align 4 %141 = load i32, ptr @PROT_WRITE, align 4 %142 = or i32 %140, %141 %143 = load i32, ptr @MAP_PRIVATE, align 4 %144 = load i32, ptr @MAP_ANON, align 4 %145 = or i32 %143, %144 %146 = load i32, ptr %52, align 4 %147 = load i32, ptr %55, align 4 %148 = call i64 @mmap(ptr noundef null, i64 noundef %139, i32 noundef %142, i32 noundef %145, i32 noundef %146, i32 noundef %147) %149 = inttoptr i64 %148 to ptr store ptr %149, ptr %14, align 8 %150 = load ptr, ptr %12, align 8 store ptr %150, ptr %5, align 8 %151 = load ptr, ptr %13, align 8 store ptr %151, ptr %6, align 8 %152 = load ptr, ptr %14, align 8 store ptr %152, ptr %7, align 8 store i32 0, ptr %15, align 4 %153 = load i32, ptr %15, align 4 %154 = load i32, ptr %24, align 4 %155 = icmp slt i32 %153, %154 br i1 %155, label %.lr.ph5, label %198 .lr.ph5: ; preds = %103 br label %156 156: ; preds = %.lr.ph5, %192 store i32 0, ptr %17, align 4 %157 = load i32, ptr %17, align 4 %158 = load i32, ptr %24, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %.lr.ph2, label %191 .lr.ph2: ; preds = %156 br label %160 160: ; preds = %.lr.ph2, %185 %161 = load ptr, ptr %5, align 8 %162 = load i32, ptr %15, align 4 %163 = load i32, ptr %24, align 4 %164 = mul nsw i32 %162, %163 %165 = load i32, ptr %17, align 4 %166 = add nsw i32 %164, %165 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds double, ptr %161, i64 %167 store double 0.000000e+00, ptr %168, align 8 %169 = load ptr, ptr %6, align 8 %170 = load i32, ptr %15, align 4 %171 = load i32, ptr %24, align 4 %172 = mul nsw i32 %170, %171 %173 = load i32, ptr %17, align 4 %174 = add nsw i32 %172, %173 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds double, ptr %169, i64 %175 store double 1.100000e+00, ptr %176, align 8 %177 = load ptr, ptr %7, align 8 %178 = load i32, ptr %15, align 4 %179 = load i32, ptr %24, align 4 %180 = mul nsw i32 %178, %179 %181 = load i32, ptr %17, align 4 %182 = add nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds double, ptr %177, i64 %183 store double 1.100000e+00, ptr %184, align 8 br label %185 185: ; preds = %160 %186 = load i32, ptr %17, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %17, align 4 %188 = load i32, ptr %17, align 4 %189 = load i32, ptr %24, align 4 %190 = icmp slt i32 %188, %189 br i1 %190, label %160, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %185 br label %191 191: ; preds = %._crit_edge3, %156 br label %192 192: ; preds = %191 %193 = load i32, ptr %15, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %15, align 4 %195 = load i32, ptr %15, align 4 %196 = load i32, ptr %24, align 4 %197 = icmp slt i32 %195, %196 br i1 %197, label %156, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %192 br label %198 198: ; preds = %._crit_edge6, %103 %199 = load i32, ptr %30, align 4 %200 = load i32, ptr %28, align 4 %201 = call i32 @pin_cpu(i32 noundef %199, i32 noundef %200) %202 = icmp eq i32 %201, -1 br i1 %202, label %203, label %205 203: ; preds = %198 %204 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %209 205: ; preds = %198 %206 = load i32, ptr @stderr, align 4 %207 = load i32, ptr %28, align 4 %208 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %206, ptr noundef @.str.8, i32 noundef %207) br label %209 209: ; preds = %205, %203 %210 = load i32, ptr %22, align 4 %211 = load i32, ptr %24, align 4 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %210, i32 noundef %211) %213 = call i32 @gettimeofday(ptr noundef %49, ptr noundef null) store i32 %213, ptr %51, align 4 %214 = call i64 (...) @_rdtsc() store i64 %214, ptr %36, align 8 store i32 0, ptr %15, align 4 %215 = load i32, ptr %15, align 4 %216 = load i32, ptr %22, align 4 %217 = icmp slt i32 %215, %216 br i1 %217, label %.lr.ph8, label %251 .lr.ph8: ; preds = %209 br label %218 218: ; preds = %.lr.ph8, %245 %219 = call i64 (...) @_rdtsc() store i64 %219, ptr %33, align 8 %220 = load i32, ptr %24, align 4 %221 = load ptr, ptr %5, align 8 %222 = load ptr, ptr %6, align 8 %223 = load ptr, ptr %7, align 8 %224 = call i64 @matrix_mult(i32 noundef %220, ptr noundef %221, ptr noundef %222, ptr noundef %223) store i64 %224, ptr %40, align 8 %225 = call i64 (...) @_rdtsc() store i64 %225, ptr %34, align 8 %226 = load i64, ptr %34, align 8 %227 = load i64, ptr %33, align 8 %228 = sub i64 %226, %227 store i64 %228, ptr %35, align 8 %229 = load double, ptr %8, align 8 %230 = fadd double %229, 1.000000e-02 store double %230, ptr %8, align 8 %231 = load i64, ptr %40, align 8 %232 = load i64, ptr %39, align 8 %233 = add i64 %232, %231 store i64 %233, ptr %39, align 8 %234 = load i64, ptr %40, align 8 %235 = uitofp i64 %234 to double %236 = load i64, ptr %35, align 8 %237 = uitofp i64 %236 to double %238 = fdiv double %235, %237 store double %238, ptr %9, align 8 %239 = load double, ptr %9, align 8 %240 = load double, ptr %11, align 8 %241 = fcmp ogt double %239, %240 br i1 %241, label %242, label %244 242: ; preds = %218 %243 = load double, ptr %9, align 8 store double %243, ptr %11, align 8 br label %244 244: ; preds = %242, %218 br label %245 245: ; preds = %244 %246 = load i32, ptr %15, align 4 %247 = add nsw i32 %246, 1 store i32 %247, ptr %15, align 4 %248 = load i32, ptr %15, align 4 %249 = load i32, ptr %22, align 4 %250 = icmp slt i32 %248, %249 br i1 %250, label %218, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %245 br label %251 251: ; preds = %._crit_edge9, %209 %252 = call i64 (...) @_rdtsc() store i64 %252, ptr %37, align 8 %253 = call i64 (...) @_loc_freq() store i64 %253, ptr %54, align 8 %254 = call i32 @gettimeofday(ptr noundef %50, ptr noundef null) store i32 %254, ptr %51, align 4 %255 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1 %256 = load i64, ptr %255, align 8 %257 = getelementptr inbounds %struct.timeval, ptr %49, i32 0, i32 1 %258 = load i64, ptr %257, align 8 %259 = sub nsw i64 %256, %258 %260 = mul i64 %259, 1000000 store i64 %260, ptr %53, align 8 %261 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 0 %262 = load i64, ptr %261, align 8 %263 = getelementptr inbounds %struct.timeval, ptr %49, i32 0, i32 0 %264 = load i64, ptr %263, align 8 %265 = sub nsw i64 %262, %264 %266 = load i64, ptr %53, align 8 %267 = add i64 %266, %265 store i64 %267, ptr %53, align 8 %268 = load i64, ptr %37, align 8 %269 = load i64, ptr %36, align 8 %270 = sub i64 %268, %269 store i64 %270, ptr %38, align 8 %271 = load i64, ptr %39, align 8 %272 = uitofp i64 %271 to double %273 = load i64, ptr %38, align 8 %274 = uitofp i64 %273 to double %275 = fdiv double %272, %274 store double %275, ptr %10, align 8 %276 = load i64, ptr %39, align 8 %277 = load i32, ptr %25, align 4 %278 = load i64, ptr %35, align 8 %279 = load i64, ptr %38, align 8 %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %276, i32 noundef %277, i64 noundef %278, i64 noundef %279) %281 = load i64, ptr %38, align 8 %282 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %281) %283 = load i64, ptr %53, align 8 %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %283) %285 = load i64, ptr %54, align 8 %286 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %285) %287 = load double, ptr %10, align 8 %288 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %287) %289 = load double, ptr %11, align 8 %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %289) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @usage(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @pin_cpu(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i64 @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i64 @_rdtsc(...) #1 declare i64 @matrix_mult(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @_loc_freq(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpx80_566c.c' source_filename = "/tmp/tmpx80_566c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_df_cte_tx_aod_2us_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx80_566c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @radio_df_cte_tx_aod_2us_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaz8xrqxx.c' source_filename = "/tmp/tmpaz8xrqxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"truncf\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaz8xrqxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"truncf\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl8s19wfq.c' source_filename = "/tmp/tmpl8s19wfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Specification1() #0 { %1 = call i32 (...) @bigMacCall() %2 = call i32 (...) @angelinaCall() %3 = call i32 (...) @cleanup() ret void } declare i32 @bigMacCall(...) #1 declare i32 @angelinaCall(...) #1 declare i32 @cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl8s19wfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Specification1() #0 { %1 = call i32 (...) @bigMacCall() %2 = call i32 (...) @angelinaCall() %3 = call i32 (...) @cleanup() ret void } declare i32 @bigMacCall(...) #1 declare i32 @angelinaCall(...) #1 declare i32 @cleanup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqfdte7ao.c' source_filename = "/tmp/tmpqfdte7ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sorensen(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr %12, align 8 br label %13 13: ; preds = %17, %5 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %8, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %41 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load double, ptr %18, align 8 %20 = load ptr, ptr %7, align 8 %21 = load double, ptr %20, align 8 %22 = fsub double %19, %21 %23 = call i64 @fabs(double noundef %22) %24 = sitofp i64 %23 to double %25 = load double, ptr %11, align 8 %26 = fadd double %25, %24 store double %26, ptr %11, align 8 %27 = load ptr, ptr %6, align 8 %28 = load double, ptr %27, align 8 %29 = call i64 @fabs(double noundef %28) %30 = load ptr, ptr %7, align 8 %31 = load double, ptr %30, align 8 %32 = call i64 @fabs(double noundef %31) %33 = add nsw i64 %29, %32 %34 = sitofp i64 %33 to double %35 = load double, ptr %12, align 8 %36 = fadd double %35, %34 store double %36, ptr %12, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds double, ptr %37, i32 1 store ptr %38, ptr %6, align 8 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds double, ptr %39, i32 1 store ptr %40, ptr %7, align 8 br label %13, !llvm.loop !6 41: ; preds = %13 %42 = load double, ptr %11, align 8 %43 = load double, ptr %12, align 8 %44 = fdiv double %42, %43 %45 = call i32 @debug(ptr noundef @.str, double noundef %44) %46 = load double, ptr %11, align 8 %47 = load double, ptr %12, align 8 %48 = fdiv double %46, %47 ret double %48 } declare i64 @fabs(double noundef) #1 declare i32 @debug(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfdte7ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %.6f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sorensen(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 store double 0.000000e+00, ptr %12, align 8 %13 = load i32, ptr %8, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %8, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %43 .lr.ph: ; preds = %5 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %6, align 8 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 %20 = load double, ptr %19, align 8 %21 = fsub double %18, %20 %22 = call i64 @fabs(double noundef %21) %23 = sitofp i64 %22 to double %24 = load double, ptr %11, align 8 %25 = fadd double %24, %23 store double %25, ptr %11, align 8 %26 = load ptr, ptr %6, align 8 %27 = load double, ptr %26, align 8 %28 = call i64 @fabs(double noundef %27) %29 = load ptr, ptr %7, align 8 %30 = load double, ptr %29, align 8 %31 = call i64 @fabs(double noundef %30) %32 = add nsw i64 %28, %31 %33 = sitofp i64 %32 to double %34 = load double, ptr %12, align 8 %35 = fadd double %34, %33 store double %35, ptr %12, align 8 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds double, ptr %36, i32 1 store ptr %37, ptr %6, align 8 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds double, ptr %38, i32 1 store ptr %39, ptr %7, align 8 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %8, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %43 43: ; preds = %._crit_edge, %5 %44 = load double, ptr %11, align 8 %45 = load double, ptr %12, align 8 %46 = fdiv double %44, %45 %47 = call i32 @debug(ptr noundef @.str, double noundef %46) %48 = load double, ptr %11, align 8 %49 = load double, ptr %12, align 8 %50 = fdiv double %48, %49 ret double %50 } declare i64 @fabs(double noundef) #1 declare i32 @debug(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmkwdvukx.c' source_filename = "/tmp/tmpmkwdvukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doSomeThing() #0 { %1 = alloca ptr, align 8 %2 = alloca [16 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srandom(i32 noundef %5) store i32 0, ptr %4, align 4 br label %7 7: ; preds = %20, %0 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 15 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = call signext i8 (...) @random() %13 = sext i8 %12 to i32 %14 = srem i32 %13, 26 %15 = add nsw i32 %14, 97 %16 = trunc i32 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 %18 store i8 %16, ptr %19, align 1 br label %20 20: ; preds = %11 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 15 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = call i32 @f(ptr noundef %26) %28 = load ptr, ptr %1, align 8 ret ptr %28 } declare i32 @srandom(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare signext i8 @random(...) #1 declare i32 @f(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmkwdvukx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doSomeThing() #0 { %1 = alloca ptr, align 8 %2 = alloca [16 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srandom(i32 noundef %5) store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %8, 15 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %19 %11 = call signext i8 (...) @random() %12 = sext i8 %11 to i32 %13 = srem i32 %12, 26 %14 = add nsw i32 %13, 97 %15 = trunc i32 %14 to i8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 %17 store i8 %15, ptr %18, align 1 br label %19 19: ; preds = %10 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = icmp ult i64 %23, 15 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 15 store i8 0, ptr %26, align 1 %27 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0 store ptr %27, ptr %3, align 8 %28 = load ptr, ptr %3, align 8 %29 = call i32 @f(ptr noundef %28) %30 = load ptr, ptr %1, align 8 ret ptr %30 } declare i32 @srandom(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare signext i8 @random(...) #1 declare i32 @f(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpmq2ujzro.c' source_filename = "/tmp/tmpmq2ujzro.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @POLLIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socketCanRead(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.pollfd, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %23 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 0 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @POLLIN, align 4 %12 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 1 store i32 %11, ptr %12, align 4 %13 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 2 store i32 0, ptr %13, align 4 %14 = call i32 @poll(ptr noundef %4, i32 noundef 1, i32 noundef 5) %15 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 2 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @POLLIN, align 4 %18 = and i32 %16, %17 %19 = load i32, ptr @POLLIN, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %8 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %8 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21, %7 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmq2ujzro.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @POLLIN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socketCanRead(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.pollfd, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 0, ptr %2, align 4 br label %23 8: ; preds = %1 %9 = load i32, ptr %3, align 4 %10 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 0 store i32 %9, ptr %10, align 4 %11 = load i32, ptr @POLLIN, align 4 %12 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 1 store i32 %11, ptr %12, align 4 %13 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 2 store i32 0, ptr %13, align 4 %14 = call i32 @poll(ptr noundef %4, i32 noundef 1, i32 noundef 5) %15 = getelementptr inbounds %struct.pollfd, ptr %4, i32 0, i32 2 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @POLLIN, align 4 %18 = and i32 %16, %17 %19 = load i32, ptr @POLLIN, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %8 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %8 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21, %7 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3f20byo.c' source_filename = "/tmp/tmpx3f20byo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neglect_input() #0 { br label %1 1: ; preds = %5, %0 %2 = call signext i8 (...) @getchar() %3 = sext i8 %2 to i32 %4 = icmp ne i32 %3, 10 br i1 %4, label %5, label %6 5: ; preds = %1 br label %1, !llvm.loop !6 6: ; preds = %1 ret void } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3f20byo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neglect_input() #0 { br label %1 1: ; preds = %1, %0 %2 = call signext i8 (...) @getchar() %3 = sext i8 %2 to i32 %4 = icmp ne i32 %3, 10 br i1 %4, label %1, label %5, !llvm.loop !6 5: ; preds = %1 ret void } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7hi0ed59.c' source_filename = "/tmp/tmp7hi0ed59.c" target datalayout = "e-m:e-p270: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/tmp7hi0ed59.c" target datalayout = "e-m:e-p270: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/tmphkpc_ifj.c' source_filename = "/tmp/tmphkpc_ifj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"realloc returned NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @raiseerror(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @raiseerror(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkpc_ifj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"realloc returned NULL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xrealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @raiseerror(ptr noundef @.str) br label %13 13: ; preds = %11, %2 %14 = load ptr, ptr %5, align 8 ret ptr %14 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @raiseerror(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg38edw07.c' source_filename = "/tmp/tmpg38edw07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REQUEST_METHOD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadPost(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @getenv(ptr noundef @.str) %8 = call i64 @strcasecmp(i32 noundef %7, ptr noundef @.str.1) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 11: ; preds = %2 %12 = call i32 @getenv(ptr noundef @.str.2) %13 = call i32 @sscanf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 -1, ptr %3, align 4 br label %26 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %18, %17, %10 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i64 @strcasecmp(i32 noundef, ptr noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @sscanf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg38edw07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"REQUEST_METHOD\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"POST\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"CONTENT_LENGTH\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadPost(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 @getenv(ptr noundef @.str) %8 = call i64 @strcasecmp(i32 noundef %7, ptr noundef @.str.1) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 11: ; preds = %2 %12 = call i32 @getenv(ptr noundef @.str.2) %13 = call i32 @sscanf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp sge i32 %14, %15 br i1 %16, label %17, label %18 17: ; preds = %11 store i32 -1, ptr %3, align 4 br label %26 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr @stdin, align 4 %24 = call i32 @fgets(ptr noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %18, %17, %10 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i64 @strcasecmp(i32 noundef, ptr noundef) #1 declare i32 @getenv(ptr noundef) #1 declare i32 @sscanf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ic1y_2h.c' source_filename = "/tmp/tmp8ic1y_2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32 } @TIOCMGET = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS5 = dso_local global i32 0, align 4 @CS6 = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @TIOCM_DTR = dso_local global i32 0, align 4 @TIOCM_RTS = dso_local global i32 0, align 4 @TIOCM_CTS = dso_local global i32 0, align 4 @TIOCM_DSR = dso_local global i32 0, align 4 @TIOCM_CD = dso_local global i32 0, align 4 @TIOCM_RI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SerialPortGetOption(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.termios, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 -1, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @FileDescrForEntry(i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %152 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = call i32 @tcgetattr(i32 noundef %14, ptr noundef %8) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 -1, ptr %3, align 4 br label %152 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr @TIOCMGET, align 4 %21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %7) %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 -1, ptr %3, align 4 br label %152 24: ; preds = %18 %25 = load i32, ptr %5, align 4 switch i32 %25, label %151 [ i32 1, label %26 i32 2, label %29 i32 3, label %62 i32 4, label %70 i32 5, label %85 i32 6, label %100 i32 20, label %115 i32 21, label %121 i32 22, label %127 i32 23, label %133 i32 24, label %139 i32 25, label %145 ] 26: ; preds = %24 %27 = call i64 @cfgetispeed(ptr noundef %8) %28 = trunc i64 %27 to i32 store i32 %28, ptr %3, align 4 br label %152 29: ; preds = %24 %30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr @CSIZE, align 4 %33 = and i32 %31, %32 %34 = load i32, ptr @CS5, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %37 36: ; preds = %29 store i32 5, ptr %3, align 4 br label %152 37: ; preds = %29 %38 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr @CSIZE, align 4 %41 = and i32 %39, %40 %42 = load i32, ptr @CS6, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %37 store i32 6, ptr %3, align 4 br label %152 45: ; preds = %37 %46 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr @CSIZE, align 4 %49 = and i32 %47, %48 %50 = load i32, ptr @CS7, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %53 52: ; preds = %45 store i32 7, ptr %3, align 4 br label %152 53: ; preds = %45 %54 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr @CSIZE, align 4 %57 = and i32 %55, %56 %58 = load i32, ptr @CS8, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %53 store i32 8, ptr %3, align 4 br label %152 61: ; preds = %53 store i32 -1, ptr %3, align 4 br label %152 62: ; preds = %24 %63 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr @CSTOPB, align 4 %66 = and i32 %64, %65 %67 = icmp ne i32 %66, 0 %68 = zext i1 %67 to i64 %69 = select i1 %67, i32 2, i32 1 store i32 %69, ptr %3, align 4 br label %152 70: ; preds = %24 %71 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr @PARENB, align 4 %74 = and i32 %72, %73 %75 = icmp ne i32 %74, 0 br i1 %75, label %77, label %76 76: ; preds = %70 store i32 0, ptr %3, align 4 br label %152 77: ; preds = %70 %78 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr @PARODD, align 4 %81 = and i32 %79, %80 %82 = icmp ne i32 %81, 0 %83 = zext i1 %82 to i64 %84 = select i1 %82, i32 1, i32 2 store i32 %84, ptr %3, align 4 br label %152 85: ; preds = %24 %86 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr @IXOFF, align 4 %89 = and i32 %87, %88 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %85 store i32 1, ptr %3, align 4 br label %152 92: ; preds = %85 %93 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr @CRTSCTS, align 4 %96 = and i32 %94, %95 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %99 98: ; preds = %92 store i32 2, ptr %3, align 4 br label %152 99: ; preds = %92 store i32 0, ptr %3, align 4 br label %152 100: ; preds = %24 %101 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr @IXON, align 4 %104 = and i32 %102, %103 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %107 106: ; preds = %100 store i32 1, ptr %3, align 4 br label %152 107: ; preds = %100 %108 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr @CRTSCTS, align 4 %111 = and i32 %109, %110 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %107 store i32 2, ptr %3, align 4 br label %152 114: ; preds = %107 store i32 0, ptr %3, align 4 br label %152 115: ; preds = %24 %116 = load i32, ptr %7, align 4 %117 = load i32, ptr @TIOCM_DTR, align 4 %118 = and i32 %116, %117 %119 = icmp sgt i32 %118, 0 %120 = zext i1 %119 to i32 store i32 %120, ptr %3, align 4 br label %152 121: ; preds = %24 %122 = load i32, ptr %7, align 4 %123 = load i32, ptr @TIOCM_RTS, align 4 %124 = and i32 %122, %123 %125 = icmp sgt i32 %124, 0 %126 = zext i1 %125 to i32 store i32 %126, ptr %3, align 4 br label %152 127: ; preds = %24 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr @TIOCM_CTS, align 4 %130 = and i32 %128, %129 %131 = icmp sgt i32 %130, 0 %132 = zext i1 %131 to i32 store i32 %132, ptr %3, align 4 br label %152 133: ; preds = %24 %134 = load i32, ptr %7, align 4 %135 = load i32, ptr @TIOCM_DSR, align 4 %136 = and i32 %134, %135 %137 = icmp sgt i32 %136, 0 %138 = zext i1 %137 to i32 store i32 %138, ptr %3, align 4 br label %152 139: ; preds = %24 %140 = load i32, ptr %7, align 4 %141 = load i32, ptr @TIOCM_CD, align 4 %142 = and i32 %140, %141 %143 = icmp sgt i32 %142, 0 %144 = zext i1 %143 to i32 store i32 %144, ptr %3, align 4 br label %152 145: ; preds = %24 %146 = load i32, ptr %7, align 4 %147 = load i32, ptr @TIOCM_RI, align 4 %148 = and i32 %146, %147 %149 = icmp sgt i32 %148, 0 %150 = zext i1 %149 to i32 store i32 %150, ptr %3, align 4 br label %152 151: ; preds = %24 store i32 -1, ptr %3, align 4 br label %152 152: ; preds = %151, %145, %139, %133, %127, %121, %115, %114, %113, %106, %99, %98, %91, %77, %76, %62, %61, %60, %52, %44, %36, %26, %23, %17, %12 %153 = load i32, ptr %3, align 4 ret i32 %153 } declare i32 @FileDescrForEntry(i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @cfgetispeed(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ic1y_2h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32 } @TIOCMGET = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS5 = dso_local global i32 0, align 4 @CS6 = dso_local global i32 0, align 4 @CS7 = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @IXON = dso_local global i32 0, align 4 @TIOCM_DTR = dso_local global i32 0, align 4 @TIOCM_RTS = dso_local global i32 0, align 4 @TIOCM_CTS = dso_local global i32 0, align 4 @TIOCM_DSR = dso_local global i32 0, align 4 @TIOCM_CD = dso_local global i32 0, align 4 @TIOCM_RI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SerialPortGetOption(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.termios, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 -1, ptr %7, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @FileDescrForEntry(i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %152 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = call i32 @tcgetattr(i32 noundef %14, ptr noundef %8) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 -1, ptr %3, align 4 br label %152 18: ; preds = %13 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr @TIOCMGET, align 4 %21 = call i32 @ioctl(i32 noundef %19, i32 noundef %20, ptr noundef %7) %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 -1, ptr %3, align 4 br label %152 24: ; preds = %18 %25 = load i32, ptr %5, align 4 switch i32 %25, label %151 [ i32 1, label %26 i32 2, label %29 i32 3, label %62 i32 4, label %70 i32 5, label %85 i32 6, label %100 i32 20, label %115 i32 21, label %121 i32 22, label %127 i32 23, label %133 i32 24, label %139 i32 25, label %145 ] 26: ; preds = %24 %27 = call i64 @cfgetispeed(ptr noundef %8) %28 = trunc i64 %27 to i32 store i32 %28, ptr %3, align 4 br label %152 29: ; preds = %24 %30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr @CSIZE, align 4 %33 = and i32 %31, %32 %34 = load i32, ptr @CS5, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %37 36: ; preds = %29 store i32 5, ptr %3, align 4 br label %152 37: ; preds = %29 %38 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr @CSIZE, align 4 %41 = and i32 %39, %40 %42 = load i32, ptr @CS6, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %37 store i32 6, ptr %3, align 4 br label %152 45: ; preds = %37 %46 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr @CSIZE, align 4 %49 = and i32 %47, %48 %50 = load i32, ptr @CS7, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %53 52: ; preds = %45 store i32 7, ptr %3, align 4 br label %152 53: ; preds = %45 %54 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr @CSIZE, align 4 %57 = and i32 %55, %56 %58 = load i32, ptr @CS8, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %53 store i32 8, ptr %3, align 4 br label %152 61: ; preds = %53 store i32 -1, ptr %3, align 4 br label %152 62: ; preds = %24 %63 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %64 = load i32, ptr %63, align 4 %65 = load i32, ptr @CSTOPB, align 4 %66 = and i32 %64, %65 %67 = icmp ne i32 %66, 0 %68 = zext i1 %67 to i64 %69 = select i1 %67, i32 2, i32 1 store i32 %69, ptr %3, align 4 br label %152 70: ; preds = %24 %71 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %72 = load i32, ptr %71, align 4 %73 = load i32, ptr @PARENB, align 4 %74 = and i32 %72, %73 %75 = icmp ne i32 %74, 0 br i1 %75, label %77, label %76 76: ; preds = %70 store i32 0, ptr %3, align 4 br label %152 77: ; preds = %70 %78 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr @PARODD, align 4 %81 = and i32 %79, %80 %82 = icmp ne i32 %81, 0 %83 = zext i1 %82 to i64 %84 = select i1 %82, i32 1, i32 2 store i32 %84, ptr %3, align 4 br label %152 85: ; preds = %24 %86 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr @IXOFF, align 4 %89 = and i32 %87, %88 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %92 91: ; preds = %85 store i32 1, ptr %3, align 4 br label %152 92: ; preds = %85 %93 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = load i32, ptr @CRTSCTS, align 4 %96 = and i32 %94, %95 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %99 98: ; preds = %92 store i32 2, ptr %3, align 4 br label %152 99: ; preds = %92 store i32 0, ptr %3, align 4 br label %152 100: ; preds = %24 %101 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr @IXON, align 4 %104 = and i32 %102, %103 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %107 106: ; preds = %100 store i32 1, ptr %3, align 4 br label %152 107: ; preds = %100 %108 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %109 = load i32, ptr %108, align 4 %110 = load i32, ptr @CRTSCTS, align 4 %111 = and i32 %109, %110 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %107 store i32 2, ptr %3, align 4 br label %152 114: ; preds = %107 store i32 0, ptr %3, align 4 br label %152 115: ; preds = %24 %116 = load i32, ptr %7, align 4 %117 = load i32, ptr @TIOCM_DTR, align 4 %118 = and i32 %116, %117 %119 = icmp sgt i32 %118, 0 %120 = zext i1 %119 to i32 store i32 %120, ptr %3, align 4 br label %152 121: ; preds = %24 %122 = load i32, ptr %7, align 4 %123 = load i32, ptr @TIOCM_RTS, align 4 %124 = and i32 %122, %123 %125 = icmp sgt i32 %124, 0 %126 = zext i1 %125 to i32 store i32 %126, ptr %3, align 4 br label %152 127: ; preds = %24 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr @TIOCM_CTS, align 4 %130 = and i32 %128, %129 %131 = icmp sgt i32 %130, 0 %132 = zext i1 %131 to i32 store i32 %132, ptr %3, align 4 br label %152 133: ; preds = %24 %134 = load i32, ptr %7, align 4 %135 = load i32, ptr @TIOCM_DSR, align 4 %136 = and i32 %134, %135 %137 = icmp sgt i32 %136, 0 %138 = zext i1 %137 to i32 store i32 %138, ptr %3, align 4 br label %152 139: ; preds = %24 %140 = load i32, ptr %7, align 4 %141 = load i32, ptr @TIOCM_CD, align 4 %142 = and i32 %140, %141 %143 = icmp sgt i32 %142, 0 %144 = zext i1 %143 to i32 store i32 %144, ptr %3, align 4 br label %152 145: ; preds = %24 %146 = load i32, ptr %7, align 4 %147 = load i32, ptr @TIOCM_RI, align 4 %148 = and i32 %146, %147 %149 = icmp sgt i32 %148, 0 %150 = zext i1 %149 to i32 store i32 %150, ptr %3, align 4 br label %152 151: ; preds = %24 store i32 -1, ptr %3, align 4 br label %152 152: ; preds = %151, %145, %139, %133, %127, %121, %115, %114, %113, %106, %99, %98, %91, %77, %76, %62, %61, %60, %52, %44, %36, %26, %23, %17, %12 %153 = load i32, ptr %3, align 4 ret i32 %153 } declare i32 @FileDescrForEntry(i32 noundef) #1 declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @cfgetispeed(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsg5b6xzg.c' source_filename = "/tmp/tmpsg5b6xzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x53() #0 { %1 = call i32 @isalnum(i32 noundef 83) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsg5b6xzg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 1 for S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x53() #0 { %1 = call i32 @isalnum(i32 noundef 83) #3 %2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 420, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @isalnum(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6geol9j9.c' source_filename = "/tmp/tmp6geol9j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xba\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xba() #0 { %1 = call i64 @isodigit(i32 noundef 186) %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 935, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmp6geol9j9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xba\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xba() #0 { %1 = call i64 @isodigit(i32 noundef 186) %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 935, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_l_hidbf.c' source_filename = "/tmp/tmp_l_hidbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"1.6.0 (Feb 2011)\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c" CFITSIO version %5.3f\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fp_version() #0 { %1 = alloca float, align 4 %2 = alloca [40 x i8], align 16 %3 = call i32 @fp_msg(ptr noundef @.str) %4 = call i32 @ffvers(ptr noundef %1) %5 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %6 = load float, ptr %1, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str.1, float noundef %6) %8 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @fp_msg(ptr noundef %8) %10 = call i32 @fp_msg(ptr noundef @.str.2) ret i32 0 } declare i32 @fp_msg(ptr noundef) #1 declare i32 @ffvers(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_l_hidbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"1.6.0 (Feb 2011)\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c" CFITSIO version %5.3f\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fp_version() #0 { %1 = alloca float, align 4 %2 = alloca [40 x i8], align 16 %3 = call i32 @fp_msg(ptr noundef @.str) %4 = call i32 @ffvers(ptr noundef %1) %5 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %6 = load float, ptr %1, align 4 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str.1, float noundef %6) %8 = getelementptr inbounds [40 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @fp_msg(ptr noundef %8) %10 = call i32 @fp_msg(ptr noundef @.str.2) ret i32 0 } declare i32 @fp_msg(ptr noundef) #1 declare i32 @ffvers(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ynj7gg5.c' source_filename = "/tmp/tmp5ynj7gg5.c" target datalayout = "e-m:e-p270: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/tmp5ynj7gg5.c" target datalayout = "e-m:e-p270: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/tmpdgllbb6_.c' source_filename = "/tmp/tmpdgllbb6_.c" target datalayout = "e-m:e-p270: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/tmpdgllbb6_.c" target datalayout = "e-m:e-p270: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/tmpg0xxmlhu.c' source_filename = "/tmp/tmpg0xxmlhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2801 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 2800, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %14, %0 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = sdiv i32 %15, 5 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %19 store i32 %16, ptr %20, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 br label %22 22: ; preds = %57, %21 store i32 0, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, 2 store i32 %24, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %69 26: ; preds = %22 %27 = load i32, ptr %4, align 4 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %52, %26 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %2, align 4 %34 = mul nsw i32 %32, %33 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, %34 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %8, align 4 %40 = srem i32 %37, %39 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %42 store i32 %40, ptr %43, align 4 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %8, align 4 %46 = load i32, ptr %5, align 4 %47 = sdiv i32 %46, %44 store i32 %47, ptr %5, align 4 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, -1 store i32 %49, ptr %3, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %28 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %5, align 4 %55 = mul nsw i32 %54, %53 store i32 %55, ptr %5, align 4 br label %28, !llvm.loop !8 56: ; preds = %28 br label %57 57: ; preds = %56 %58 = load i32, ptr %4, align 4 %59 = sub nsw i32 %58, 14 store i32 %59, ptr %4, align 4 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %2, align 4 %63 = sdiv i32 %61, %62 %64 = add nsw i32 %60, %63 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %64) %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %2, align 4 %68 = srem i32 %66, %67 store i32 %68, ptr %6, align 4 br label %22, !llvm.loop !9 69: ; preds = %22 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %71 = load i32, ptr %1, align 4 ret i32 %71 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0xxmlhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.4d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2801 x i32], align 16 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 2800, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %9, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load i32, ptr %2, align 4 %15 = sdiv i32 %14, 5 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = sext i32 %16 to i64 %19 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %18 store i32 %15, ptr %19, align 4 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %20, %21 %23 = icmp ne i32 %22, 0 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %24 24: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = mul nsw i32 %25, 2 store i32 %26, ptr %8, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %.lr.ph2, label %74 .lr.ph2: ; preds = %24 br label %28 28: ; preds = %.lr.ph2, %59 %29 = load i32, ptr %4, align 4 store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %54, %28 %31 = load i32, ptr %3, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %2, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, %36 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %8, align 4 %42 = srem i32 %39, %41 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [2801 x i32], ptr %7, i64 0, i64 %44 store i32 %42, ptr %45, align 4 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %5, align 4 %49 = sdiv i32 %48, %46 store i32 %49, ptr %5, align 4 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %3, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %30 br label %54 54: ; preds = %53 %55 = load i32, ptr %3, align 4 %56 = load i32, ptr %5, align 4 %57 = mul nsw i32 %56, %55 store i32 %57, ptr %5, align 4 br label %30, !llvm.loop !8 58: ; preds = %30 br label %59 59: ; preds = %58 %60 = load i32, ptr %4, align 4 %61 = sub nsw i32 %60, 14 store i32 %61, ptr %4, align 4 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %2, align 4 %65 = sdiv i32 %63, %64 %66 = add nsw i32 %62, %65 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66) %68 = load i32, ptr %5, align 4 %69 = load i32, ptr %2, align 4 %70 = srem i32 %68, %69 store i32 %70, ptr %6, align 4 store i32 0, ptr %5, align 4 %71 = load i32, ptr %4, align 4 %72 = mul nsw i32 %71, 2 store i32 %72, ptr %8, align 4 %73 = icmp ne i32 %72, 0 br i1 %73, label %28, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %59 br label %74 74: ; preds = %._crit_edge3, %24 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %76 = load i32, ptr %1, align 4 ret i32 %76 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpg7_qb7o3.c' source_filename = "/tmp/tmpg7_qb7o3.c" target datalayout = "e-m:e-p270: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/tmpg7_qb7o3.c" target datalayout = "e-m:e-p270: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/tmp_v0pnhvi.c' source_filename = "/tmp/tmp_v0pnhvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"btp: out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @btp_vasprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @vasprintf(ptr noundef %6, ptr noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 ret ptr %17 } declare i32 @vasprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmp_v0pnhvi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [19 x i8] c"btp: out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @btp_vasprintf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call i32 @vasprintf(ptr noundef %6, ptr noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %6, align 8 ret ptr %17 } declare i32 @vasprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpnpcbzyga.c' source_filename = "/tmp/tmpnpcbzyga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @effect_random_filler(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fill(i32 noundef 0) br label %15 13: ; preds = %2 %14 = call i32 @fill(i32 noundef 255) br label %15 15: ; preds = %13, %11 br label %16 16: ; preds = %53, %15 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %17, 511 br i1 %18, label %19, label %54 19: ; preds = %16 %20 = call i32 (...) @rand() %21 = srem i32 %20, 8 store i32 %21, ptr %5, align 4 %22 = call i32 (...) @rand() %23 = srem i32 %22, 8 store i32 %23, ptr %6, align 4 %24 = call i32 (...) @rand() %25 = srem i32 %24, 8 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %19 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %7, align 4 %32 = call i32 @getvoxel(i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = icmp eq i32 %32, 1 br i1 %33, label %43, label %34 34: ; preds = %28, %19 %35 = load i32, ptr %4, align 4 %36 = icmp eq i32 %35, 1 br i1 %36, label %37, label %53 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %7, align 4 %41 = call i32 @getvoxel(i32 noundef %38, i32 noundef %39, i32 noundef %40) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %53 43: ; preds = %37, %28 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %4, align 4 %48 = call i32 @altervoxel(i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47) %49 = load i32, ptr %3, align 4 %50 = call i32 @delay_ms(i32 noundef %49) %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %43, %37, %34 br label %16, !llvm.loop !6 54: ; preds = %16 ret void } declare i32 @fill(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @getvoxel(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @altervoxel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @delay_ms(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/tmpnpcbzyga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @effect_random_filler(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %8, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @fill(i32 noundef 0) br label %15 13: ; preds = %2 %14 = call i32 @fill(i32 noundef 255) br label %15 15: ; preds = %13, %11 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %16, 511 br i1 %17, label %.lr.ph, label %55 .lr.ph: ; preds = %15 br label %18 18: ; preds = %.lr.ph, %52 %19 = call i32 (...) @rand() %20 = srem i32 %19, 8 store i32 %20, ptr %5, align 4 %21 = call i32 (...) @rand() %22 = srem i32 %21, 8 store i32 %22, ptr %6, align 4 %23 = call i32 (...) @rand() %24 = srem i32 %23, 8 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %18 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = call i32 @getvoxel(i32 noundef %28, i32 noundef %29, i32 noundef %30) %32 = icmp eq i32 %31, 1 br i1 %32, label %42, label %33 33: ; preds = %27, %18 %34 = load i32, ptr %4, align 4 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %52 36: ; preds = %33 %37 = load i32, ptr %5, align 4 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %7, align 4 %40 = call i32 @getvoxel(i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %52 42: ; preds = %36, %27 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %4, align 4 %47 = call i32 @altervoxel(i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %3, align 4 %49 = call i32 @delay_ms(i32 noundef %48) %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 br label %52 52: ; preds = %42, %36, %33 %53 = load i32, ptr %8, align 4 %54 = icmp slt i32 %53, 511 br i1 %54, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %55 55: ; preds = %._crit_edge, %15 ret void } declare i32 @fill(i32 noundef) #1 declare i32 @rand(...) #1 declare i32 @getvoxel(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @altervoxel(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @delay_ms(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/tmp3k63qojt.c' source_filename = "/tmp/tmp3k63qojt.c" target datalayout = "e-m:e-p270: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/tmp3k63qojt.c" target datalayout = "e-m:e-p270: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/tmp09s7h_ol.c' source_filename = "/tmp/tmp09s7h_ol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ascii(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1000 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 -1, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @fgets(ptr noundef %10, i32 noundef 1000, ptr noundef %11) store i32 0, ptr %7, align 4 br label %13 13: ; preds = %34, %1 %14 = load i32, ptr %7, align 4 %15 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %37 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sgt i32 %23, 127 br i1 %24, label %32, label %25 25: ; preds = %18 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 1 br i1 %31, label %32, label %33 32: ; preds = %25, %18 store i32 0, ptr %3, align 4 br label %37 33: ; preds = %25 br label %34 34: ; preds = %33 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %13, !llvm.loop !6 37: ; preds = %32, %13 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) %40 = load i32, ptr %3, align 4 ret i32 %40 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp09s7h_ol.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_ascii(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [1000 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 -1, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %6, align 8 %12 = call i32 @fgets(ptr noundef %10, i32 noundef 1000, ptr noundef %11) store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = icmp slt i32 %13, %15 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %17 17: ; preds = %.lr.ph, %33 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sgt i32 %22, 127 br i1 %23, label %31, label %24 24: ; preds = %17 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %29, 1 br i1 %30, label %31, label %32 31: ; preds = %24, %17 store i32 0, ptr %3, align 4 br label %39 32: ; preds = %24 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 @strlen(ptr noundef %14) %38 = icmp slt i32 %36, %37 br i1 %38, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %33 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %39 39: ; preds = %.loopexit, %31 %40 = load ptr, ptr %6, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = load i32, ptr %3, align 4 ret i32 %42 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgizdydj8.c' source_filename = "/tmp/tmpgizdydj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Please only input non-negative integers: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"%d %s, %d %s and %d %s\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"hours\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"minute\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"minutes\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"second\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"seconds\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"%d %s and %d %s\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c" is equal to %d %s.\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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %8 = load i32, ptr %5, align 4 %9 = srem i32 %8, 60 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %5, align 4 %11 = sdiv i32 %10, 60 %12 = srem i32 %11, 60 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 3600 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %40 17: ; preds = %0 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %40 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %40 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 1 %27 = zext i1 %26 to i64 %28 = select i1 %26, ptr @.str.3, ptr @.str.4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i64 %33 = select i1 %31, ptr @.str.5, ptr @.str.6 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp eq i32 %35, 1 %37 = zext i1 %36 to i64 %38 = select i1 %36, ptr @.str.7, ptr @.str.8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, ptr noundef %28, i32 noundef %29, ptr noundef %33, i32 noundef %34, ptr noundef %38) br label %147 40: ; preds = %20, %17, %0 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %61 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %61 46: ; preds = %43 %47 = load i32, ptr %3, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %61 49: ; preds = %46 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp eq i32 %51, 1 %53 = zext i1 %52 to i64 %54 = select i1 %52, ptr @.str.5, ptr @.str.6 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp eq i32 %56, 1 %58 = zext i1 %57 to i64 %59 = select i1 %57, ptr @.str.7, ptr @.str.8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %50, ptr noundef %54, i32 noundef %55, ptr noundef %59) br label %146 61: ; preds = %46, %43, %40 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %82 64: ; preds = %61 %65 = load i32, ptr %3, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %67, label %82 67: ; preds = %64 %68 = load i32, ptr %4, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %82 70: ; preds = %67 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp eq i32 %72, 1 %74 = zext i1 %73 to i64 %75 = select i1 %73, ptr @.str.3, ptr @.str.4 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = icmp eq i32 %77, 1 %79 = zext i1 %78 to i64 %80 = select i1 %78, ptr @.str.5, ptr @.str.6 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %71, ptr noundef %75, i32 noundef %76, ptr noundef %80) br label %145 82: ; preds = %67, %64, %61 %83 = load i32, ptr %3, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %103 85: ; preds = %82 %86 = load i32, ptr %2, align 4 %87 = icmp sgt i32 %86, 0 br i1 %87, label %88, label %103 88: ; preds = %85 %89 = load i32, ptr %4, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %91, label %103 91: ; preds = %88 %92 = load i32, ptr %4, align 4 %93 = load i32, ptr %4, align 4 %94 = icmp eq i32 %93, 1 %95 = zext i1 %94 to i64 %96 = select i1 %94, ptr @.str.3, ptr @.str.4 %97 = load i32, ptr %2, align 4 %98 = load i32, ptr %2, align 4 %99 = icmp eq i32 %98, 1 %100 = zext i1 %99 to i64 %101 = select i1 %99, ptr @.str.7, ptr @.str.8 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %92, ptr noundef %96, i32 noundef %97, ptr noundef %101) br label %144 103: ; preds = %88, %85, %82 %104 = load i32, ptr %3, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %106, label %119 106: ; preds = %103 %107 = load i32, ptr %2, align 4 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %119 109: ; preds = %106 %110 = load i32, ptr %4, align 4 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %109 %113 = load i32, ptr %3, align 4 %114 = load i32, ptr %3, align 4 %115 = icmp eq i32 %114, 1 %116 = zext i1 %115 to i64 %117 = select i1 %115, ptr @.str.5, ptr @.str.6 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %113, ptr noundef %117) br label %143 119: ; preds = %109, %106, %103 %120 = load i32, ptr %4, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %135 122: ; preds = %119 %123 = load i32, ptr %2, align 4 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %135 125: ; preds = %122 %126 = load i32, ptr %3, align 4 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %135 128: ; preds = %125 %129 = load i32, ptr %4, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp eq i32 %130, 1 %132 = zext i1 %131 to i64 %133 = select i1 %131, ptr @.str.3, ptr @.str.4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %129, ptr noundef %133) br label %142 135: ; preds = %125, %122, %119 %136 = load i32, ptr %2, align 4 %137 = load i32, ptr %2, align 4 %138 = icmp eq i32 %137, 1 %139 = zext i1 %138 to i64 %140 = select i1 %138, ptr @.str.7, ptr @.str.8 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %136, ptr noundef %140) br label %142 142: ; preds = %135, %128 br label %143 143: ; preds = %142, %112 br label %144 144: ; preds = %143, %91 br label %145 145: ; preds = %144, %70 br label %146 146: ; preds = %145, %49 br label %147 147: ; preds = %146, %23 %148 = load i32, ptr %5, align 4 %149 = load i32, ptr %5, align 4 %150 = icmp eq i32 %149, 1 %151 = zext i1 %150 to i64 %152 = select i1 %150, ptr @.str.7, ptr @.str.8 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %148, ptr noundef %152) %154 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %154 } 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/tmpgizdydj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Please only input non-negative integers: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"%d %s, %d %s and %d %s\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"hour\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"hours\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"minute\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"minutes\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"second\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"seconds\00", align 1 @.str.9 = private unnamed_addr constant [16 x i8] c"%d %s and %d %s\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 @.str.11 = private unnamed_addr constant [21 x i8] c" is equal to %d %s.\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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %8 = load i32, ptr %5, align 4 %9 = srem i32 %8, 60 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %5, align 4 %11 = sdiv i32 %10, 60 %12 = srem i32 %11, 60 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = sdiv i32 %13, 3600 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %17, label %40 17: ; preds = %0 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %20, label %40 20: ; preds = %17 %21 = load i32, ptr %4, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %40 23: ; preds = %20 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp eq i32 %25, 1 %27 = zext i1 %26 to i64 %28 = select i1 %26, ptr @.str.3, ptr @.str.4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp eq i32 %30, 1 %32 = zext i1 %31 to i64 %33 = select i1 %31, ptr @.str.5, ptr @.str.6 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp eq i32 %35, 1 %37 = zext i1 %36 to i64 %38 = select i1 %36, ptr @.str.7, ptr @.str.8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, ptr noundef %28, i32 noundef %29, ptr noundef %33, i32 noundef %34, ptr noundef %38) br label %147 40: ; preds = %20, %17, %0 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %61 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %61 46: ; preds = %43 %47 = load i32, ptr %3, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %61 49: ; preds = %46 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp eq i32 %51, 1 %53 = zext i1 %52 to i64 %54 = select i1 %52, ptr @.str.5, ptr @.str.6 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp eq i32 %56, 1 %58 = zext i1 %57 to i64 %59 = select i1 %57, ptr @.str.7, ptr @.str.8 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %50, ptr noundef %54, i32 noundef %55, ptr noundef %59) br label %146 61: ; preds = %46, %43, %40 %62 = load i32, ptr %2, align 4 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %82 64: ; preds = %61 %65 = load i32, ptr %3, align 4 %66 = icmp sgt i32 %65, 0 br i1 %66, label %67, label %82 67: ; preds = %64 %68 = load i32, ptr %4, align 4 %69 = icmp sgt i32 %68, 0 br i1 %69, label %70, label %82 70: ; preds = %67 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %4, align 4 %73 = icmp eq i32 %72, 1 %74 = zext i1 %73 to i64 %75 = select i1 %73, ptr @.str.3, ptr @.str.4 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = icmp eq i32 %77, 1 %79 = zext i1 %78 to i64 %80 = select i1 %78, ptr @.str.5, ptr @.str.6 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %71, ptr noundef %75, i32 noundef %76, ptr noundef %80) br label %145 82: ; preds = %67, %64, %61 %83 = load i32, ptr %3, align 4 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %103 85: ; preds = %82 %86 = load i32, ptr %2, align 4 %87 = icmp sgt i32 %86, 0 br i1 %87, label %88, label %103 88: ; preds = %85 %89 = load i32, ptr %4, align 4 %90 = icmp sgt i32 %89, 0 br i1 %90, label %91, label %103 91: ; preds = %88 %92 = load i32, ptr %4, align 4 %93 = load i32, ptr %4, align 4 %94 = icmp eq i32 %93, 1 %95 = zext i1 %94 to i64 %96 = select i1 %94, ptr @.str.3, ptr @.str.4 %97 = load i32, ptr %2, align 4 %98 = load i32, ptr %2, align 4 %99 = icmp eq i32 %98, 1 %100 = zext i1 %99 to i64 %101 = select i1 %99, ptr @.str.7, ptr @.str.8 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %92, ptr noundef %96, i32 noundef %97, ptr noundef %101) br label %144 103: ; preds = %88, %85, %82 %104 = load i32, ptr %3, align 4 %105 = icmp sgt i32 %104, 0 br i1 %105, label %106, label %119 106: ; preds = %103 %107 = load i32, ptr %2, align 4 %108 = icmp eq i32 %107, 0 br i1 %108, label %109, label %119 109: ; preds = %106 %110 = load i32, ptr %4, align 4 %111 = icmp eq i32 %110, 0 br i1 %111, label %112, label %119 112: ; preds = %109 %113 = load i32, ptr %3, align 4 %114 = load i32, ptr %3, align 4 %115 = icmp eq i32 %114, 1 %116 = zext i1 %115 to i64 %117 = select i1 %115, ptr @.str.5, ptr @.str.6 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %113, ptr noundef %117) br label %143 119: ; preds = %109, %106, %103 %120 = load i32, ptr %4, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %122, label %135 122: ; preds = %119 %123 = load i32, ptr %2, align 4 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %135 125: ; preds = %122 %126 = load i32, ptr %3, align 4 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %135 128: ; preds = %125 %129 = load i32, ptr %4, align 4 %130 = load i32, ptr %4, align 4 %131 = icmp eq i32 %130, 1 %132 = zext i1 %131 to i64 %133 = select i1 %131, ptr @.str.3, ptr @.str.4 %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %129, ptr noundef %133) br label %142 135: ; preds = %125, %122, %119 %136 = load i32, ptr %2, align 4 %137 = load i32, ptr %2, align 4 %138 = icmp eq i32 %137, 1 %139 = zext i1 %138 to i64 %140 = select i1 %138, ptr @.str.7, ptr @.str.8 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %136, ptr noundef %140) br label %142 142: ; preds = %135, %128 br label %143 143: ; preds = %142, %112 br label %144 144: ; preds = %143, %91 br label %145 145: ; preds = %144, %70 br label %146 146: ; preds = %145, %49 br label %147 147: ; preds = %146, %23 %148 = load i32, ptr %5, align 4 %149 = load i32, ptr %5, align 4 %150 = icmp eq i32 %149, 1 %151 = zext i1 %150 to i64 %152 = select i1 %150, ptr @.str.7, ptr @.str.8 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %148, ptr noundef %152) %154 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %154 } 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/tmp6s8k2n04.c' source_filename = "/tmp/tmp6s8k2n04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @file1_func1() %7 = call i32 (...) @file1_func3() %8 = call i32 (...) @file2_func2() ret i32 0 } declare i32 @file1_func1(...) #1 declare i32 @file1_func3(...) #1 declare i32 @file2_func2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6s8k2n04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @file1_func1() %7 = call i32 (...) @file1_func3() %8 = call i32 (...) @file2_func2() ret i32 0 } declare i32 @file1_func1(...) #1 declare i32 @file1_func3(...) #1 declare i32 @file2_func2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpki_szdd_.c' source_filename = "/tmp/tmpki_szdd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sharedbuffer_reset() #0 { %1 = call i32 (...) @sharedbuffer_end() ret void } declare i32 @sharedbuffer_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpki_szdd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sharedbuffer_reset() #0 { %1 = call i32 (...) @sharedbuffer_end() ret void } declare i32 @sharedbuffer_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpycb_hcz6.c' source_filename = "/tmp/tmpycb_hcz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_gmatch(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @com_xmatch(i32 noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @com_xmatch(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/tmpycb_hcz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_gmatch(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @com_xmatch(i32 noundef %5, ptr noundef %6, i32 noundef 1) ret i32 %7 } declare i32 @com_xmatch(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/tmpl5pnvmf7.c' source_filename = "/tmp/tmpl5pnvmf7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Error: %s -- %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_or_die(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 ret void 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = call ptr @procparse_strerr(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @procparse_strerr(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/tmpl5pnvmf7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"Error: %s -- %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_or_die(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %2 ret void 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %3, align 4 %12 = call ptr @procparse_strerr(i32 noundef %11) %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @procparse_strerr(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/tmp8juzxt7q.c' source_filename = "/tmp/tmp8juzxt7q.c" target datalayout = "e-m:e-p270: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.tms = type { float } @_SC_CLK_TCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @report_cpu_time() #0 { %1 = alloca %struct.tms, align 4 %2 = alloca float, align 4 %3 = call i32 @times(ptr noundef %1) %4 = getelementptr inbounds %struct.tms, ptr %1, i32 0, i32 0 %5 = load float, ptr %4, align 4 %6 = load i32, ptr @_SC_CLK_TCK, align 4 %7 = call i64 @sysconf(i32 noundef %6) %8 = sitofp i64 %7 to float %9 = fdiv float %5, %8 store float %9, ptr %2, align 4 %10 = load float, ptr %2, align 4 ret float %10 } declare i32 @times(ptr noundef) #1 declare i64 @sysconf(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/tmp8juzxt7q.c" target datalayout = "e-m:e-p270: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.tms = type { float } @_SC_CLK_TCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @report_cpu_time() #0 { %1 = alloca %struct.tms, align 4 %2 = alloca float, align 4 %3 = call i32 @times(ptr noundef %1) %4 = getelementptr inbounds %struct.tms, ptr %1, i32 0, i32 0 %5 = load float, ptr %4, align 4 %6 = load i32, ptr @_SC_CLK_TCK, align 4 %7 = call i64 @sysconf(i32 noundef %6) %8 = sitofp i64 %7 to float %9 = fdiv float %5, %8 store float %9, ptr %2, align 4 %10 = load float, ptr %2, align 4 ret float %10 } declare i32 @times(ptr noundef) #1 declare i64 @sysconf(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/tmp2q61ibrm.c' source_filename = "/tmp/tmp2q61ibrm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 %7 = xor i1 %6, true %8 = xor i1 %7, true %9 = zext i1 %8 to i32 %10 = mul nsw i32 %9, 1 %11 = sub nsw i32 %3, %10 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = and i32 %22, 2 %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true %26 = xor i1 %25, true %27 = zext i1 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %2, align 4 %32 = and i32 %31, 4 %33 = icmp ne i32 %32, 0 %34 = xor i1 %33, true %35 = xor i1 %34, true %36 = zext i1 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i32 %39 = call i32 @assert(i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = and i32 %41, 1 %43 = icmp ne i32 %42, 0 %44 = xor i1 %43, true %45 = xor i1 %44, true %46 = zext i1 %45 to i32 %47 = mul nsw i32 %46, 1 %48 = sub nsw i32 %40, %47 %49 = add nsw i32 %48, 0 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %2, align 4 %51 = and i32 %50, 1 %52 = icmp ne i32 %51, 0 %53 = xor i1 %52, true %54 = xor i1 %53, true %55 = zext i1 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = load i32, ptr %2, align 4 %60 = and i32 %59, 2 %61 = icmp ne i32 %60, 0 %62 = xor i1 %61, true %63 = xor i1 %62, true %64 = zext i1 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) %68 = load i32, ptr %2, align 4 %69 = and i32 %68, 4 %70 = icmp ne i32 %69, 0 %71 = xor i1 %70, true %72 = xor i1 %71, true %73 = zext i1 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %2, align 4 %79 = and i32 %78, 4 %80 = icmp ne i32 %79, 0 %81 = xor i1 %80, true %82 = xor i1 %81, true %83 = zext i1 %82 to i32 %84 = mul nsw i32 %83, 4 %85 = sub nsw i32 %77, %84 %86 = add nsw i32 %85, 4 store i32 %86, ptr %2, align 4 %87 = load i32, ptr %2, align 4 %88 = load i32, ptr %2, align 4 %89 = and i32 %88, 2 %90 = icmp ne i32 %89, 0 %91 = xor i1 %90, true %92 = xor i1 %91, true %93 = zext i1 %92 to i32 %94 = mul nsw i32 %93, 2 %95 = sub nsw i32 %87, %94 %96 = add nsw i32 %95, 2 store i32 %96, ptr %2, align 4 %97 = load i32, ptr %2, align 4 %98 = and i32 %97, 1 %99 = icmp ne i32 %98, 0 %100 = xor i1 %99, true %101 = xor i1 %100, true %102 = zext i1 %101 to i32 %103 = icmp eq i32 %102, 0 %104 = zext i1 %103 to i32 %105 = call i32 @assert(i32 noundef %104) %106 = load i32, ptr %2, align 4 %107 = and i32 %106, 2 %108 = icmp ne i32 %107, 0 %109 = xor i1 %108, true %110 = xor i1 %109, true %111 = zext i1 %110 to i32 %112 = icmp eq i32 %111, 1 %113 = zext i1 %112 to i32 %114 = call i32 @assert(i32 noundef %113) %115 = load i32, ptr %2, align 4 %116 = and i32 %115, 4 %117 = icmp ne i32 %116, 0 %118 = xor i1 %117, true %119 = xor i1 %118, true %120 = zext i1 %119 to i32 %121 = icmp eq i32 %120, 1 %122 = zext i1 %121 to i32 %123 = call i32 @assert(i32 noundef %122) %124 = load i32, ptr %2, align 4 %125 = load i32, ptr %2, align 4 %126 = and i32 %125, 2 %127 = icmp ne i32 %126, 0 %128 = xor i1 %127, true %129 = xor i1 %128, true %130 = zext i1 %129 to i32 %131 = mul nsw i32 %130, 2 %132 = sub nsw i32 %124, %131 %133 = add nsw i32 %132, 0 store i32 %133, ptr %2, align 4 %134 = load i32, ptr %2, align 4 %135 = and i32 %134, 1 %136 = icmp ne i32 %135, 0 %137 = xor i1 %136, true %138 = xor i1 %137, true %139 = zext i1 %138 to i32 %140 = icmp eq i32 %139, 0 %141 = zext i1 %140 to i32 %142 = call i32 @assert(i32 noundef %141) %143 = load i32, ptr %2, align 4 %144 = and i32 %143, 2 %145 = icmp ne i32 %144, 0 %146 = xor i1 %145, true %147 = xor i1 %146, true %148 = zext i1 %147 to i32 %149 = icmp eq i32 %148, 0 %150 = zext i1 %149 to i32 %151 = call i32 @assert(i32 noundef %150) %152 = load i32, ptr %2, align 4 %153 = and i32 %152, 4 %154 = icmp ne i32 %153, 0 %155 = xor i1 %154, true %156 = xor i1 %155, true %157 = zext i1 %156 to i32 %158 = icmp eq i32 %157, 1 %159 = zext i1 %158 to i32 %160 = call i32 @assert(i32 noundef %159) %161 = load i32, ptr %1, align 4 ret i32 %161 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2q61ibrm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 %7 = xor i1 %6, true %8 = xor i1 %7, true %9 = zext i1 %8 to i32 %10 = mul nsw i32 %9, 1 %11 = sub nsw i32 %3, %10 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true %17 = xor i1 %16, true %18 = zext i1 %17 to i32 %19 = icmp eq i32 %18, 1 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load i32, ptr %2, align 4 %23 = and i32 %22, 2 %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true %26 = xor i1 %25, true %27 = zext i1 %26 to i32 %28 = icmp eq i32 %27, 0 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = load i32, ptr %2, align 4 %32 = and i32 %31, 4 %33 = icmp ne i32 %32, 0 %34 = xor i1 %33, true %35 = xor i1 %34, true %36 = zext i1 %35 to i32 %37 = icmp eq i32 %36, 0 %38 = zext i1 %37 to i32 %39 = call i32 @assert(i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = and i32 %41, 1 %43 = icmp ne i32 %42, 0 %44 = xor i1 %43, true %45 = xor i1 %44, true %46 = zext i1 %45 to i32 %47 = mul nsw i32 %46, 1 %48 = sub nsw i32 %40, %47 %49 = add nsw i32 %48, 0 store i32 %49, ptr %2, align 4 %50 = load i32, ptr %2, align 4 %51 = and i32 %50, 1 %52 = icmp ne i32 %51, 0 %53 = xor i1 %52, true %54 = xor i1 %53, true %55 = zext i1 %54 to i32 %56 = icmp eq i32 %55, 0 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = load i32, ptr %2, align 4 %60 = and i32 %59, 2 %61 = icmp ne i32 %60, 0 %62 = xor i1 %61, true %63 = xor i1 %62, true %64 = zext i1 %63 to i32 %65 = icmp eq i32 %64, 0 %66 = zext i1 %65 to i32 %67 = call i32 @assert(i32 noundef %66) %68 = load i32, ptr %2, align 4 %69 = and i32 %68, 4 %70 = icmp ne i32 %69, 0 %71 = xor i1 %70, true %72 = xor i1 %71, true %73 = zext i1 %72 to i32 %74 = icmp eq i32 %73, 0 %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = load i32, ptr %2, align 4 %78 = load i32, ptr %2, align 4 %79 = and i32 %78, 4 %80 = icmp ne i32 %79, 0 %81 = xor i1 %80, true %82 = xor i1 %81, true %83 = zext i1 %82 to i32 %84 = mul nsw i32 %83, 4 %85 = sub nsw i32 %77, %84 %86 = add nsw i32 %85, 4 store i32 %86, ptr %2, align 4 %87 = load i32, ptr %2, align 4 %88 = load i32, ptr %2, align 4 %89 = and i32 %88, 2 %90 = icmp ne i32 %89, 0 %91 = xor i1 %90, true %92 = xor i1 %91, true %93 = zext i1 %92 to i32 %94 = mul nsw i32 %93, 2 %95 = sub nsw i32 %87, %94 %96 = add nsw i32 %95, 2 store i32 %96, ptr %2, align 4 %97 = load i32, ptr %2, align 4 %98 = and i32 %97, 1 %99 = icmp ne i32 %98, 0 %100 = xor i1 %99, true %101 = xor i1 %100, true %102 = zext i1 %101 to i32 %103 = icmp eq i32 %102, 0 %104 = zext i1 %103 to i32 %105 = call i32 @assert(i32 noundef %104) %106 = load i32, ptr %2, align 4 %107 = and i32 %106, 2 %108 = icmp ne i32 %107, 0 %109 = xor i1 %108, true %110 = xor i1 %109, true %111 = zext i1 %110 to i32 %112 = icmp eq i32 %111, 1 %113 = zext i1 %112 to i32 %114 = call i32 @assert(i32 noundef %113) %115 = load i32, ptr %2, align 4 %116 = and i32 %115, 4 %117 = icmp ne i32 %116, 0 %118 = xor i1 %117, true %119 = xor i1 %118, true %120 = zext i1 %119 to i32 %121 = icmp eq i32 %120, 1 %122 = zext i1 %121 to i32 %123 = call i32 @assert(i32 noundef %122) %124 = load i32, ptr %2, align 4 %125 = load i32, ptr %2, align 4 %126 = and i32 %125, 2 %127 = icmp ne i32 %126, 0 %128 = xor i1 %127, true %129 = xor i1 %128, true %130 = zext i1 %129 to i32 %131 = mul nsw i32 %130, 2 %132 = sub nsw i32 %124, %131 %133 = add nsw i32 %132, 0 store i32 %133, ptr %2, align 4 %134 = load i32, ptr %2, align 4 %135 = and i32 %134, 1 %136 = icmp ne i32 %135, 0 %137 = xor i1 %136, true %138 = xor i1 %137, true %139 = zext i1 %138 to i32 %140 = icmp eq i32 %139, 0 %141 = zext i1 %140 to i32 %142 = call i32 @assert(i32 noundef %141) %143 = load i32, ptr %2, align 4 %144 = and i32 %143, 2 %145 = icmp ne i32 %144, 0 %146 = xor i1 %145, true %147 = xor i1 %146, true %148 = zext i1 %147 to i32 %149 = icmp eq i32 %148, 0 %150 = zext i1 %149 to i32 %151 = call i32 @assert(i32 noundef %150) %152 = load i32, ptr %2, align 4 %153 = and i32 %152, 4 %154 = icmp ne i32 %153, 0 %155 = xor i1 %154, true %156 = xor i1 %155, true %157 = zext i1 %156 to i32 %158 = icmp eq i32 %157, 1 %159 = zext i1 %158 to i32 %160 = call i32 @assert(i32 noundef %159) %161 = load i32, ptr %1, align 4 ret i32 %161 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplio91hh4.c' source_filename = "/tmp/tmplio91hh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <IP> <Port> \0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"connect() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i64, align 8 %9 = alloca [30 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = load i32, ptr @PF_INET, align 4 %20 = load i32, ptr @SOCK_STREAM, align 4 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 @inet_addr(ptr noundef %27) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) %35 = call i32 @htons(i32 noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef 12) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %18 %41 = call i32 @error_handling(ptr noundef @.str.1) br label %42 42: ; preds = %40, %18 %43 = call i64 (...) @fork() store i64 %43, ptr %8, align 8 %44 = load i64, ptr %8, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load i32, ptr %6, align 4 %48 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0 %49 = call i32 @write_routine(i32 noundef %47, ptr noundef %48) br label %54 50: ; preds = %42 %51 = load i32, ptr %6, align 4 %52 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @read_routine(i32 noundef %51, ptr noundef %52) br label %54 54: ; preds = %50, %46 %55 = load i32, ptr %6, align 4 %56 = call i32 @close(i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error_handling(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @write_routine(i32 noundef, ptr noundef) #1 declare i32 @read_routine(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplio91hh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [24 x i8] c"Usage: %s <IP> <Port> \0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"connect() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i64, align 8 %9 = alloca [30 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 3 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %2 %19 = load i32, ptr @PF_INET, align 4 %20 = load i32, ptr @SOCK_STREAM, align 4 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) store i32 %21, ptr %6, align 4 %22 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 %27 = load ptr, ptr %26, align 8 %28 = call i32 @inet_addr(ptr noundef %27) %29 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 2 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) %35 = call i32 @htons(i32 noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %35, ptr %36, align 4 %37 = load i32, ptr %6, align 4 %38 = call i32 @connect(i32 noundef %37, ptr noundef %7, i32 noundef 12) %39 = icmp eq i32 %38, -1 br i1 %39, label %40, label %42 40: ; preds = %18 %41 = call i32 @error_handling(ptr noundef @.str.1) br label %42 42: ; preds = %40, %18 %43 = call i64 (...) @fork() store i64 %43, ptr %8, align 8 %44 = load i64, ptr %8, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load i32, ptr %6, align 4 %48 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0 %49 = call i32 @write_routine(i32 noundef %47, ptr noundef %48) br label %54 50: ; preds = %42 %51 = load i32, ptr %6, align 4 %52 = getelementptr inbounds [30 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @read_routine(i32 noundef %51, ptr noundef %52) br label %54 54: ; preds = %50, %46 %55 = load i32, ptr %6, align 4 %56 = call i32 @close(i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @error_handling(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @write_routine(i32 noundef, ptr noundef) #1 declare i32 @read_routine(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwfcpyfey.c' source_filename = "/tmp/tmpwfcpyfey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @conv_damping.prevPA = internal global ptr null, align 8 @conv_damping.prevPB = internal global ptr null, align 8 @conv_damping.nIter = internal global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"conv_damping : invalid range of alpha\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"conv_damping : detect prior initialized pointers\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"conv_damping : cannot allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @conv_damping(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 store i32 %0, ptr %6, align 4 store float %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %38 15: ; preds = %4 %16 = load float, ptr %7, align 4 %17 = fpext float %16 to double %18 = fcmp oeq double %17, 0.000000e+00 br i1 %18, label %19, label %38 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %38 22: ; preds = %19 %23 = load ptr, ptr %9, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %38 25: ; preds = %22 store i32 0, ptr @conv_damping.nIter, align 4 %26 = load ptr, ptr @conv_damping.prevPA, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr @conv_damping.prevPA, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr @conv_damping.prevPA, align 8 br label %31 31: ; preds = %28, %25 %32 = load ptr, ptr @conv_damping.prevPB, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load ptr, ptr @conv_damping.prevPB, align 8 %36 = call i32 @free(ptr noundef %35) store ptr null, ptr @conv_damping.prevPB, align 8 br label %37 37: ; preds = %34, %31 store float 0.000000e+00, ptr %5, align 4 br label %392 38: ; preds = %22, %19, %15, %4 %39 = load float, ptr %7, align 4 %40 = fpext float %39 to double %41 = fcmp olt double %40, 0.000000e+00 br i1 %41, label %46, label %42 42: ; preds = %38 %43 = load float, ptr %7, align 4 %44 = fpext float %43 to double %45 = fcmp ogt double %44, 1.000000e+00 br i1 %45, label %46, label %49 46: ; preds = %42, %38 %47 = call i32 @printf(ptr noundef @.str) %48 = call i32 @exit(i32 noundef -1) #4 unreachable 49: ; preds = %42 %50 = load i32, ptr @conv_damping.nIter, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %133 52: ; preds = %49 %53 = load ptr, ptr @conv_damping.prevPA, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %58, label %55 55: ; preds = %52 %56 = load ptr, ptr @conv_damping.prevPB, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %61 58: ; preds = %55, %52 %59 = call i32 @printf(ptr noundef @.str.1) %60 = call i32 @exit(i32 noundef -1) #4 unreachable 61: ; preds = %55 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %6, align 4 %64 = mul nsw i32 %62, %63 %65 = call ptr @calloc(i32 noundef %64, i32 noundef 4) store ptr %65, ptr @conv_damping.prevPA, align 8 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = mul nsw i32 %66, %67 %69 = call ptr @calloc(i32 noundef %68, i32 noundef 4) store ptr %69, ptr @conv_damping.prevPB, align 8 %70 = load ptr, ptr @conv_damping.prevPA, align 8 %71 = icmp eq ptr %70, null br i1 %71, label %75, label %72 72: ; preds = %61 %73 = load ptr, ptr @conv_damping.prevPB, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %72, %61 %76 = call i32 @printf(ptr noundef @.str.2) %77 = call i32 @exit(i32 noundef -1) #4 unreachable 78: ; preds = %72 store i32 0, ptr %10, align 4 br label %79 79: ; preds = %127, %78 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %130 83: ; preds = %79 store i32 0, ptr %11, align 4 br label %84 84: ; preds = %123, %83 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr %6, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %126 88: ; preds = %84 %89 = load ptr, ptr %8, align 8 %90 = load i32, ptr %10, align 4 %91 = load i32, ptr %6, align 4 %92 = mul nsw i32 %90, %91 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %92, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds float, ptr %89, i64 %95 %97 = load float, ptr %96, align 4 %98 = load ptr, ptr @conv_damping.prevPA, align 8 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %6, align 4 %101 = mul nsw i32 %99, %100 %102 = load i32, ptr %11, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %98, i64 %104 store float %97, ptr %105, align 4 %106 = load ptr, ptr %9, align 8 %107 = load i32, ptr %10, align 4 %108 = load i32, ptr %6, align 4 %109 = mul nsw i32 %107, %108 %110 = load i32, ptr %11, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %106, i64 %112 %114 = load float, ptr %113, align 4 %115 = load ptr, ptr @conv_damping.prevPB, align 8 %116 = load i32, ptr %10, align 4 %117 = load i32, ptr %6, align 4 %118 = mul nsw i32 %116, %117 %119 = load i32, ptr %11, align 4 %120 = add nsw i32 %118, %119 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds float, ptr %115, i64 %121 store float %114, ptr %122, align 4 br label %123 123: ; preds = %88 %124 = load i32, ptr %11, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %11, align 4 br label %84, !llvm.loop !6 126: ; preds = %84 br label %127 127: ; preds = %126 %128 = load i32, ptr %10, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %10, align 4 br label %79, !llvm.loop !8 130: ; preds = %79 %131 = load i32, ptr @conv_damping.nIter, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr @conv_damping.nIter, align 4 store float 0.000000e+00, ptr %5, align 4 br label %392 133: ; preds = %49 store float 0.000000e+00, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %134 134: ; preds = %228, %133 %135 = load i32, ptr %10, align 4 %136 = load i32, ptr %6, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %138, label %231 138: ; preds = %134 store i32 0, ptr %11, align 4 br label %139 139: ; preds = %224, %138 %140 = load i32, ptr %11, align 4 %141 = load i32, ptr %6, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %143, label %227 143: ; preds = %139 %144 = load ptr, ptr %8, align 8 %145 = load i32, ptr %10, align 4 %146 = load i32, ptr %6, align 4 %147 = mul nsw i32 %145, %146 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %147, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds float, ptr %144, i64 %150 %152 = load float, ptr %151, align 4 %153 = load ptr, ptr @conv_damping.prevPA, align 8 %154 = load i32, ptr %10, align 4 %155 = load i32, ptr %6, align 4 %156 = mul nsw i32 %154, %155 %157 = load i32, ptr %11, align 4 %158 = add nsw i32 %156, %157 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds float, ptr %153, i64 %159 %161 = load float, ptr %160, align 4 %162 = fsub float %152, %161 %163 = load ptr, ptr %8, align 8 %164 = load i32, ptr %10, align 4 %165 = load i32, ptr %6, align 4 %166 = mul nsw i32 %164, %165 %167 = load i32, ptr %11, align 4 %168 = add nsw i32 %166, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds float, ptr %163, i64 %169 %171 = load float, ptr %170, align 4 %172 = load ptr, ptr @conv_damping.prevPA, align 8 %173 = load i32, ptr %10, align 4 %174 = load i32, ptr %6, align 4 %175 = mul nsw i32 %173, %174 %176 = load i32, ptr %11, align 4 %177 = add nsw i32 %175, %176 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds float, ptr %172, i64 %178 %180 = load float, ptr %179, align 4 %181 = fsub float %171, %180 %182 = load float, ptr %12, align 4 %183 = call float @llvm.fmuladd.f32(float %162, float %181, float %182) store float %183, ptr %12, align 4 %184 = load ptr, ptr %9, align 8 %185 = load i32, ptr %10, align 4 %186 = load i32, ptr %6, align 4 %187 = mul nsw i32 %185, %186 %188 = load i32, ptr %11, align 4 %189 = add nsw i32 %187, %188 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds float, ptr %184, i64 %190 %192 = load float, ptr %191, align 4 %193 = load ptr, ptr @conv_damping.prevPB, align 8 %194 = load i32, ptr %10, align 4 %195 = load i32, ptr %6, align 4 %196 = mul nsw i32 %194, %195 %197 = load i32, ptr %11, align 4 %198 = add nsw i32 %196, %197 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds float, ptr %193, i64 %199 %201 = load float, ptr %200, align 4 %202 = fsub float %192, %201 %203 = load ptr, ptr %9, align 8 %204 = load i32, ptr %10, align 4 %205 = load i32, ptr %6, align 4 %206 = mul nsw i32 %204, %205 %207 = load i32, ptr %11, align 4 %208 = add nsw i32 %206, %207 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %203, i64 %209 %211 = load float, ptr %210, align 4 %212 = load ptr, ptr @conv_damping.prevPB, align 8 %213 = load i32, ptr %10, align 4 %214 = load i32, ptr %6, align 4 %215 = mul nsw i32 %213, %214 %216 = load i32, ptr %11, align 4 %217 = add nsw i32 %215, %216 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds float, ptr %212, i64 %218 %220 = load float, ptr %219, align 4 %221 = fsub float %211, %220 %222 = load float, ptr %12, align 4 %223 = call float @llvm.fmuladd.f32(float %202, float %221, float %222) store float %223, ptr %12, align 4 br label %224 224: ; preds = %143 %225 = load i32, ptr %11, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %11, align 4 br label %139, !llvm.loop !9 227: ; preds = %139 br label %228 228: ; preds = %227 %229 = load i32, ptr %10, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %10, align 4 br label %134, !llvm.loop !10 231: ; preds = %134 %232 = load float, ptr %12, align 4 %233 = load i32, ptr %6, align 4 %234 = sitofp i32 %233 to float %235 = fdiv float %232, %234 %236 = load i32, ptr %6, align 4 %237 = sitofp i32 %236 to float %238 = fdiv float %235, %237 %239 = fpext float %238 to double %240 = fdiv double %239, 2.000000e+00 %241 = fptrunc double %240 to float %242 = call float @sqrt(float noundef %241) store float %242, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %243 243: ; preds = %333, %231 %244 = load i32, ptr %10, align 4 %245 = load i32, ptr %6, align 4 %246 = icmp slt i32 %244, %245 br i1 %246, label %247, label %336 247: ; preds = %243 store i32 0, ptr %11, align 4 br label %248 248: ; preds = %329, %247 %249 = load i32, ptr %11, align 4 %250 = load i32, ptr %6, align 4 %251 = icmp slt i32 %249, %250 br i1 %251, label %252, label %332 252: ; preds = %248 %253 = load ptr, ptr @conv_damping.prevPA, align 8 %254 = load i32, ptr %10, align 4 %255 = load i32, ptr %6, align 4 %256 = mul nsw i32 %254, %255 %257 = load i32, ptr %11, align 4 %258 = add nsw i32 %256, %257 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds float, ptr %253, i64 %259 %261 = load float, ptr %260, align 4 %262 = load float, ptr %7, align 4 %263 = load ptr, ptr %8, align 8 %264 = load i32, ptr %10, align 4 %265 = load i32, ptr %6, align 4 %266 = mul nsw i32 %264, %265 %267 = load i32, ptr %11, align 4 %268 = add nsw i32 %266, %267 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds float, ptr %263, i64 %269 %271 = load float, ptr %270, align 4 %272 = load ptr, ptr @conv_damping.prevPA, align 8 %273 = load i32, ptr %10, align 4 %274 = load i32, ptr %6, align 4 %275 = mul nsw i32 %273, %274 %276 = load i32, ptr %11, align 4 %277 = add nsw i32 %275, %276 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds float, ptr %272, i64 %278 %280 = load float, ptr %279, align 4 %281 = fsub float %271, %280 %282 = call float @llvm.fmuladd.f32(float %262, float %281, float %261) %283 = load ptr, ptr %8, align 8 %284 = load i32, ptr %10, align 4 %285 = load i32, ptr %6, align 4 %286 = mul nsw i32 %284, %285 %287 = load i32, ptr %11, align 4 %288 = add nsw i32 %286, %287 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds float, ptr %283, i64 %289 store float %282, ptr %290, align 4 %291 = load ptr, ptr @conv_damping.prevPB, align 8 %292 = load i32, ptr %10, align 4 %293 = load i32, ptr %6, align 4 %294 = mul nsw i32 %292, %293 %295 = load i32, ptr %11, align 4 %296 = add nsw i32 %294, %295 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds float, ptr %291, i64 %297 %299 = load float, ptr %298, align 4 %300 = load float, ptr %7, align 4 %301 = load ptr, ptr %9, align 8 %302 = load i32, ptr %10, align 4 %303 = load i32, ptr %6, align 4 %304 = mul nsw i32 %302, %303 %305 = load i32, ptr %11, align 4 %306 = add nsw i32 %304, %305 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds float, ptr %301, i64 %307 %309 = load float, ptr %308, align 4 %310 = load ptr, ptr @conv_damping.prevPB, align 8 %311 = load i32, ptr %10, align 4 %312 = load i32, ptr %6, align 4 %313 = mul nsw i32 %311, %312 %314 = load i32, ptr %11, align 4 %315 = add nsw i32 %313, %314 %316 = sext i32 %315 to i64 %317 = getelementptr inbounds float, ptr %310, i64 %316 %318 = load float, ptr %317, align 4 %319 = fsub float %309, %318 %320 = call float @llvm.fmuladd.f32(float %300, float %319, float %299) %321 = load ptr, ptr %9, align 8 %322 = load i32, ptr %10, align 4 %323 = load i32, ptr %6, align 4 %324 = mul nsw i32 %322, %323 %325 = load i32, ptr %11, align 4 %326 = add nsw i32 %324, %325 %327 = sext i32 %326 to i64 %328 = getelementptr inbounds float, ptr %321, i64 %327 store float %320, ptr %328, align 4 br label %329 329: ; preds = %252 %330 = load i32, ptr %11, align 4 %331 = add nsw i32 %330, 1 store i32 %331, ptr %11, align 4 br label %248, !llvm.loop !11 332: ; preds = %248 br label %333 333: ; preds = %332 %334 = load i32, ptr %10, align 4 %335 = add nsw i32 %334, 1 store i32 %335, ptr %10, align 4 br label %243, !llvm.loop !12 336: ; preds = %243 store i32 0, ptr %10, align 4 br label %337 337: ; preds = %385, %336 %338 = load i32, ptr %10, align 4 %339 = load i32, ptr %6, align 4 %340 = icmp slt i32 %338, %339 br i1 %340, label %341, label %388 341: ; preds = %337 store i32 0, ptr %11, align 4 br label %342 342: ; preds = %381, %341 %343 = load i32, ptr %11, align 4 %344 = load i32, ptr %6, align 4 %345 = icmp slt i32 %343, %344 br i1 %345, label %346, label %384 346: ; preds = %342 %347 = load ptr, ptr %8, align 8 %348 = load i32, ptr %10, align 4 %349 = load i32, ptr %6, align 4 %350 = mul nsw i32 %348, %349 %351 = load i32, ptr %11, align 4 %352 = add nsw i32 %350, %351 %353 = sext i32 %352 to i64 %354 = getelementptr inbounds float, ptr %347, i64 %353 %355 = load float, ptr %354, align 4 %356 = load ptr, ptr @conv_damping.prevPA, align 8 %357 = load i32, ptr %10, align 4 %358 = load i32, ptr %6, align 4 %359 = mul nsw i32 %357, %358 %360 = load i32, ptr %11, align 4 %361 = add nsw i32 %359, %360 %362 = sext i32 %361 to i64 %363 = getelementptr inbounds float, ptr %356, i64 %362 store float %355, ptr %363, align 4 %364 = load ptr, ptr %9, align 8 %365 = load i32, ptr %10, align 4 %366 = load i32, ptr %6, align 4 %367 = mul nsw i32 %365, %366 %368 = load i32, ptr %11, align 4 %369 = add nsw i32 %367, %368 %370 = sext i32 %369 to i64 %371 = getelementptr inbounds float, ptr %364, i64 %370 %372 = load float, ptr %371, align 4 %373 = load ptr, ptr @conv_damping.prevPB, align 8 %374 = load i32, ptr %10, align 4 %375 = load i32, ptr %6, align 4 %376 = mul nsw i32 %374, %375 %377 = load i32, ptr %11, align 4 %378 = add nsw i32 %376, %377 %379 = sext i32 %378 to i64 %380 = getelementptr inbounds float, ptr %373, i64 %379 store float %372, ptr %380, align 4 br label %381 381: ; preds = %346 %382 = load i32, ptr %11, align 4 %383 = add nsw i32 %382, 1 store i32 %383, ptr %11, align 4 br label %342, !llvm.loop !13 384: ; preds = %342 br label %385 385: ; preds = %384 %386 = load i32, ptr %10, align 4 %387 = add nsw i32 %386, 1 store i32 %387, ptr %10, align 4 br label %337, !llvm.loop !14 388: ; preds = %337 %389 = load i32, ptr @conv_damping.nIter, align 4 %390 = add nsw i32 %389, 1 store i32 %390, ptr @conv_damping.nIter, align 4 %391 = load float, ptr %12, align 4 store float %391, ptr %5, align 4 br label %392 392: ; preds = %388, %130, %37 %393 = load float, ptr %5, align 4 ret float %393 } declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwfcpyfey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @conv_damping.prevPA = internal global ptr null, align 8 @conv_damping.prevPB = internal global ptr null, align 8 @conv_damping.nIter = internal global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"conv_damping : invalid range of alpha\0A\00", align 1 @.str.1 = private unnamed_addr constant [50 x i8] c"conv_damping : detect prior initialized pointers\0A\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"conv_damping : cannot allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @conv_damping(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 store i32 %0, ptr %6, align 4 store float %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %38 15: ; preds = %4 %16 = load float, ptr %7, align 4 %17 = fpext float %16 to double %18 = fcmp oeq double %17, 0.000000e+00 br i1 %18, label %19, label %38 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %38 22: ; preds = %19 %23 = load ptr, ptr %9, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %38 25: ; preds = %22 store i32 0, ptr @conv_damping.nIter, align 4 %26 = load ptr, ptr @conv_damping.prevPA, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load ptr, ptr @conv_damping.prevPA, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr @conv_damping.prevPA, align 8 br label %31 31: ; preds = %28, %25 %32 = load ptr, ptr @conv_damping.prevPB, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load ptr, ptr @conv_damping.prevPB, align 8 %36 = call i32 @free(ptr noundef %35) store ptr null, ptr @conv_damping.prevPB, align 8 br label %37 37: ; preds = %34, %31 store float 0.000000e+00, ptr %5, align 4 br label %408 38: ; preds = %22, %19, %15, %4 %39 = load float, ptr %7, align 4 %40 = fpext float %39 to double %41 = fcmp olt double %40, 0.000000e+00 br i1 %41, label %46, label %42 42: ; preds = %38 %43 = load float, ptr %7, align 4 %44 = fpext float %43 to double %45 = fcmp ogt double %44, 1.000000e+00 br i1 %45, label %46, label %49 46: ; preds = %42, %38 %47 = call i32 @printf(ptr noundef @.str) %48 = call i32 @exit(i32 noundef -1) #4 unreachable 49: ; preds = %42 %50 = load i32, ptr @conv_damping.nIter, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %137 52: ; preds = %49 %53 = load ptr, ptr @conv_damping.prevPA, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %58, label %55 55: ; preds = %52 %56 = load ptr, ptr @conv_damping.prevPB, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %61 58: ; preds = %55, %52 %59 = call i32 @printf(ptr noundef @.str.1) %60 = call i32 @exit(i32 noundef -1) #4 unreachable 61: ; preds = %55 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %6, align 4 %64 = mul nsw i32 %62, %63 %65 = call ptr @calloc(i32 noundef %64, i32 noundef 4) store ptr %65, ptr @conv_damping.prevPA, align 8 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = mul nsw i32 %66, %67 %69 = call ptr @calloc(i32 noundef %68, i32 noundef 4) store ptr %69, ptr @conv_damping.prevPB, align 8 %70 = load ptr, ptr @conv_damping.prevPA, align 8 %71 = icmp eq ptr %70, null br i1 %71, label %75, label %72 72: ; preds = %61 %73 = load ptr, ptr @conv_damping.prevPB, align 8 %74 = icmp eq ptr %73, null br i1 %74, label %75, label %78 75: ; preds = %72, %61 %76 = call i32 @printf(ptr noundef @.str.2) %77 = call i32 @exit(i32 noundef -1) #4 unreachable 78: ; preds = %72 store i32 0, ptr %10, align 4 %79 = load i32, ptr %10, align 4 %80 = load i32, ptr %6, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %.lr.ph20, label %134 .lr.ph20: ; preds = %78 br label %82 82: ; preds = %.lr.ph20, %128 store i32 0, ptr %11, align 4 %83 = load i32, ptr %11, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph17, label %127 .lr.ph17: ; preds = %82 br label %86 86: ; preds = %.lr.ph17, %121 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %6, align 4 %90 = mul nsw i32 %88, %89 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %90, %91 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds float, ptr %87, i64 %93 %95 = load float, ptr %94, align 4 %96 = load ptr, ptr @conv_damping.prevPA, align 8 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %6, align 4 %99 = mul nsw i32 %97, %98 %100 = load i32, ptr %11, align 4 %101 = add nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds float, ptr %96, i64 %102 store float %95, ptr %103, align 4 %104 = load ptr, ptr %9, align 8 %105 = load i32, ptr %10, align 4 %106 = load i32, ptr %6, align 4 %107 = mul nsw i32 %105, %106 %108 = load i32, ptr %11, align 4 %109 = add nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %104, i64 %110 %112 = load float, ptr %111, align 4 %113 = load ptr, ptr @conv_damping.prevPB, align 8 %114 = load i32, ptr %10, align 4 %115 = load i32, ptr %6, align 4 %116 = mul nsw i32 %114, %115 %117 = load i32, ptr %11, align 4 %118 = add nsw i32 %116, %117 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds float, ptr %113, i64 %119 store float %112, ptr %120, align 4 br label %121 121: ; preds = %86 %122 = load i32, ptr %11, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %11, align 4 %124 = load i32, ptr %11, align 4 %125 = load i32, ptr %6, align 4 %126 = icmp slt i32 %124, %125 br i1 %126, label %86, label %._crit_edge18, !llvm.loop !6 ._crit_edge18: ; preds = %121 br label %127 127: ; preds = %._crit_edge18, %82 br label %128 128: ; preds = %127 %129 = load i32, ptr %10, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %10, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr %6, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %82, label %._crit_edge21, !llvm.loop !8 ._crit_edge21: ; preds = %128 br label %134 134: ; preds = %._crit_edge21, %78 %135 = load i32, ptr @conv_damping.nIter, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr @conv_damping.nIter, align 4 store float 0.000000e+00, ptr %5, align 4 br label %408 137: ; preds = %49 store float 0.000000e+00, ptr %12, align 4 store i32 0, ptr %10, align 4 %138 = load i32, ptr %10, align 4 %139 = load i32, ptr %6, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %.lr.ph2, label %239 .lr.ph2: ; preds = %137 br label %141 141: ; preds = %.lr.ph2, %233 store i32 0, ptr %11, align 4 %142 = load i32, ptr %11, align 4 %143 = load i32, ptr %6, align 4 %144 = icmp slt i32 %142, %143 br i1 %144, label %.lr.ph, label %232 .lr.ph: ; preds = %141 br label %145 145: ; preds = %.lr.ph, %226 %146 = load ptr, ptr %8, align 8 %147 = load i32, ptr %10, align 4 %148 = load i32, ptr %6, align 4 %149 = mul nsw i32 %147, %148 %150 = load i32, ptr %11, align 4 %151 = add nsw i32 %149, %150 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %146, i64 %152 %154 = load float, ptr %153, align 4 %155 = load ptr, ptr @conv_damping.prevPA, align 8 %156 = load i32, ptr %10, align 4 %157 = load i32, ptr %6, align 4 %158 = mul nsw i32 %156, %157 %159 = load i32, ptr %11, align 4 %160 = add nsw i32 %158, %159 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds float, ptr %155, i64 %161 %163 = load float, ptr %162, align 4 %164 = fsub float %154, %163 %165 = load ptr, ptr %8, align 8 %166 = load i32, ptr %10, align 4 %167 = load i32, ptr %6, align 4 %168 = mul nsw i32 %166, %167 %169 = load i32, ptr %11, align 4 %170 = add nsw i32 %168, %169 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds float, ptr %165, i64 %171 %173 = load float, ptr %172, align 4 %174 = load ptr, ptr @conv_damping.prevPA, align 8 %175 = load i32, ptr %10, align 4 %176 = load i32, ptr %6, align 4 %177 = mul nsw i32 %175, %176 %178 = load i32, ptr %11, align 4 %179 = add nsw i32 %177, %178 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds float, ptr %174, i64 %180 %182 = load float, ptr %181, align 4 %183 = fsub float %173, %182 %184 = load float, ptr %12, align 4 %185 = call float @llvm.fmuladd.f32(float %164, float %183, float %184) store float %185, ptr %12, align 4 %186 = load ptr, ptr %9, align 8 %187 = load i32, ptr %10, align 4 %188 = load i32, ptr %6, align 4 %189 = mul nsw i32 %187, %188 %190 = load i32, ptr %11, align 4 %191 = add nsw i32 %189, %190 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds float, ptr %186, i64 %192 %194 = load float, ptr %193, align 4 %195 = load ptr, ptr @conv_damping.prevPB, align 8 %196 = load i32, ptr %10, align 4 %197 = load i32, ptr %6, align 4 %198 = mul nsw i32 %196, %197 %199 = load i32, ptr %11, align 4 %200 = add nsw i32 %198, %199 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds float, ptr %195, i64 %201 %203 = load float, ptr %202, align 4 %204 = fsub float %194, %203 %205 = load ptr, ptr %9, align 8 %206 = load i32, ptr %10, align 4 %207 = load i32, ptr %6, align 4 %208 = mul nsw i32 %206, %207 %209 = load i32, ptr %11, align 4 %210 = add nsw i32 %208, %209 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds float, ptr %205, i64 %211 %213 = load float, ptr %212, align 4 %214 = load ptr, ptr @conv_damping.prevPB, align 8 %215 = load i32, ptr %10, align 4 %216 = load i32, ptr %6, align 4 %217 = mul nsw i32 %215, %216 %218 = load i32, ptr %11, align 4 %219 = add nsw i32 %217, %218 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds float, ptr %214, i64 %220 %222 = load float, ptr %221, align 4 %223 = fsub float %213, %222 %224 = load float, ptr %12, align 4 %225 = call float @llvm.fmuladd.f32(float %204, float %223, float %224) store float %225, ptr %12, align 4 br label %226 226: ; preds = %145 %227 = load i32, ptr %11, align 4 %228 = add nsw i32 %227, 1 store i32 %228, ptr %11, align 4 %229 = load i32, ptr %11, align 4 %230 = load i32, ptr %6, align 4 %231 = icmp slt i32 %229, %230 br i1 %231, label %145, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %226 br label %232 232: ; preds = %._crit_edge, %141 br label %233 233: ; preds = %232 %234 = load i32, ptr %10, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %10, align 4 %236 = load i32, ptr %10, align 4 %237 = load i32, ptr %6, align 4 %238 = icmp slt i32 %236, %237 br i1 %238, label %141, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %233 br label %239 239: ; preds = %._crit_edge3, %137 %240 = load float, ptr %12, align 4 %241 = load i32, ptr %6, align 4 %242 = sitofp i32 %241 to float %243 = fdiv float %240, %242 %244 = load i32, ptr %6, align 4 %245 = sitofp i32 %244 to float %246 = fdiv float %243, %245 %247 = fpext float %246 to double %248 = fdiv double %247, 2.000000e+00 %249 = fptrunc double %248 to float %250 = call float @sqrt(float noundef %249) store float %250, ptr %12, align 4 store i32 0, ptr %10, align 4 %251 = load i32, ptr %10, align 4 %252 = load i32, ptr %6, align 4 %253 = icmp slt i32 %251, %252 br i1 %253, label %.lr.ph8, label %348 .lr.ph8: ; preds = %239 br label %254 254: ; preds = %.lr.ph8, %342 store i32 0, ptr %11, align 4 %255 = load i32, ptr %11, align 4 %256 = load i32, ptr %6, align 4 %257 = icmp slt i32 %255, %256 br i1 %257, label %.lr.ph5, label %341 .lr.ph5: ; preds = %254 br label %258 258: ; preds = %.lr.ph5, %335 %259 = load ptr, ptr @conv_damping.prevPA, align 8 %260 = load i32, ptr %10, align 4 %261 = load i32, ptr %6, align 4 %262 = mul nsw i32 %260, %261 %263 = load i32, ptr %11, align 4 %264 = add nsw i32 %262, %263 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds float, ptr %259, i64 %265 %267 = load float, ptr %266, align 4 %268 = load float, ptr %7, align 4 %269 = load ptr, ptr %8, align 8 %270 = load i32, ptr %10, align 4 %271 = load i32, ptr %6, align 4 %272 = mul nsw i32 %270, %271 %273 = load i32, ptr %11, align 4 %274 = add nsw i32 %272, %273 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds float, ptr %269, i64 %275 %277 = load float, ptr %276, align 4 %278 = load ptr, ptr @conv_damping.prevPA, align 8 %279 = load i32, ptr %10, align 4 %280 = load i32, ptr %6, align 4 %281 = mul nsw i32 %279, %280 %282 = load i32, ptr %11, align 4 %283 = add nsw i32 %281, %282 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds float, ptr %278, i64 %284 %286 = load float, ptr %285, align 4 %287 = fsub float %277, %286 %288 = call float @llvm.fmuladd.f32(float %268, float %287, float %267) %289 = load ptr, ptr %8, align 8 %290 = load i32, ptr %10, align 4 %291 = load i32, ptr %6, align 4 %292 = mul nsw i32 %290, %291 %293 = load i32, ptr %11, align 4 %294 = add nsw i32 %292, %293 %295 = sext i32 %294 to i64 %296 = getelementptr inbounds float, ptr %289, i64 %295 store float %288, ptr %296, align 4 %297 = load ptr, ptr @conv_damping.prevPB, align 8 %298 = load i32, ptr %10, align 4 %299 = load i32, ptr %6, align 4 %300 = mul nsw i32 %298, %299 %301 = load i32, ptr %11, align 4 %302 = add nsw i32 %300, %301 %303 = sext i32 %302 to i64 %304 = getelementptr inbounds float, ptr %297, i64 %303 %305 = load float, ptr %304, align 4 %306 = load float, ptr %7, align 4 %307 = load ptr, ptr %9, align 8 %308 = load i32, ptr %10, align 4 %309 = load i32, ptr %6, align 4 %310 = mul nsw i32 %308, %309 %311 = load i32, ptr %11, align 4 %312 = add nsw i32 %310, %311 %313 = sext i32 %312 to i64 %314 = getelementptr inbounds float, ptr %307, i64 %313 %315 = load float, ptr %314, align 4 %316 = load ptr, ptr @conv_damping.prevPB, align 8 %317 = load i32, ptr %10, align 4 %318 = load i32, ptr %6, align 4 %319 = mul nsw i32 %317, %318 %320 = load i32, ptr %11, align 4 %321 = add nsw i32 %319, %320 %322 = sext i32 %321 to i64 %323 = getelementptr inbounds float, ptr %316, i64 %322 %324 = load float, ptr %323, align 4 %325 = fsub float %315, %324 %326 = call float @llvm.fmuladd.f32(float %306, float %325, float %305) %327 = load ptr, ptr %9, align 8 %328 = load i32, ptr %10, align 4 %329 = load i32, ptr %6, align 4 %330 = mul nsw i32 %328, %329 %331 = load i32, ptr %11, align 4 %332 = add nsw i32 %330, %331 %333 = sext i32 %332 to i64 %334 = getelementptr inbounds float, ptr %327, i64 %333 store float %326, ptr %334, align 4 br label %335 335: ; preds = %258 %336 = load i32, ptr %11, align 4 %337 = add nsw i32 %336, 1 store i32 %337, ptr %11, align 4 %338 = load i32, ptr %11, align 4 %339 = load i32, ptr %6, align 4 %340 = icmp slt i32 %338, %339 br i1 %340, label %258, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %335 br label %341 341: ; preds = %._crit_edge6, %254 br label %342 342: ; preds = %341 %343 = load i32, ptr %10, align 4 %344 = add nsw i32 %343, 1 store i32 %344, ptr %10, align 4 %345 = load i32, ptr %10, align 4 %346 = load i32, ptr %6, align 4 %347 = icmp slt i32 %345, %346 br i1 %347, label %254, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %342 br label %348 348: ; preds = %._crit_edge9, %239 store i32 0, ptr %10, align 4 %349 = load i32, ptr %10, align 4 %350 = load i32, ptr %6, align 4 %351 = icmp slt i32 %349, %350 br i1 %351, label %.lr.ph14, label %404 .lr.ph14: ; preds = %348 br label %352 352: ; preds = %.lr.ph14, %398 store i32 0, ptr %11, align 4 %353 = load i32, ptr %11, align 4 %354 = load i32, ptr %6, align 4 %355 = icmp slt i32 %353, %354 br i1 %355, label %.lr.ph11, label %397 .lr.ph11: ; preds = %352 br label %356 356: ; preds = %.lr.ph11, %391 %357 = load ptr, ptr %8, align 8 %358 = load i32, ptr %10, align 4 %359 = load i32, ptr %6, align 4 %360 = mul nsw i32 %358, %359 %361 = load i32, ptr %11, align 4 %362 = add nsw i32 %360, %361 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds float, ptr %357, i64 %363 %365 = load float, ptr %364, align 4 %366 = load ptr, ptr @conv_damping.prevPA, align 8 %367 = load i32, ptr %10, align 4 %368 = load i32, ptr %6, align 4 %369 = mul nsw i32 %367, %368 %370 = load i32, ptr %11, align 4 %371 = add nsw i32 %369, %370 %372 = sext i32 %371 to i64 %373 = getelementptr inbounds float, ptr %366, i64 %372 store float %365, ptr %373, align 4 %374 = load ptr, ptr %9, align 8 %375 = load i32, ptr %10, align 4 %376 = load i32, ptr %6, align 4 %377 = mul nsw i32 %375, %376 %378 = load i32, ptr %11, align 4 %379 = add nsw i32 %377, %378 %380 = sext i32 %379 to i64 %381 = getelementptr inbounds float, ptr %374, i64 %380 %382 = load float, ptr %381, align 4 %383 = load ptr, ptr @conv_damping.prevPB, align 8 %384 = load i32, ptr %10, align 4 %385 = load i32, ptr %6, align 4 %386 = mul nsw i32 %384, %385 %387 = load i32, ptr %11, align 4 %388 = add nsw i32 %386, %387 %389 = sext i32 %388 to i64 %390 = getelementptr inbounds float, ptr %383, i64 %389 store float %382, ptr %390, align 4 br label %391 391: ; preds = %356 %392 = load i32, ptr %11, align 4 %393 = add nsw i32 %392, 1 store i32 %393, ptr %11, align 4 %394 = load i32, ptr %11, align 4 %395 = load i32, ptr %6, align 4 %396 = icmp slt i32 %394, %395 br i1 %396, label %356, label %._crit_edge12, !llvm.loop !13 ._crit_edge12: ; preds = %391 br label %397 397: ; preds = %._crit_edge12, %352 br label %398 398: ; preds = %397 %399 = load i32, ptr %10, align 4 %400 = add nsw i32 %399, 1 store i32 %400, ptr %10, align 4 %401 = load i32, ptr %10, align 4 %402 = load i32, ptr %6, align 4 %403 = icmp slt i32 %401, %402 br i1 %403, label %352, label %._crit_edge15, !llvm.loop !14 ._crit_edge15: ; preds = %398 br label %404 404: ; preds = %._crit_edge15, %348 %405 = load i32, ptr @conv_damping.nIter, align 4 %406 = add nsw i32 %405, 1 store i32 %406, ptr @conv_damping.nIter, align 4 %407 = load float, ptr %12, align 4 store float %407, ptr %5, align 4 br label %408 408: ; preds = %404, %134, %37 %409 = load float, ptr %5, align 4 ret float %409 } declare i32 @free(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @calloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmp0t7qe469.c' source_filename = "/tmp/tmp0t7qe469.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutex_unlock(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 @pthread_mutex_unlock(ptr noundef %3) ret i32 %4 } declare i32 @pthread_mutex_unlock(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0t7qe469.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mutex_unlock(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 @pthread_mutex_unlock(ptr noundef %3) ret i32 %4 } declare i32 @pthread_mutex_unlock(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx19mxg_k.c' source_filename = "/tmp/tmpx19mxg_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRBEGINPATH_set() #0 { %1 = call ptr @U_EMR_CORE5(i32 noundef 59) ret ptr %1 } declare ptr @U_EMR_CORE5(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/tmpx19mxg_k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_EMRBEGINPATH_set() #0 { %1 = call ptr @U_EMR_CORE5(i32 noundef 59) ret ptr %1 } declare ptr @U_EMR_CORE5(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_9eesaq9.c' source_filename = "/tmp/tmp_9eesaq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interrupt_disable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 32 br i1 %4, label %5, label %6 5: ; preds = %1 br label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 32 %9 = call i32 @pic_disable(i32 noundef %8) br label %10 10: ; preds = %6, %5 ret void } declare i32 @pic_disable(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_9eesaq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interrupt_disable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 32 br i1 %4, label %5, label %6 5: ; preds = %1 br label %10 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 32 %9 = call i32 @pic_disable(i32 noundef %8) br label %10 10: ; preds = %6, %5 ret void } declare i32 @pic_disable(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_u4xzewz.c' source_filename = "/tmp/tmp_u4xzewz.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_putendl_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @ft_putstr_fd(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i64 @ft_putchar_fd(i8 noundef signext 10, i32 noundef %9) %11 = load i64, ptr @EXIT_SUCCESS, align 8 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr %5, align 4 br label %17 15: ; preds = %2 %16 = load i32, ptr @EXIT_FAILURE, align 4 br label %17 17: ; preds = %15, %13 %18 = phi i32 [ %14, %13 ], [ %16, %15 ] store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @ft_putstr_fd(ptr noundef, i32 noundef) #1 declare i64 @ft_putchar_fd(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/tmp_u4xzewz.c" target datalayout = "e-m:e-p270: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 i64 0, align 8 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ft_putendl_fd(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @ft_putstr_fd(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i64 @ft_putchar_fd(i8 noundef signext 10, i32 noundef %9) %11 = load i64, ptr @EXIT_SUCCESS, align 8 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr %5, align 4 br label %17 15: ; preds = %2 %16 = load i32, ptr @EXIT_FAILURE, align 4 br label %17 17: ; preds = %15, %13 %18 = phi i32 [ %14, %13 ], [ %16, %15 ] store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @ft_putstr_fd(ptr noundef, i32 noundef) #1 declare i64 @ft_putchar_fd(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/tmpd4k2q1_n.c' source_filename = "/tmp/tmpd4k2q1_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getfloat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 br label %10 10: ; preds = %14, %1 %11 = call i32 (...) @getch() store i32 %11, ptr %5, align 4 %12 = call i64 @isspace(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10 br label %10, !llvm.loop !6 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = call i64 @isdigit(i32 noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %32, label %19 19: ; preds = %15 %20 = load i32, ptr %5, align 4 %21 = icmp ne i32 %20, 43 br i1 %21, label %22, label %32 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 45 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr @EOF, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load i32, ptr %5, align 4 %31 = call i32 @ungetch(i32 noundef %30) store i32 0, ptr %2, align 4 br label %149 32: ; preds = %25, %22, %19, %15 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 45 %35 = zext i1 %34 to i64 %36 = select i1 %34, i32 -1, i32 1 store i32 %36, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp eq i32 %37, 43 br i1 %38, label %42, label %39 39: ; preds = %32 %40 = load i32, ptr %5, align 4 %41 = icmp eq i32 %40, 45 br i1 %41, label %42, label %44 42: ; preds = %39, %32 %43 = call i32 (...) @getch() store i32 %43, ptr %5, align 4 br label %44 44: ; preds = %42, %39 store float 0.000000e+00, ptr %6, align 4 br label %45 45: ; preds = %55, %44 %46 = load i32, ptr %5, align 4 %47 = call i64 @isdigit(i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %57 49: ; preds = %45 %50 = load float, ptr %6, align 4 %51 = load i32, ptr %5, align 4 %52 = sitofp i32 %51 to float %53 = call float @llvm.fmuladd.f32(float %50, float 1.000000e+01, float %52) %54 = fsub float %53, 4.800000e+01 store float %54, ptr %6, align 4 br label %55 55: ; preds = %49 %56 = call i32 (...) @getch() store i32 %56, ptr %5, align 4 br label %45, !llvm.loop !8 57: ; preds = %45 store i32 0, ptr %7, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp eq i32 %58, 46 br i1 %59, label %60, label %84 60: ; preds = %57 %61 = call i32 (...) @getch() store i32 %61, ptr %5, align 4 br label %62 62: ; preds = %74, %60 %63 = load i32, ptr %5, align 4 %64 = call i64 @isdigit(i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %76 66: ; preds = %62 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 %69 = load float, ptr %6, align 4 %70 = load i32, ptr %5, align 4 %71 = sitofp i32 %70 to float %72 = call float @llvm.fmuladd.f32(float %69, float 1.000000e+01, float %71) %73 = fsub float %72, 4.800000e+01 store float %73, ptr %6, align 4 br label %74 74: ; preds = %66 %75 = call i32 (...) @getch() store i32 %75, ptr %5, align 4 br label %62, !llvm.loop !9 76: ; preds = %62 %77 = load i32, ptr %5, align 4 %78 = load i32, ptr @EOF, align 4 %79 = icmp ne i32 %77, %78 br i1 %79, label %80, label %83 80: ; preds = %76 %81 = load i32, ptr %5, align 4 %82 = call i32 @ungetch(i32 noundef %81) br label %83 83: ; preds = %80, %76 br label %87 84: ; preds = %57 %85 = load i32, ptr %5, align 4 %86 = call i32 @ungetch(i32 noundef %85) br label %87 87: ; preds = %84, %83 %88 = load i32, ptr %4, align 4 %89 = sitofp i32 %88 to float %90 = load float, ptr %6, align 4 %91 = fmul float %89, %90 %92 = load i32, ptr %7, align 4 %93 = call float @pow(double noundef 1.000000e+01, i32 noundef %92) %94 = fdiv float %91, %93 store float %94, ptr %6, align 4 %95 = call i32 (...) @getch() store i32 %95, ptr %5, align 4 store i32 0, ptr %8, align 4 store double 0.000000e+00, ptr %9, align 8 %96 = load i32, ptr %5, align 4 %97 = icmp eq i32 %96, 101 br i1 %97, label %101, label %98 98: ; preds = %87 %99 = load i32, ptr %5, align 4 %100 = icmp eq i32 %99, 69 br i1 %100, label %101, label %135 101: ; preds = %98, %87 %102 = call i32 (...) @getch() store i32 %102, ptr %5, align 4 %103 = load i32, ptr %5, align 4 %104 = icmp eq i32 %103, 45 %105 = zext i1 %104 to i64 %106 = select i1 %104, double 1.000000e-01, double 1.000000e+01 store double %106, ptr %9, align 8 %107 = load i32, ptr %5, align 4 %108 = icmp ne i32 %107, 43 br i1 %108, label %109, label %115 109: ; preds = %101 %110 = load i32, ptr %5, align 4 %111 = icmp ne i32 %110, 45 br i1 %111, label %112, label %115 112: ; preds = %109 %113 = load i32, ptr %5, align 4 %114 = call i32 @ungetch(i32 noundef %113) br label %115 115: ; preds = %112, %109, %101 %116 = call i32 (...) @getch() store i32 %116, ptr %5, align 4 br label %117 117: ; preds = %127, %115 %118 = load i32, ptr %5, align 4 %119 = call i64 @isdigit(i32 noundef %118) %120 = icmp ne i64 %119, 0 br i1 %120, label %121, label %129 121: ; preds = %117 %122 = load i32, ptr %8, align 4 %123 = mul nsw i32 %122, 10 %124 = load i32, ptr %5, align 4 %125 = add nsw i32 %123, %124 %126 = sub nsw i32 %125, 48 store i32 %126, ptr %8, align 4 br label %127 127: ; preds = %121 %128 = call i32 (...) @getch() store i32 %128, ptr %5, align 4 br label %117, !llvm.loop !10 129: ; preds = %117 %130 = load double, ptr %9, align 8 %131 = load i32, ptr %8, align 4 %132 = call float @pow(double noundef %130, i32 noundef %131) %133 = load float, ptr %6, align 4 %134 = fmul float %133, %132 store float %134, ptr %6, align 4 br label %138 135: ; preds = %98 %136 = load i32, ptr %5, align 4 %137 = call i32 @ungetch(i32 noundef %136) br label %138 138: ; preds = %135, %129 %139 = load float, ptr %6, align 4 %140 = load ptr, ptr %3, align 8 store float %139, ptr %140, align 4 %141 = load i32, ptr %5, align 4 %142 = load i32, ptr @EOF, align 4 %143 = icmp ne i32 %141, %142 br i1 %143, label %144, label %147 144: ; preds = %138 %145 = load i32, ptr %5, align 4 %146 = call i32 @ungetch(i32 noundef %145) br label %147 147: ; preds = %144, %138 %148 = load i32, ptr %5, align 4 store i32 %148, ptr %2, align 4 br label %149 149: ; preds = %147, %29 %150 = load i32, ptr %2, align 4 ret i32 %150 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @isdigit(i32 noundef) #1 declare i32 @ungetch(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @pow(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd4k2q1_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getfloat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 store ptr %0, ptr %3, align 8 br label %10 10: ; preds = %10, %1 %11 = call i32 (...) @getch() store i32 %11, ptr %5, align 4 %12 = call i64 @isspace(i32 noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %10, label %14, !llvm.loop !6 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = call i64 @isdigit(i32 noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %31, label %18 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, 43 br i1 %20, label %21, label %31 21: ; preds = %18 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %22, 45 br i1 %23, label %24, label %31 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr @EOF, align 4 %27 = icmp ne i32 %25, %26 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = call i32 @ungetch(i32 noundef %29) store i32 0, ptr %2, align 4 br label %154 31: ; preds = %24, %21, %18, %14 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 45 %34 = zext i1 %33 to i64 %35 = select i1 %33, i32 -1, i32 1 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 43 br i1 %37, label %41, label %38 38: ; preds = %31 %39 = load i32, ptr %5, align 4 %40 = icmp eq i32 %39, 45 br i1 %40, label %41, label %43 41: ; preds = %38, %31 %42 = call i32 (...) @getch() store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %41, %38 store float 0.000000e+00, ptr %6, align 4 %44 = load i32, ptr %5, align 4 %45 = call i64 @isdigit(i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %.lr.ph, label %58 .lr.ph: ; preds = %43 br label %47 47: ; preds = %.lr.ph, %53 %48 = load float, ptr %6, align 4 %49 = load i32, ptr %5, align 4 %50 = sitofp i32 %49 to float %51 = call float @llvm.fmuladd.f32(float %48, float 1.000000e+01, float %50) %52 = fsub float %51, 4.800000e+01 store float %52, ptr %6, align 4 br label %53 53: ; preds = %47 %54 = call i32 (...) @getch() store i32 %54, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = call i64 @isdigit(i32 noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %47, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %53 br label %58 58: ; preds = %._crit_edge, %43 store i32 0, ptr %7, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp eq i32 %59, 46 br i1 %60, label %61, label %87 61: ; preds = %58 %62 = call i32 (...) @getch() store i32 %62, ptr %5, align 4 %63 = load i32, ptr %5, align 4 %64 = call i64 @isdigit(i32 noundef %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %.lr.ph2, label %79 .lr.ph2: ; preds = %61 br label %66 66: ; preds = %.lr.ph2, %74 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 %69 = load float, ptr %6, align 4 %70 = load i32, ptr %5, align 4 %71 = sitofp i32 %70 to float %72 = call float @llvm.fmuladd.f32(float %69, float 1.000000e+01, float %71) %73 = fsub float %72, 4.800000e+01 store float %73, ptr %6, align 4 br label %74 74: ; preds = %66 %75 = call i32 (...) @getch() store i32 %75, ptr %5, align 4 %76 = load i32, ptr %5, align 4 %77 = call i64 @isdigit(i32 noundef %76) %78 = icmp ne i64 %77, 0 br i1 %78, label %66, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %74 br label %79 79: ; preds = %._crit_edge3, %61 %80 = load i32, ptr %5, align 4 %81 = load i32, ptr @EOF, align 4 %82 = icmp ne i32 %80, %81 br i1 %82, label %83, label %86 83: ; preds = %79 %84 = load i32, ptr %5, align 4 %85 = call i32 @ungetch(i32 noundef %84) br label %86 86: ; preds = %83, %79 br label %90 87: ; preds = %58 %88 = load i32, ptr %5, align 4 %89 = call i32 @ungetch(i32 noundef %88) br label %90 90: ; preds = %87, %86 %91 = load i32, ptr %4, align 4 %92 = sitofp i32 %91 to float %93 = load float, ptr %6, align 4 %94 = fmul float %92, %93 %95 = load i32, ptr %7, align 4 %96 = call float @pow(double noundef 1.000000e+01, i32 noundef %95) %97 = fdiv float %94, %96 store float %97, ptr %6, align 4 %98 = call i32 (...) @getch() store i32 %98, ptr %5, align 4 store i32 0, ptr %8, align 4 store double 0.000000e+00, ptr %9, align 8 %99 = load i32, ptr %5, align 4 %100 = icmp eq i32 %99, 101 br i1 %100, label %104, label %101 101: ; preds = %90 %102 = load i32, ptr %5, align 4 %103 = icmp eq i32 %102, 69 br i1 %103, label %104, label %140 104: ; preds = %101, %90 %105 = call i32 (...) @getch() store i32 %105, ptr %5, align 4 %106 = load i32, ptr %5, align 4 %107 = icmp eq i32 %106, 45 %108 = zext i1 %107 to i64 %109 = select i1 %107, double 1.000000e-01, double 1.000000e+01 store double %109, ptr %9, align 8 %110 = load i32, ptr %5, align 4 %111 = icmp ne i32 %110, 43 br i1 %111, label %112, label %118 112: ; preds = %104 %113 = load i32, ptr %5, align 4 %114 = icmp ne i32 %113, 45 br i1 %114, label %115, label %118 115: ; preds = %112 %116 = load i32, ptr %5, align 4 %117 = call i32 @ungetch(i32 noundef %116) br label %118 118: ; preds = %115, %112, %104 %119 = call i32 (...) @getch() store i32 %119, ptr %5, align 4 %120 = load i32, ptr %5, align 4 %121 = call i64 @isdigit(i32 noundef %120) %122 = icmp ne i64 %121, 0 br i1 %122, label %.lr.ph5, label %134 .lr.ph5: ; preds = %118 br label %123 123: ; preds = %.lr.ph5, %129 %124 = load i32, ptr %8, align 4 %125 = mul nsw i32 %124, 10 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %125, %126 %128 = sub nsw i32 %127, 48 store i32 %128, ptr %8, align 4 br label %129 129: ; preds = %123 %130 = call i32 (...) @getch() store i32 %130, ptr %5, align 4 %131 = load i32, ptr %5, align 4 %132 = call i64 @isdigit(i32 noundef %131) %133 = icmp ne i64 %132, 0 br i1 %133, label %123, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %129 br label %134 134: ; preds = %._crit_edge6, %118 %135 = load double, ptr %9, align 8 %136 = load i32, ptr %8, align 4 %137 = call float @pow(double noundef %135, i32 noundef %136) %138 = load float, ptr %6, align 4 %139 = fmul float %138, %137 store float %139, ptr %6, align 4 br label %143 140: ; preds = %101 %141 = load i32, ptr %5, align 4 %142 = call i32 @ungetch(i32 noundef %141) br label %143 143: ; preds = %140, %134 %144 = load float, ptr %6, align 4 %145 = load ptr, ptr %3, align 8 store float %144, ptr %145, align 4 %146 = load i32, ptr %5, align 4 %147 = load i32, ptr @EOF, align 4 %148 = icmp ne i32 %146, %147 br i1 %148, label %149, label %152 149: ; preds = %143 %150 = load i32, ptr %5, align 4 %151 = call i32 @ungetch(i32 noundef %150) br label %152 152: ; preds = %149, %143 %153 = load i32, ptr %5, align 4 store i32 %153, ptr %2, align 4 br label %154 154: ; preds = %152, %28 %155 = load i32, ptr %2, align 4 ret i32 %155 } declare i64 @isspace(i32 noundef) #1 declare i32 @getch(...) #1 declare i64 @isdigit(i32 noundef) #1 declare i32 @ungetch(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @pow(double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree 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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp88m0ldoi.c' source_filename = "/tmp/tmp88m0ldoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load float, ptr %2, align 4 %8 = load float, ptr %3, align 4 %9 = fmul float %8, 3.000000e+00 %10 = call float @llvm.fmuladd.f32(float %7, float 2.000000e+00, float %9) %11 = load float, ptr %4, align 4 %12 = call float @llvm.fmuladd.f32(float %11, float 5.000000e+00, float %10) %13 = fdiv float %12, 1.000000e+01 store float %13, ptr %5, align 4 %14 = load float, ptr %5, align 4 %15 = call i32 @printf(ptr noundef @.str.1, float noundef %14) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88m0ldoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f %f %f\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load float, ptr %2, align 4 %8 = load float, ptr %3, align 4 %9 = fmul float %8, 3.000000e+00 %10 = call float @llvm.fmuladd.f32(float %7, float 2.000000e+00, float %9) %11 = load float, ptr %4, align 4 %12 = call float @llvm.fmuladd.f32(float %11, float 5.000000e+00, float %10) %13 = fdiv float %12, 1.000000e+01 store float %13, ptr %5, align 4 %14 = load float, ptr %5, align 4 %15 = call i32 @printf(ptr noundef @.str.1, float noundef %14) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_sfihdsg.c' source_filename = "/tmp/tmp_sfihdsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %15 = load ptr, ptr %6, align 8 store ptr %15, ptr %10, align 8 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %11, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %4 store ptr null, ptr %5, align 8 br label %88 21: ; preds = %4 %22 = load ptr, ptr %11, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = load ptr, ptr %11, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = icmp eq i32 %25, %29 br i1 %30, label %31, label %32 31: ; preds = %21 store i64 2, ptr %13, align 8 store i64 1, ptr %14, align 8 br label %33 32: ; preds = %21 store i64 1, ptr %13, align 8 store i64 2, ptr %14, align 8 br label %33 33: ; preds = %32, %31 store i64 0, ptr %12, align 8 br label %34 34: ; preds = %86, %33 %35 = load i64, ptr %12, align 8 %36 = load i64, ptr %7, align 8 %37 = load i64, ptr %9, align 8 %38 = sub i64 %36, %37 %39 = icmp ule i64 %35, %38 br i1 %39, label %40, label %87 40: ; preds = %34 %41 = load ptr, ptr %11, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = load ptr, ptr %10, align 8 %46 = load i64, ptr %12, align 8 %47 = add i64 %46, 1 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = icmp ne i32 %44, %50 br i1 %51, label %52, label %56 52: ; preds = %40 %53 = load i64, ptr %13, align 8 %54 = load i64, ptr %12, align 8 %55 = add i64 %54, %53 store i64 %55, ptr %12, align 8 br label %86 56: ; preds = %40 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 2 %59 = load ptr, ptr %10, align 8 %60 = load i64, ptr %12, align 8 %61 = getelementptr inbounds i8, ptr %59, i64 %60 %62 = getelementptr inbounds i8, ptr %61, i64 2 %63 = load i64, ptr %9, align 8 %64 = sub i64 %63, 2 %65 = call i32 @memcmp(ptr noundef %58, ptr noundef %62, i64 noundef %64) %66 = icmp ne i32 %65, 0 br i1 %66, label %82, label %67 67: ; preds = %56 %68 = load ptr, ptr %11, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 0 %70 = load i8, ptr %69, align 1 %71 = zext i8 %70 to i32 %72 = load ptr, ptr %10, align 8 %73 = load i64, ptr %12, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i8, ptr %74, align 1 %76 = zext i8 %75 to i32 %77 = icmp eq i32 %71, %76 br i1 %77, label %78, label %82 78: ; preds = %67 %79 = load ptr, ptr %10, align 8 %80 = load i64, ptr %12, align 8 %81 = getelementptr inbounds i8, ptr %79, i64 %80 store ptr %81, ptr %5, align 8 br label %88 82: ; preds = %67, %56 %83 = load i64, ptr %14, align 8 %84 = load i64, ptr %12, align 8 %85 = add i64 %84, %83 store i64 %85, ptr %12, align 8 br label %86 86: ; preds = %82, %52 br label %34, !llvm.loop !6 87: ; preds = %34 store ptr null, ptr %5, align 8 br label %88 88: ; preds = %87, %78, %20 %89 = load ptr, ptr %5, align 8 ret ptr %89 } declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_sfihdsg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmem(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %15 = load ptr, ptr %6, align 8 store ptr %15, ptr %10, align 8 %16 = load ptr, ptr %8, align 8 store ptr %16, ptr %11, align 8 %17 = load i64, ptr %9, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp ugt i64 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %4 store ptr null, ptr %5, align 8 br label %92 21: ; preds = %4 %22 = load ptr, ptr %11, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = load ptr, ptr %11, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = icmp eq i32 %25, %29 br i1 %30, label %31, label %32 31: ; preds = %21 store i64 2, ptr %13, align 8 store i64 1, ptr %14, align 8 br label %33 32: ; preds = %21 store i64 1, ptr %13, align 8 store i64 2, ptr %14, align 8 br label %33 33: ; preds = %32, %31 store i64 0, ptr %12, align 8 %34 = load i64, ptr %12, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %9, align 8 %37 = sub i64 %35, %36 %38 = icmp ule i64 %34, %37 br i1 %38, label %.lr.ph, label %91 .lr.ph: ; preds = %33 br label %39 39: ; preds = %.lr.ph, %85 %40 = load ptr, ptr %11, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 1 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = load ptr, ptr %10, align 8 %45 = load i64, ptr %12, align 8 %46 = add i64 %45, 1 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = icmp ne i32 %43, %49 br i1 %50, label %51, label %55 51: ; preds = %39 %52 = load i64, ptr %13, align 8 %53 = load i64, ptr %12, align 8 %54 = add i64 %53, %52 store i64 %54, ptr %12, align 8 br label %85 55: ; preds = %39 %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 2 %58 = load ptr, ptr %10, align 8 %59 = load i64, ptr %12, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = getelementptr inbounds i8, ptr %60, i64 2 %62 = load i64, ptr %9, align 8 %63 = sub i64 %62, 2 %64 = call i32 @memcmp(ptr noundef %57, ptr noundef %61, i64 noundef %63) %65 = icmp ne i32 %64, 0 br i1 %65, label %81, label %66 66: ; preds = %55 %67 = load ptr, ptr %11, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 0 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = load ptr, ptr %10, align 8 %72 = load i64, ptr %12, align 8 %73 = getelementptr inbounds i8, ptr %71, i64 %72 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp eq i32 %70, %75 br i1 %76, label %77, label %81 77: ; preds = %66 %78 = load ptr, ptr %10, align 8 %79 = load i64, ptr %12, align 8 %80 = getelementptr inbounds i8, ptr %78, i64 %79 store ptr %80, ptr %5, align 8 br label %92 81: ; preds = %66, %55 %82 = load i64, ptr %14, align 8 %83 = load i64, ptr %12, align 8 %84 = add i64 %83, %82 store i64 %84, ptr %12, align 8 br label %85 85: ; preds = %81, %51 %86 = load i64, ptr %12, align 8 %87 = load i64, ptr %7, align 8 %88 = load i64, ptr %9, align 8 %89 = sub i64 %87, %88 %90 = icmp ule i64 %86, %89 br i1 %90, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %91 91: ; preds = %._crit_edge, %33 store ptr null, ptr %5, align 8 br label %92 92: ; preds = %91, %77, %20 %93 = load ptr, ptr %5, align 8 ret ptr %93 } declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfsp4e3i1.c' source_filename = "/tmp/tmpfsp4e3i1.c" target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4 @O_ACCMODE = 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/tmpfsp4e3i1.c" target datalayout = "e-m:e-p270: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_GETFL = dso_local global i32 0, align 4 @O_ACCMODE = 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/tmp_7se3izz.c' source_filename = "/tmp/tmp_7se3izz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7se3izz.c" target datalayout = "e-m:e-p270: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/tmpntom2mqa.c' source_filename = "/tmp/tmpntom2mqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getche() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @getch() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @putchar(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @getch(...) #1 declare i32 @putchar(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/tmpntom2mqa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getche() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @getch() store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @putchar(i32 noundef %3) %5 = load i32, ptr %1, align 4 ret i32 %5 } declare i32 @getch(...) #1 declare i32 @putchar(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/tmpdtnnfj08.c' source_filename = "/tmp/tmpdtnnfj08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"byte\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ubyte\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"ushort\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"uint\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"ulong\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @int_type_name(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 switch i32 %6, label %27 [ i32 1, label %7 i32 2, label %12 i32 4, label %17 i32 8, label %22 ] 7: ; preds = %2 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, ptr @.str, ptr @.str.1 store ptr %11, ptr %3, align 8 br label %29 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, ptr @.str.2, ptr @.str.3 store ptr %16, ptr %3, align 8 br label %29 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, ptr @.str.4, ptr @.str.5 store ptr %21, ptr %3, align 8 br label %29 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 %25 = zext i1 %24 to i64 %26 = select i1 %24, ptr @.str.6, ptr @.str.7 store ptr %26, ptr %3, align 8 br label %29 27: ; preds = %2 %28 = call i32 @assert(i32 noundef 0) store ptr null, ptr %3, align 8 br label %29 29: ; preds = %27, %22, %17, %12, %7 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdtnnfj08.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"byte\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"ubyte\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"ushort\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"int\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"uint\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"long\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"ulong\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @int_type_name(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 switch i32 %6, label %27 [ i32 1, label %7 i32 2, label %12 i32 4, label %17 i32 8, label %22 ] 7: ; preds = %2 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, ptr @.str, ptr @.str.1 store ptr %11, ptr %3, align 8 br label %29 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 %15 = zext i1 %14 to i64 %16 = select i1 %14, ptr @.str.2, ptr @.str.3 store ptr %16, ptr %3, align 8 br label %29 17: ; preds = %2 %18 = load i32, ptr %5, align 4 %19 = icmp ne i32 %18, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, ptr @.str.4, ptr @.str.5 store ptr %21, ptr %3, align 8 br label %29 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 %25 = zext i1 %24 to i64 %26 = select i1 %24, ptr @.str.6, ptr @.str.7 store ptr %26, ptr %3, align 8 br label %29 27: ; preds = %2 %28 = call i32 @assert(i32 noundef 0) store ptr null, ptr %3, align 8 br label %29 29: ; preds = %27, %22, %17, %12, %7 %30 = load ptr, ptr %3, align 8 ret ptr %30 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjocj4gac.c' source_filename = "/tmp/tmpjocj4gac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0A\0AJust say it man, Yes or No? %c\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ask() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 16) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 (...) @getchar() %7 = call signext i8 @toupper(i32 noundef %6) store i8 %7, ptr %2, align 1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 89 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load i8, ptr %2, align 1 store i8 %12, ptr %1, align 1 br label %14 13: ; preds = %0 store i8 78, ptr %1, align 1 br label %14 14: ; preds = %13, %11 %15 = load i8, ptr %1, align 1 ret i8 %15 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare signext i8 @toupper(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjocj4gac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0A\0AJust say it man, Yes or No? %c\00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ask() #0 { %1 = alloca i8, align 1 %2 = alloca i8, align 1 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 16) %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 (...) @getchar() %7 = call signext i8 @toupper(i32 noundef %6) store i8 %7, ptr %2, align 1 %8 = load i8, ptr %2, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 89 br i1 %10, label %11, label %13 11: ; preds = %0 %12 = load i8, ptr %2, align 1 store i8 %12, ptr %1, align 1 br label %14 13: ; preds = %0 store i8 78, ptr %1, align 1 br label %14 14: ; preds = %13, %11 %15 = load i8, ptr %1, align 1 ret i8 %15 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare signext i8 @toupper(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2cb2hd74.c' source_filename = "/tmp/tmp2cb2hd74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @isalpha(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %54, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 42 br i1 %8, label %54, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 47 br i1 %11, label %54, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 62 br i1 %14, label %54, label %15 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 60 br i1 %17, label %54, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 61 br i1 %20, label %54, label %21 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = icmp eq i32 %22, 63 br i1 %23, label %54, label %24 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 33 br i1 %26, label %54, label %27 27: ; preds = %24 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %28, 95 br i1 %29, label %54, label %30 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, 37 br i1 %32, label %54, label %33 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 64 br i1 %35, label %54, label %36 36: ; preds = %33 %37 = load i32, ptr %2, align 4 %38 = icmp eq i32 %37, 126 br i1 %38, label %54, label %39 39: ; preds = %36 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 36 br i1 %41, label %54, label %42 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = icmp eq i32 %43, 94 br i1 %44, label %54, label %45 45: ; preds = %42 %46 = load i32, ptr %2, align 4 %47 = icmp eq i32 %46, 38 br i1 %47, label %54, label %48 48: ; preds = %45 %49 = load i32, ptr %2, align 4 %50 = icmp eq i32 %49, 124 br i1 %50, label %54, label %51 51: ; preds = %48 %52 = load i32, ptr %2, align 4 %53 = icmp eq i32 %52, 58 br label %54 54: ; preds = %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %1 %55 = phi i1 [ true, %48 ], [ true, %45 ], [ true, %42 ], [ true, %39 ], [ true, %36 ], [ true, %33 ], [ true, %30 ], [ true, %27 ], [ true, %24 ], [ true, %21 ], [ true, %18 ], [ true, %15 ], [ true, %12 ], [ true, %9 ], [ true, %6 ], [ true, %1 ], [ %53, %51 ] %56 = zext i1 %55 to i32 ret i32 %56 } declare i64 @isalpha(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/tmp2cb2hd74.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @isalpha(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %54, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 42 br i1 %8, label %54, label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 47 br i1 %11, label %54, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 62 br i1 %14, label %54, label %15 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 60 br i1 %17, label %54, label %18 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = icmp eq i32 %19, 61 br i1 %20, label %54, label %21 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = icmp eq i32 %22, 63 br i1 %23, label %54, label %24 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = icmp eq i32 %25, 33 br i1 %26, label %54, label %27 27: ; preds = %24 %28 = load i32, ptr %2, align 4 %29 = icmp eq i32 %28, 95 br i1 %29, label %54, label %30 30: ; preds = %27 %31 = load i32, ptr %2, align 4 %32 = icmp eq i32 %31, 37 br i1 %32, label %54, label %33 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = icmp eq i32 %34, 64 br i1 %35, label %54, label %36 36: ; preds = %33 %37 = load i32, ptr %2, align 4 %38 = icmp eq i32 %37, 126 br i1 %38, label %54, label %39 39: ; preds = %36 %40 = load i32, ptr %2, align 4 %41 = icmp eq i32 %40, 36 br i1 %41, label %54, label %42 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = icmp eq i32 %43, 94 br i1 %44, label %54, label %45 45: ; preds = %42 %46 = load i32, ptr %2, align 4 %47 = icmp eq i32 %46, 38 br i1 %47, label %54, label %48 48: ; preds = %45 %49 = load i32, ptr %2, align 4 %50 = icmp eq i32 %49, 124 br i1 %50, label %54, label %51 51: ; preds = %48 %52 = load i32, ptr %2, align 4 %53 = icmp eq i32 %52, 58 br label %54 54: ; preds = %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6, %1 %55 = phi i1 [ true, %48 ], [ true, %45 ], [ true, %42 ], [ true, %39 ], [ true, %36 ], [ true, %33 ], [ true, %30 ], [ true, %27 ], [ true, %24 ], [ true, %21 ], [ true, %18 ], [ true, %15 ], [ true, %12 ], [ true, %9 ], [ true, %6 ], [ true, %1 ], [ %53, %51 ] %56 = zext i1 %55 to i32 ret i32 %56 } declare i64 @isalpha(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/tmpkaihdt2e.c' source_filename = "/tmp/tmpkaihdt2e.c" target datalayout = "e-m:e-p270: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/tmpkaihdt2e.c" target datalayout = "e-m:e-p270: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/tmpuo9utorz.c' source_filename = "/tmp/tmpuo9utorz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [288 x i8] c"%s usage: %s\0A\09\09[-a | -d | -e | -c <mode>]\0A\09\09[-F | -f]\0A\09\09[-h]\0A\09\09[-i <interval>]\0A\09\09[-l <samples>]\0A\09\09[-ncols <columns>]\0A\09\09[-o <key>] [-O <secondaryKey>]\0A\09\09[-R | -r]\0A\09\09[-S]\0A\09\09[-s <delay>]\0A\09\09[-n <nprocs>]\0A\09\09[-stats <key(s)>]\0A\09\09[-pid <processid>]\0A\09\09[-user <username>]\0A\09\09[-U <username>]\0A\09\09[-u]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @top_options_usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef @.str.1) ret void } declare i32 @fprintf(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/tmpuo9utorz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [288 x i8] c"%s usage: %s\0A\09\09[-a | -d | -e | -c <mode>]\0A\09\09[-F | -f]\0A\09\09[-h]\0A\09\09[-i <interval>]\0A\09\09[-l <samples>]\0A\09\09[-ncols <columns>]\0A\09\09[-o <key>] [-O <secondaryKey>]\0A\09\09[-R | -r]\0A\09\09[-S]\0A\09\09[-s <delay>]\0A\09\09[-n <nprocs>]\0A\09\09[-stats <key(s)>]\0A\09\09[-pid <processid>]\0A\09\09[-user <username>]\0A\09\09[-U <username>]\0A\09\09[-u]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @top_options_usage(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef @.str.1) ret void } declare i32 @fprintf(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/tmpm0m_eimj.c' source_filename = "/tmp/tmpm0m_eimj.c" target datalayout = "e-m:e-p270: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/tmpm0m_eimj.c" target datalayout = "e-m:e-p270: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/tmpl0ud0avp.c' source_filename = "/tmp/tmpl0ud0avp.c" target datalayout = "e-m:e-p270: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/tmpl0ud0avp.c" target datalayout = "e-m:e-p270: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/tmp7by_xtwh.c' source_filename = "/tmp/tmp7by_xtwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%l %l %l %l\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 4, i32 noundef 8, i32 noundef 8, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7by_xtwh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%l %l %l %l\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str, i32 noundef 4, i32 noundef 8, i32 noundef 8, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqcujvet.c' source_filename = "/tmp/tmpvqcujvet.c" target datalayout = "e-m:e-p270: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/tmpvqcujvet.c" target datalayout = "e-m:e-p270: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/tmpt74s6zvj.c' source_filename = "/tmp/tmpt74s6zvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @_search(ptr noundef %10, i32 noundef %11, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %9, %8 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @_search(ptr noundef, i32 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/tmpt74s6zvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @_search(ptr noundef %10, i32 noundef %11, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %9, %8 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @_search(ptr noundef, i32 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/tmp_wgacwz5.c' source_filename = "/tmp/tmp_wgacwz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is fcntl demo\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"1.txt\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @F_GETFL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"fcnt;\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"flag = %x\0A\00", align 1 @O_APPEND = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [20 x i8] c"O_APPEND flag = %x\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"date\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef @.str.1, i32 noundef %8, i32 noundef 438) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str.2) br label %52 14: ; preds = %0 store i64 0, ptr %3, align 8 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr @F_GETFL, align 4 %17 = call i64 (i32, i32, ...) @fcntl(i32 noundef %15, i32 noundef %16) store i64 %17, ptr %3, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @perror(ptr noundef @.str.3) br label %52 21: ; preds = %14 %22 = load i64, ptr %3, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %22) %24 = load i64, ptr @O_APPEND, align 8 %25 = load i64, ptr %3, align 8 %26 = or i64 %25, %24 store i64 %26, ptr %3, align 8 %27 = load i64, ptr %3, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr @F_SETFL, align 4 %31 = load i64, ptr %3, align 8 %32 = call i64 (i32, i32, ...) @fcntl(i32 noundef %29, i32 noundef %30, i64 noundef %31) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %21 %35 = call i32 @perror(ptr noundef @.str.6) br label %52 36: ; preds = %21 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr @STDOUT_FILENO, align 4 %39 = call i32 @dup2(i32 noundef %37, i32 noundef %38) store i32 0, ptr %4, align 4 br label %40 40: ; preds = %46, %36 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 10 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = call i32 @system(ptr noundef @.str.7) %45 = call i32 @sleep(i32 noundef 1) br label %46 46: ; preds = %43 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %40, !llvm.loop !6 49: ; preds = %40 %50 = load i32, ptr %2, align 4 %51 = call i32 @close(i32 noundef %50) store i32 0, ptr %1, align 4 br label %53 52: ; preds = %34, %19, %12 store i32 -1, ptr %1, align 4 br label %53 53: ; preds = %52, %49 %54 = load i32, ptr %1, align 4 ret i32 %54 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @sleep(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp_wgacwz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is fcntl demo\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"1.txt\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @F_GETFL = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [6 x i8] c"fcnt;\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"flag = %x\0A\00", align 1 @O_APPEND = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [20 x i8] c"O_APPEND flag = %x\0A\00", align 1 @F_SETFL = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [5 x i8] c"date\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @foo1() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = load i32, ptr @O_WRONLY, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = or i32 %6, %7 %9 = call i32 @open(ptr noundef @.str.1, i32 noundef %8, i32 noundef 438) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str.2) br label %53 14: ; preds = %0 store i64 0, ptr %3, align 8 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr @F_GETFL, align 4 %17 = call i64 (i32, i32, ...) @fcntl(i32 noundef %15, i32 noundef %16) store i64 %17, ptr %3, align 8 %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %14 %20 = call i32 @perror(ptr noundef @.str.3) br label %53 21: ; preds = %14 %22 = load i64, ptr %3, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %22) %24 = load i64, ptr @O_APPEND, align 8 %25 = load i64, ptr %3, align 8 %26 = or i64 %25, %24 store i64 %26, ptr %3, align 8 %27 = load i64, ptr %3, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr @F_SETFL, align 4 %31 = load i64, ptr %3, align 8 %32 = call i64 (i32, i32, ...) @fcntl(i32 noundef %29, i32 noundef %30, i64 noundef %31) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %21 %35 = call i32 @perror(ptr noundef @.str.6) br label %53 36: ; preds = %21 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr @STDOUT_FILENO, align 4 %39 = call i32 @dup2(i32 noundef %37, i32 noundef %38) store i32 0, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %40, 10 br i1 %41, label %.lr.ph, label %50 .lr.ph: ; preds = %36 br label %42 42: ; preds = %.lr.ph, %45 %43 = call i32 @system(ptr noundef @.str.7) %44 = call i32 @sleep(i32 noundef 1) br label %45 45: ; preds = %42 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %48, 10 br i1 %49, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %36 %51 = load i32, ptr %2, align 4 %52 = call i32 @close(i32 noundef %51) store i32 0, ptr %1, align 4 br label %54 53: ; preds = %34, %19, %12 store i32 -1, ptr %1, align 4 br label %54 54: ; preds = %53, %50 %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @sleep(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpurnh9qob.c' source_filename = "/tmp/tmpurnh9qob.c" target datalayout = "e-m:e-p270: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/tmpurnh9qob.c" target datalayout = "e-m:e-p270: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/tmpqfgecn2u.c' source_filename = "/tmp/tmpqfgecn2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htx_strncmp(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strncmp(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqfgecn2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htx_strncmp(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @strncmp(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbafd2jj3.c' source_filename = "/tmp/tmpbafd2jj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [24 x i8] c"good morNinG, everyONe.\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [24 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 24, i1 false) %3 = getelementptr inbounds [24 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @format(ptr noundef %3) %5 = call i32 @puts(i32 noundef %4) %6 = call i32 @bits(i32 noundef 1234567) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @puts(i32 noundef) #2 declare i32 @format(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @bits(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbafd2jj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.s = private unnamed_addr constant [24 x i8] c"good morNinG, everyONe.\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [24 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 24, i1 false) %3 = getelementptr inbounds [24 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @format(ptr noundef %3) %5 = call i32 @puts(i32 noundef %4) %6 = call i32 @bits(i32 noundef 1234567) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @puts(i32 noundef) #2 declare i32 @format(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @bits(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpykyb8m24.c' source_filename = "/tmp/tmpykyb8m24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = udiv i64 %10, 4 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @test(i32 noundef %13, i32 noundef %14) %16 = call double (...) @rdtsc() store double %16, ptr %5, align 8 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @test(i32 noundef %17, i32 noundef %18) %20 = call double (...) @rdtsc() store double %20, ptr %6, align 8 %21 = load double, ptr %6, align 8 %22 = load double, ptr %5, align 8 %23 = fsub double %21, %22 store double %23, ptr %7, align 8 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = sdiv i32 %24, %25 %27 = sitofp i32 %26 to double %28 = load double, ptr %7, align 8 %29 = fdiv double %28, 9.000000e-01 %30 = fmul double %29, 1.024000e+03 %31 = fmul double %30, 1.024000e+03 %32 = fdiv double %27, %31 ret double %32 } declare i32 @test(i32 noundef, i32 noundef) #1 declare double @rdtsc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpykyb8m24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = udiv i64 %10, 4 %12 = trunc i64 %11 to i32 store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @test(i32 noundef %13, i32 noundef %14) %16 = call double (...) @rdtsc() store double %16, ptr %5, align 8 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %4, align 4 %19 = call i32 @test(i32 noundef %17, i32 noundef %18) %20 = call double (...) @rdtsc() store double %20, ptr %6, align 8 %21 = load double, ptr %6, align 8 %22 = load double, ptr %5, align 8 %23 = fsub double %21, %22 store double %23, ptr %7, align 8 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = sdiv i32 %24, %25 %27 = sitofp i32 %26 to double %28 = load double, ptr %7, align 8 %29 = fdiv double %28, 9.000000e-01 %30 = fmul double %29, 1.024000e+03 %31 = fmul double %30, 1.024000e+03 %32 = fdiv double %27, %31 ret double %32 } declare i32 @test(i32 noundef, i32 noundef) #1 declare double @rdtsc(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphq85pytu.c' source_filename = "/tmp/tmphq85pytu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @middle_of_three(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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %14, %15 br label %17 17: ; preds = %13, %3 %18 = phi i1 [ false, %3 ], [ %16, %13 ] %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 3 %23 = load i32, ptr %7, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @first(ptr noundef %26, i32 noundef %27, i32 noundef %28) store i32 %29, ptr %4, align 4 br label %113 30: ; preds = %17 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %34, %35 %37 = sdiv i32 %36, 2 store i32 %37, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp sle i32 %42, %47 br i1 %48, label %49, label %81 49: ; preds = %30 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = icmp sle i32 %54, %59 br i1 %60, label %61, label %63 61: ; preds = %49 %62 = load i32, ptr %9, align 4 store i32 %62, ptr %4, align 4 br label %113 63: ; preds = %49 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp sle i32 %68, %73 br i1 %74, label %75, label %77 75: ; preds = %63 %76 = load i32, ptr %10, align 4 br label %79 77: ; preds = %63 %78 = load i32, ptr %8, align 4 br label %79 79: ; preds = %77, %75 %80 = phi i32 [ %76, %75 ], [ %78, %77 ] store i32 %80, ptr %4, align 4 br label %113 81: ; preds = %30 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = icmp sle i32 %86, %91 br i1 %92, label %93, label %95 93: ; preds = %81 %94 = load i32, ptr %9, align 4 store i32 %94, ptr %4, align 4 br label %113 95: ; preds = %81 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %8, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %10, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp sle i32 %100, %105 br i1 %106, label %107, label %109 107: ; preds = %95 %108 = load i32, ptr %8, align 4 br label %111 109: ; preds = %95 %110 = load i32, ptr %10, align 4 br label %111 111: ; preds = %109, %107 %112 = phi i32 [ %108, %107 ], [ %110, %109 ] store i32 %112, ptr %4, align 4 br label %113 113: ; preds = %111, %93, %79, %61, %25 %114 = load i32, ptr %4, align 4 ret i32 %114 } declare i32 @assert(i32 noundef) #1 declare i32 @first(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphq85pytu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @middle_of_three(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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp sle i32 %14, %15 br label %17 17: ; preds = %13, %3 %18 = phi i1 [ false, %3 ], [ %16, %13 ] %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 3 %23 = load i32, ptr %7, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %30 25: ; preds = %17 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @first(ptr noundef %26, i32 noundef %27, i32 noundef %28) store i32 %29, ptr %4, align 4 br label %113 30: ; preds = %17 %31 = load i32, ptr %6, align 4 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %34, %35 %37 = sdiv i32 %36, 2 store i32 %37, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %8, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp sle i32 %42, %47 br i1 %48, label %49, label %81 49: ; preds = %30 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = icmp sle i32 %54, %59 br i1 %60, label %61, label %63 61: ; preds = %49 %62 = load i32, ptr %9, align 4 store i32 %62, ptr %4, align 4 br label %113 63: ; preds = %49 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %10, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp sle i32 %68, %73 br i1 %74, label %75, label %77 75: ; preds = %63 %76 = load i32, ptr %10, align 4 br label %79 77: ; preds = %63 %78 = load i32, ptr %8, align 4 br label %79 79: ; preds = %77, %75 %80 = phi i32 [ %76, %75 ], [ %78, %77 ] store i32 %80, ptr %4, align 4 br label %113 81: ; preds = %30 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load ptr, ptr %5, align 8 %88 = load i32, ptr %9, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = icmp sle i32 %86, %91 br i1 %92, label %93, label %95 93: ; preds = %81 %94 = load i32, ptr %9, align 4 store i32 %94, ptr %4, align 4 br label %113 95: ; preds = %81 %96 = load ptr, ptr %5, align 8 %97 = load i32, ptr %8, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %5, align 8 %102 = load i32, ptr %10, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp sle i32 %100, %105 br i1 %106, label %107, label %109 107: ; preds = %95 %108 = load i32, ptr %8, align 4 br label %111 109: ; preds = %95 %110 = load i32, ptr %10, align 4 br label %111 111: ; preds = %109, %107 %112 = phi i32 [ %108, %107 ], [ %110, %109 ] store i32 %112, ptr %4, align 4 br label %113 113: ; preds = %111, %93, %79, %61, %25 %114 = load i32, ptr %4, align 4 ret i32 %114 } declare i32 @assert(i32 noundef) #1 declare i32 @first(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqa8g2uk6.c' source_filename = "/tmp/tmpqa8g2uk6.c" target datalayout = "e-m:e-p270: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/tmpqa8g2uk6.c" target datalayout = "e-m:e-p270: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/tmp12xx1uvu.c' source_filename = "/tmp/tmp12xx1uvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Do you want to insert another file? (yes/no): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msg_file2() #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/tmp12xx1uvu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Do you want to insert another file? (yes/no): \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @msg_file2() #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/tmp7zob29fb.c' source_filename = "/tmp/tmp7zob29fb.c" target datalayout = "e-m:e-p270: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.p = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.p, i64 7, i1 false) %5 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 store i8 79, ptr %7, align 1 %8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 ret i32 %12 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmp7zob29fb.c" target datalayout = "e-m:e-p270: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.p = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.p, i64 7, i1 false) %5 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 store i8 79, ptr %7, align 1 %8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %10, %11 ret i32 %12 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmphctx537s.c' source_filename = "/tmp/tmphctx537s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"input[s:%s p:%s] output:%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"c*a*b*c\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"d*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c".*\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c".*c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %6) %8 = call i32 @isMatch(ptr noundef @.str.3, ptr noundef @.str.4) %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef %8) %10 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str.6) %11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef %10) %12 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str.7) %13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef @.str.7, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isMatch(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/tmphctx537s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"input[s:%s p:%s] output:%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"abc\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"c*a*b*c\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"d*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"ab\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c".*\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c".*c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %6) %8 = call i32 @isMatch(ptr noundef @.str.3, ptr noundef @.str.4) %9 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef %8) %10 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str.6) %11 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef %10) %12 = call i32 @isMatch(ptr noundef @.str.5, ptr noundef @.str.7) %13 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.5, ptr noundef @.str.7, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isMatch(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/tmpuu1tvsrc.c' source_filename = "/tmp/tmpuu1tvsrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"model_version_date=%4.4d%2.2d%2.2d%2.2d%2.2d%2.2d:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_model_version_date(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %47 16: ; preds = %6 %17 = load ptr, ptr %8, align 8 %18 = call ptr @year_of_model_version_date_location(ptr noundef %17) store ptr %18, ptr %13, align 8 %19 = load ptr, ptr %13, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %46 21: ; preds = %16 %22 = load ptr, ptr %11, align 8 %23 = load ptr, ptr %13, align 8 %24 = call i32 @uint2(ptr noundef %23) %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = load ptr, ptr %13, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load ptr, ptr %13, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = load ptr, ptr %13, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 5 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 6 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i32 noundef %24, i32 noundef %28, i32 noundef %32, i32 noundef %36, i32 noundef %40, i32 noundef %44) br label %46 46: ; preds = %21, %16 br label %47 47: ; preds = %46, %6 ret i32 0 } declare ptr @year_of_model_version_date_location(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @uint2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuu1tvsrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"model_version_date=%4.4d%2.2d%2.2d%2.2d%2.2d%2.2d:\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_model_version_date(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %47 16: ; preds = %6 %17 = load ptr, ptr %8, align 8 %18 = call ptr @year_of_model_version_date_location(ptr noundef %17) store ptr %18, ptr %13, align 8 %19 = load ptr, ptr %13, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %46 21: ; preds = %16 %22 = load ptr, ptr %11, align 8 %23 = load ptr, ptr %13, align 8 %24 = call i32 @uint2(ptr noundef %23) %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 %27 = load i8, ptr %26, align 1 %28 = zext i8 %27 to i32 %29 = load ptr, ptr %13, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load ptr, ptr %13, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 4 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = load ptr, ptr %13, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 5 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = load ptr, ptr %13, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 6 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i32 noundef %24, i32 noundef %28, i32 noundef %32, i32 noundef %36, i32 noundef %40, i32 noundef %44) br label %46 46: ; preds = %21, %16 br label %47 47: ; preds = %46, %6 ret i32 0 } declare ptr @year_of_model_version_date_location(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @uint2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp49caedot.c' source_filename = "/tmp/tmp49caedot.c" target datalayout = "e-m:e-p270: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.hostent = type { i64 } %struct.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @n_nslookup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @gethostbyname(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %2, align 8 br label %19 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.hostent, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = inttoptr i64 %13 to ptr %15 = getelementptr inbounds %struct.in_addr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i64 @inet_ntoa(i32 %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %10, %8 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @gethostbyname(ptr noundef) #1 declare i64 @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49caedot.c" target datalayout = "e-m:e-p270: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.hostent = type { i64 } %struct.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @n_nslookup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @gethostbyname(ptr noundef %5) store ptr %6, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 store ptr %9, ptr %2, align 8 br label %19 10: ; preds = %1 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds %struct.hostent, ptr %11, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = inttoptr i64 %13 to ptr %15 = getelementptr inbounds %struct.in_addr, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = call i64 @inet_ntoa(i32 %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %2, align 8 br label %19 19: ; preds = %10, %8 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @gethostbyname(ptr noundef) #1 declare i64 @inet_ntoa(i32) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk0wc25ge.c' source_filename = "/tmp/tmpk0wc25ge.c" target datalayout = "e-m:e-p270: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/tmpk0wc25ge.c" target datalayout = "e-m:e-p270: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/tmpppzmkzpu.c' source_filename = "/tmp/tmpppzmkzpu.c" target datalayout = "e-m:e-p270: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.str3 = private unnamed_addr constant [22 x i8] c"AEHIJLMOSTUVWXYZ12358\00", align 16 @__const.main.str4 = private unnamed_addr constant [22 x i8] c"A3HILJMO2TUVWXY51SEZ8\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%s -- is not a palindrome.\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"%s -- is a regular palindrome.\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"%s -- is a mirrored string.\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"%s -- is a mirrored palindrome.\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca [1000 x i8], align 16 %4 = alloca [22 x i8], align 16 %5 = alloca [22 x i8], align 16 %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 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.str3, i64 22, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.str4, i64 22, i1 false) store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %122, %0 %15 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %124 18: ; preds = %14 %19 = call i32 (...) @getchar() %20 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = sub nsw i32 %22, 1 store i32 %23, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %69, %18 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %8, align 4 %27 = sdiv i32 %26, 2 %28 = icmp slt i32 %25, %27 br i1 %28, label %29, label %74 29: ; preds = %24 store i32 0, ptr %9, align 4 br label %30 30: ; preds = %61, %29 %31 = load i32, ptr %9, align 4 %32 = icmp slt i32 %31, 21 br i1 %32, label %33, label %64 33: ; preds = %30 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [22 x i8], ptr %4, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %38, %43 br i1 %44, label %45, label %60 45: ; preds = %33 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %50, %55 br i1 %56, label %57, label %58 57: ; preds = %45 store i32 1, ptr %10, align 4 br label %59 58: ; preds = %45 store i32 1, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %59 59: ; preds = %58, %57 br label %60 60: ; preds = %59, %33 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 br label %30, !llvm.loop !6 64: ; preds = %30 %65 = load i32, ptr %12, align 4 %66 = icmp eq i32 %65, 1 br i1 %66, label %67, label %68 67: ; preds = %64 br label %74 68: ; preds = %64 br label %69 69: ; preds = %68 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 %72 = load i32, ptr %7, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %7, align 4 br label %24, !llvm.loop !8 74: ; preds = %67, %24 store i32 0, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %8, align 4 %77 = sub nsw i32 %76, 1 %78 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %79 = call i32 @palli(i32 noundef %75, i32 noundef %77, ptr noundef %78) store i32 %79, ptr %13, align 4 %80 = load i32, ptr %13, align 4 %81 = icmp eq i32 %80, 1 br i1 %81, label %82, label %83 82: ; preds = %74 store i32 1, ptr %11, align 4 br label %83 83: ; preds = %82, %74 %84 = load i32, ptr %11, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %92 86: ; preds = %83 %87 = load i32, ptr %10, align 4 %88 = icmp eq i32 %87, 0 br i1 %88, label %89, label %92 89: ; preds = %86 %90 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %90) br label %122 92: ; preds = %86, %83 %93 = load i32, ptr %11, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %95, label %101 95: ; preds = %92 %96 = load i32, ptr %10, align 4 %97 = icmp eq i32 %96, 0 br i1 %97, label %98, label %101 98: ; preds = %95 %99 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %99) br label %121 101: ; preds = %95, %92 %102 = load i32, ptr %11, align 4 %103 = icmp eq i32 %102, 0 br i1 %103, label %104, label %110 104: ; preds = %101 %105 = load i32, ptr %10, align 4 %106 = icmp eq i32 %105, 1 br i1 %106, label %107, label %110 107: ; preds = %104 %108 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %108) br label %120 110: ; preds = %104, %101 %111 = load i32, ptr %11, align 4 %112 = icmp eq i32 %111, 1 br i1 %112, label %113, label %119 113: ; preds = %110 %114 = load i32, ptr %10, align 4 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %119 116: ; preds = %113 %117 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %117) br label %119 119: ; preds = %116, %113, %110 br label %120 120: ; preds = %119, %107 br label %121 121: ; preds = %120, %98 br label %122 122: ; preds = %121, %89 store i32 0, ptr %13, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %14, !llvm.loop !9 124: ; preds = %14 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 @scanf(ptr noundef, ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @palli(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpppzmkzpu.c" target datalayout = "e-m:e-p270: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.str3 = private unnamed_addr constant [22 x i8] c"AEHIJLMOSTUVWXYZ12358\00", align 16 @__const.main.str4 = private unnamed_addr constant [22 x i8] c"A3HILJMO2TUVWXY51SEZ8\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"%s -- is not a palindrome.\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"%s -- is a regular palindrome.\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"%s -- is a mirrored string.\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"%s -- is a mirrored palindrome.\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca [1000 x i8], align 16 %4 = alloca [22 x i8], align 16 %5 = alloca [22 x i8], align 16 %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 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.str3, i64 22, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.str4, i64 22, i1 false) store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) %16 = icmp eq i32 %15, 1 br i1 %16, label %.lr.ph4, label %129 .lr.ph4: ; preds = %0 br label %17 17: ; preds = %.lr.ph4, %125 %18 = call i32 (...) @getchar() %19 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %8, align 4 %21 = load i32, ptr %8, align 4 %22 = sub nsw i32 %21, 1 store i32 %22, ptr %7, align 4 store i32 0, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %8, align 4 %25 = sdiv i32 %24, 2 %26 = icmp slt i32 %23, %25 br i1 %26, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %17 br label %27 27: ; preds = %.lr.ph2, %68 store i32 0, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp slt i32 %28, 21 br i1 %29, label %.lr.ph, label %63 .lr.ph: ; preds = %27 br label %30 30: ; preds = %.lr.ph, %58 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [22 x i8], ptr %4, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %35, %40 br i1 %41, label %42, label %57 42: ; preds = %30 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = load i32, ptr %9, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [22 x i8], ptr %5, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp eq i32 %47, %52 br i1 %53, label %54, label %55 54: ; preds = %42 store i32 1, ptr %10, align 4 br label %56 55: ; preds = %42 store i32 1, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %56 56: ; preds = %55, %54 br label %57 57: ; preds = %56, %30 br label %58 58: ; preds = %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %61, 21 br i1 %62, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %63 63: ; preds = %._crit_edge, %27 %64 = load i32, ptr %12, align 4 %65 = icmp eq i32 %64, 1 br i1 %65, label %66, label %67 66: ; preds = %63 br label %77 67: ; preds = %63 br label %68 68: ; preds = %67 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, -1 store i32 %72, ptr %7, align 4 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %8, align 4 %75 = sdiv i32 %74, 2 %76 = icmp slt i32 %73, %75 br i1 %76, label %27, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %68 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %77 77: ; preds = %.loopexit, %66 store i32 0, ptr %6, align 4 %78 = load i32, ptr %6, align 4 %79 = load i32, ptr %8, align 4 %80 = sub nsw i32 %79, 1 %81 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %82 = call i32 @palli(i32 noundef %78, i32 noundef %80, ptr noundef %81) store i32 %82, ptr %13, align 4 %83 = load i32, ptr %13, align 4 %84 = icmp eq i32 %83, 1 br i1 %84, label %85, label %86 85: ; preds = %77 store i32 1, ptr %11, align 4 br label %86 86: ; preds = %85, %77 %87 = load i32, ptr %11, align 4 %88 = icmp eq i32 %87, 0 br i1 %88, label %89, label %95 89: ; preds = %86 %90 = load i32, ptr %10, align 4 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %95 92: ; preds = %89 %93 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %93) br label %125 95: ; preds = %89, %86 %96 = load i32, ptr %11, align 4 %97 = icmp eq i32 %96, 1 br i1 %97, label %98, label %104 98: ; preds = %95 %99 = load i32, ptr %10, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label %101, label %104 101: ; preds = %98 %102 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %102) br label %124 104: ; preds = %98, %95 %105 = load i32, ptr %11, align 4 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %113 107: ; preds = %104 %108 = load i32, ptr %10, align 4 %109 = icmp eq i32 %108, 1 br i1 %109, label %110, label %113 110: ; preds = %107 %111 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %111) br label %123 113: ; preds = %107, %104 %114 = load i32, ptr %11, align 4 %115 = icmp eq i32 %114, 1 br i1 %115, label %116, label %122 116: ; preds = %113 %117 = load i32, ptr %10, align 4 %118 = icmp eq i32 %117, 1 br i1 %118, label %119, label %122 119: ; preds = %116 %120 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %120) br label %122 122: ; preds = %119, %116, %113 br label %123 123: ; preds = %122, %110 br label %124 124: ; preds = %123, %101 br label %125 125: ; preds = %124, %92 store i32 0, ptr %13, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %127 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) %128 = icmp eq i32 %127, 1 br i1 %128, label %17, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %125 br label %129 129: ; preds = %._crit_edge5, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @palli(i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp92joy92z.c' source_filename = "/tmp/tmp92joy92z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_concator(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @ft_strconcat(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } declare ptr @ft_strconcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92joy92z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ft_concator(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @ft_strconcat(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = call i32 @free(ptr noundef %9) %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) %13 = load ptr, ptr %5, align 8 ret ptr %13 } declare ptr @ft_strconcat(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr70nxfy4.c' source_filename = "/tmp/tmpr70nxfy4.c" target datalayout = "e-m:e-p270: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/tmpr70nxfy4.c" target datalayout = "e-m:e-p270: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/tmp3euh_9rl.c' source_filename = "/tmp/tmp3euh_9rl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %24, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %15, label %29 15: ; preds = %11 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = zext i8 %17 to i32 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = icmp ne i32 %18, %21 br i1 %22, label %23, label %24 23: ; preds = %15 br label %29 24: ; preds = %15 %25 = load ptr, ptr %7, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 br label %11, !llvm.loop !6 29: ; preds = %23, %11 %30 = load ptr, ptr %7, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = load ptr, ptr %8, align 8 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = sub nsw i32 %32, %35 ret i32 %36 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp3euh_9rl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, -1 store i64 %12, ptr %6, align 8 %13 = icmp ne i64 %11, 0 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %23 %15 = load ptr, ptr %7, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = load ptr, ptr %8, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = icmp ne i32 %17, %20 br i1 %21, label %22, label %23 22: ; preds = %14 br label %31 23: ; preds = %14 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %8, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %8, align 8 %28 = load i64, ptr %6, align 8 %29 = add i64 %28, -1 store i64 %29, ptr %6, align 8 %30 = icmp ne i64 %28, 0 br i1 %30, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %23 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %31 31: ; preds = %.loopexit, %22 %32 = load ptr, ptr %7, align 8 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = load ptr, ptr %8, align 8 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = sub nsw i32 %34, %37 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp847ijgbv.c' source_filename = "/tmp/tmp847ijgbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%.3f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [1002 x float], align 16 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %10 10: ; preds = %76, %0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %79 14: ; preds = %10 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %8, align 4 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %5, align 4 br label %16 16: ; preds = %25, %14 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %22 %24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %20 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %16, !llvm.loop !6 28: ; preds = %16 store i32 0, ptr %5, align 4 br label %29 29: ; preds = %40, %28 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %43 33: ; preds = %29 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %35 %37 = load float, ptr %36, align 4 %38 = load float, ptr %8, align 4 %39 = fadd float %38, %37 store float %39, ptr %8, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %29, !llvm.loop !8 43: ; preds = %29 %44 = load float, ptr %8, align 4 %45 = load i32, ptr %4, align 4 %46 = sitofp i32 %45 to float %47 = fdiv float %44, %46 store float %47, ptr %8, align 4 store i32 0, ptr %5, align 4 br label %48 48: ; preds = %63, %43 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %66 52: ; preds = %48 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %54 %56 = load float, ptr %55, align 4 %57 = load float, ptr %8, align 4 %58 = fcmp ogt float %56, %57 br i1 %58, label %59, label %62 59: ; preds = %52 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %6, align 4 br label %62 62: ; preds = %59, %52 br label %63 63: ; preds = %62 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 br label %48, !llvm.loop !9 66: ; preds = %48 %67 = load i32, ptr %6, align 4 %68 = sitofp i32 %67 to double %69 = fmul double 1.000000e+02, %68 %70 = load i32, ptr %4, align 4 %71 = sitofp i32 %70 to double %72 = fdiv double %69, %71 %73 = fptrunc double %72 to float store float %73, ptr %8, align 4 %74 = load float, ptr %8, align 4 %75 = call i32 @printf(ptr noundef @.str.2, float noundef %74) br label %76 76: ; preds = %66 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 br label %10, !llvm.loop !10 79: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp847ijgbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%.3f%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [1002 x float], align 16 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph8, label %87 .lr.ph8: ; preds = %0 br label %13 13: ; preds = %.lr.ph8, %81 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %8, align 4 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %5, align 4 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %13 br label %18 18: ; preds = %.lr.ph, %23 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %20 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %13 store i32 0, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph2, label %46 .lr.ph2: ; preds = %29 br label %33 33: ; preds = %.lr.ph2, %40 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %35 %37 = load float, ptr %36, align 4 %38 = load float, ptr %8, align 4 %39 = fadd float %38, %37 store float %39, ptr %8, align 4 br label %40 40: ; preds = %33 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %29 %47 = load float, ptr %8, align 4 %48 = load i32, ptr %4, align 4 %49 = sitofp i32 %48 to float %50 = fdiv float %47, %49 store float %50, ptr %8, align 4 store i32 0, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %71 .lr.ph5: ; preds = %46 br label %54 54: ; preds = %.lr.ph5, %65 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1002 x float], ptr %7, i64 0, i64 %56 %58 = load float, ptr %57, align 4 %59 = load float, ptr %8, align 4 %60 = fcmp ogt float %58, %59 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %61, %54 br label %65 65: ; preds = %64 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %5, align 4 %68 = load i32, ptr %5, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %54, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %65 br label %71 71: ; preds = %._crit_edge6, %46 %72 = load i32, ptr %6, align 4 %73 = sitofp i32 %72 to double %74 = fmul double 1.000000e+02, %73 %75 = load i32, ptr %4, align 4 %76 = sitofp i32 %75 to double %77 = fdiv double %74, %76 %78 = fptrunc double %77 to float store float %78, ptr %8, align 4 %79 = load float, ptr %8, align 4 %80 = call i32 @printf(ptr noundef @.str.2, float noundef %79) br label %81 81: ; preds = %71 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %3, align 4 %84 = load i32, ptr %3, align 4 %85 = load i32, ptr %2, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %13, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %81 br label %87 87: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp85l39noa.c' source_filename = "/tmp/tmp85l39noa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BioSeek(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @BIO_seek(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %9, %8 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @BIO_seek(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/tmp85l39noa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BioSeek(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %13 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i32, ptr %5, align 4 %12 = call i32 @BIO_seek(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 br label %13 13: ; preds = %9, %8 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @BIO_seek(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/tmpgfc3h_es.c' source_filename = "/tmp/tmpgfc3h_es.c" target datalayout = "e-m:e-p270: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 [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/filip-be/ImageComparer/refs/heads/master/exiv2/expat/examples/.libs/lt-outline.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_executable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @nonempty(ptr noundef %5) %7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %1 store i32 0, ptr %2, align 4 br label %29 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = call i64 @stat(ptr noundef %16, ptr noundef %4) %18 = icmp sge i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @S_IXUSR, align 4 %23 = or i32 %22, 0 %24 = or i32 %23, 0 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %14 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nonempty(ptr noundef) #1 declare i64 @stat(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/tmpgfc3h_es.c" target datalayout = "e-m:e-p270: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 [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/filip-be/ImageComparer/refs/heads/master/exiv2/expat/examples/.libs/lt-outline.c\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"(check_executable): %s\0A\00", align 1 @S_IXUSR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_executable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @nonempty(ptr noundef %5) %7 = call i32 @lt_debugprintf(ptr noundef @.str, i32 noundef 345, ptr noundef @.str.1, i32 noundef %6) %8 = load ptr, ptr %3, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %10, %1 store i32 0, ptr %2, align 4 br label %29 15: ; preds = %10 %16 = load ptr, ptr %3, align 8 %17 = call i64 @stat(ptr noundef %16, ptr noundef %4) %18 = icmp sge i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = load i32, ptr @S_IXUSR, align 4 %23 = or i32 %22, 0 %24 = or i32 %23, 0 %25 = and i32 %21, %24 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %19, %15 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %14 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @lt_debugprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nonempty(ptr noundef) #1 declare i64 @stat(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/tmp_tju3gwl.c' source_filename = "/tmp/tmp_tju3gwl.c" target datalayout = "e-m:e-p270: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/tmp_tju3gwl.c" target datalayout = "e-m:e-p270: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/tmpn97yo21f.c' source_filename = "/tmp/tmpn97yo21f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @dlopen4029(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @dlopen(ptr noundef %5, i32 noundef %6) %8 = sext i32 %7 to i64 ret i64 %8 } declare i32 @dlopen(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/tmpn97yo21f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @dlopen4029(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @dlopen(ptr noundef %5, i32 noundef %6) %8 = sext i32 %7 to i64 ret i64 %8 } declare i32 @dlopen(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/tmpa8x0otyb.c' source_filename = "/tmp/tmpa8x0otyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @s(i32 noundef 2) %3 = icmp ne i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @s(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/tmpa8x0otyb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @s(i32 noundef 2) %3 = icmp ne i32 %2, 1 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 ret i32 0 } declare i32 @s(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/tmph2a8umxq.c' source_filename = "/tmp/tmph2a8umxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"[ERROR] (%s:%d: errno: %s) errno == %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hervewenjie/webserver/refs/heads/master/src/rio.c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rio_writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 br label %13 13: ; preds = %40, %3 %14 = load i64, ptr %8, align 8 %15 = icmp ugt i64 %14, 0 br i1 %15, label %16, label %49 16: ; preds = %13 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i64, ptr %8, align 8 %20 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %19) store i32 %20, ptr %9, align 4 %21 = icmp sle i32 %20, 0 br i1 %21, label %22, label %40 22: ; preds = %16 %23 = load i64, ptr @errno, align 8 %24 = load i64, ptr @EINTR, align 8 %25 = icmp eq i64 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 0, ptr %9, align 4 br label %39 27: ; preds = %22 %28 = load i32, ptr @stderr, align 4 %29 = load i64, ptr @errno, align 8 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %27 br label %35 32: ; preds = %27 %33 = load i64, ptr @errno, align 8 %34 = call ptr @strerror(i64 noundef %33) br label %35 35: ; preds = %32, %31 %36 = phi ptr [ @.str.2, %31 ], [ %34, %32 ] %37 = load i64, ptr @errno, align 8 %38 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 47, ptr noundef %36, i64 noundef %37) store i32 -1, ptr %4, align 4 br label %52 39: ; preds = %26 br label %40 40: ; preds = %39, %16 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = load i64, ptr %8, align 8 %44 = sub i64 %43, %42 store i64 %44, ptr %8, align 8 %45 = load i32, ptr %9, align 4 %46 = load ptr, ptr %10, align 8 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %46, i64 %47 store ptr %48, ptr %10, align 8 br label %13, !llvm.loop !6 49: ; preds = %13 %50 = load i64, ptr %7, align 8 %51 = trunc i64 %50 to i32 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %49, %35 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare ptr @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph2a8umxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [41 x i8] c"[ERROR] (%s:%d: errno: %s) errno == %d\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hervewenjie/webserver/refs/heads/master/src/rio.c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"None\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rio_writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 store i64 %11, ptr %8, align 8 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %10, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp ugt i64 %13, 0 br i1 %14, label %.lr.ph, label %50 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %39 %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %8, align 8 %19 = call i32 @write(i32 noundef %16, ptr noundef %17, i64 noundef %18) store i32 %19, ptr %9, align 4 %20 = icmp sle i32 %19, 0 br i1 %20, label %21, label %39 21: ; preds = %15 %22 = load i64, ptr @errno, align 8 %23 = load i64, ptr @EINTR, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %26 25: ; preds = %21 store i32 0, ptr %9, align 4 br label %38 26: ; preds = %21 %27 = load i32, ptr @stderr, align 4 %28 = load i64, ptr @errno, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %26 br label %34 31: ; preds = %26 %32 = load i64, ptr @errno, align 8 %33 = call ptr @strerror(i64 noundef %32) br label %34 34: ; preds = %31, %30 %35 = phi ptr [ @.str.2, %30 ], [ %33, %31 ] %36 = load i64, ptr @errno, align 8 %37 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 47, ptr noundef %35, i64 noundef %36) store i32 -1, ptr %4, align 4 br label %53 38: ; preds = %25 br label %39 39: ; preds = %38, %15 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = load i64, ptr %8, align 8 %43 = sub i64 %42, %41 store i64 %43, ptr %8, align 8 %44 = load i32, ptr %9, align 4 %45 = load ptr, ptr %10, align 8 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds i8, ptr %45, i64 %46 store ptr %47, ptr %10, align 8 %48 = load i64, ptr %8, align 8 %49 = icmp ugt i64 %48, 0 br i1 %49, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %50 50: ; preds = %._crit_edge, %3 %51 = load i64, ptr %7, align 8 %52 = trunc i64 %51 to i32 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %50, %34 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare ptr @strerror(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa5pl_m7a.c' source_filename = "/tmp/tmpa5pl_m7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gettime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %6 = load double, ptr %5, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %8 = load double, ptr %7, align 8 %9 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %8, double %6) %10 = load ptr, ptr %2, align 8 store double %9, ptr %10, align 8 ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5pl_m7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { double, double } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gettime(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timeval, align 8 store ptr %0, ptr %2, align 8 %4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %6 = load double, ptr %5, align 8 %7 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %8 = load double, ptr %7, align 8 %9 = call double @llvm.fmuladd.f64(double 0x3EB0C6F7A0B5ED8D, double %8, double %6) %10 = load ptr, ptr %2, align 8 store double %9, ptr %10, align 8 ret void } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxv_xbe6s.c' source_filename = "/tmp/tmpxv_xbe6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 br label %6 6: ; preds = %18, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %10, label %21 10: ; preds = %6 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %3, align 8 br label %22 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 br label %6, !llvm.loop !6 21: ; preds = %6 store ptr null, ptr %3, align 8 br label %22 22: ; preds = %21, %16 %23 = load ptr, ptr %3, align 8 ret ptr %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxv_xbe6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load ptr, ptr %4, align 8 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %17 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %9 %16 = load ptr, ptr %4, align 8 store ptr %16, ptr %3, align 8 br label %24 17: ; preds = %9 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %24 24: ; preds = %23, %15 %25 = load ptr, ptr %3, align 8 ret ptr %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpoaelr2t0.c' source_filename = "/tmp/tmpoaelr2t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_movzwl_reg(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 @emit_andimm(i32 noundef %5, i32 noundef 65535, i32 noundef %6) ret void } declare i32 @emit_andimm(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoaelr2t0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @emit_movzwl_reg(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 @emit_andimm(i32 noundef %5, i32 noundef 65535, i32 noundef %6) ret void } declare i32 @emit_andimm(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5se879ge.c' source_filename = "/tmp/tmp5se879ge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_return() #0 { %1 = call i32 @makeCODEreturn(ptr noundef null) %2 = call i32 @appendCODE(i32 noundef %1) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEreturn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5se879ge.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_return() #0 { %1 = call i32 @makeCODEreturn(ptr noundef null) %2 = call i32 @appendCODE(i32 noundef %1) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEreturn(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpot_9phjm.c' source_filename = "/tmp/tmpot_9phjm.c" target datalayout = "e-m:e-p270: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/tmpot_9phjm.c" target datalayout = "e-m:e-p270: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/tmpluc92y75.c' source_filename = "/tmp/tmpluc92y75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"T_%d: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"T_%d: %d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @thrackle_size_print(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 3, ptr %3, align 4 br label %4 4: ; preds = %23, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %26 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 9 br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = call i32 @thrackle_size(i32 noundef %13) %15 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %14) br label %23 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @thrackle_size_lower_bound(i32 noundef %18) %20 = load i32, ptr %3, align 4 %21 = call i32 @thrackle_size_upper_bound(i32 noundef %20) %22 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %19, i32 noundef %21) br label %23 23: ; preds = %16, %11 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %4, !llvm.loop !6 26: ; preds = %4 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @thrackle_size(i32 noundef) #1 declare i32 @thrackle_size_lower_bound(i32 noundef) #1 declare i32 @thrackle_size_upper_bound(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/tmpluc92y75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"T_%d: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"T_%d: %d-%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @thrackle_size_print(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 3, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %4, %5 br i1 %6, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %22 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 9 br i1 %9, label %10, label %15 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @thrackle_size(i32 noundef %12) %14 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13) br label %22 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @thrackle_size_lower_bound(i32 noundef %17) %19 = load i32, ptr %3, align 4 %20 = call i32 @thrackle_size_upper_bound(i32 noundef %19) %21 = call i32 (ptr, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %18, i32 noundef %20) br label %22 22: ; preds = %15, %10 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @thrackle_size(i32 noundef) #1 declare i32 @thrackle_size_lower_bound(i32 noundef) #1 declare i32 @thrackle_size_upper_bound(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/tmp2anmjknz.c' source_filename = "/tmp/tmp2anmjknz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determinant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = call ptr @ivector(i32 noundef 0, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i64 @ludcmp(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %5) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %37 16: ; preds = %2 store i32 0, ptr %6, align 4 br label %17 17: ; preds = %33, %16 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %36 21: ; preds = %17 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = load double, ptr %5, align 8 %32 = fmul double %31, %30 store double %32, ptr %5, align 8 br label %33 33: ; preds = %21 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 br label %17, !llvm.loop !6 36: ; preds = %17 br label %38 37: ; preds = %2 store double 0.000000e+00, ptr %5, align 8 br label %38 38: ; preds = %37, %36 %39 = load ptr, ptr %7, align 8 %40 = call i32 @free_ivector(ptr noundef %39, i32 noundef 0) %41 = load double, ptr %5, align 8 ret double %41 } declare ptr @ivector(i32 noundef, i32 noundef) #1 declare i64 @ludcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_ivector(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/tmp2anmjknz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determinant(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = call ptr @ivector(i32 noundef 0, i32 noundef %9) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i64 @ludcmp(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %5) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %39 16: ; preds = %2 store i32 0, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %38 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %32 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load double, ptr %28, align 8 %30 = load double, ptr %5, align 8 %31 = fmul double %30, %29 store double %31, ptr %5, align 8 br label %32 32: ; preds = %20 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %16 br label %40 39: ; preds = %2 store double 0.000000e+00, ptr %5, align 8 br label %40 40: ; preds = %39, %38 %41 = load ptr, ptr %7, align 8 %42 = call i32 @free_ivector(ptr noundef %41, i32 noundef 0) %43 = load double, ptr %5, align 8 ret double %43 } declare ptr @ivector(i32 noundef, i32 noundef) #1 declare i64 @ludcmp(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free_ivector(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/tmp8iy2j3bg.c' source_filename = "/tmp/tmp8iy2j3bg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PWM1_FAULT_IRQHandler() #0 { %1 = call i32 (...) @PWM1_FAULT_DriverIRQHandler() ret void } declare i32 @PWM1_FAULT_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8iy2j3bg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PWM1_FAULT_IRQHandler() #0 { %1 = call i32 (...) @PWM1_FAULT_DriverIRQHandler() ret void } declare i32 @PWM1_FAULT_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}