llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmps99div1e.c'
source_filename = "/tmp/tmps99div1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"EPERM\00", align 1
@EPERM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"ENOENT\00", align 1
@ENOENT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ESRCH\00", align 1
@ESRCH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"EINTR\00", align 1
@EINTR = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"EIO\00", align 1
@EIO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"ENXIO\00", align 1
@ENXIO = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c"E2BIG\00", align 1
@E2BIG = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [8 x i8] c"ENOEXEC\00", align 1
@ENOEXEC = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [6 x i8] c"EBADF\00", align 1
@EBADF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [7 x i8] c"ECHILD\00", align 1
@ECHILD = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [7 x i8] c"EAGAIN\00", align 1
@EAGAIN = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [7 x i8] c"ENOMEM\00", align 1
@ENOMEM = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [7 x i8] c"EACCES\00", align 1
@EACCES = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [7 x i8] c"EFAULT\00", align 1
@EFAULT = dso_local global i32 0, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c"ENOTBLK\00", align 1
@ENOTBLK = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [6 x i8] c"EBUSY\00", align 1
@EBUSY = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [7 x i8] c"EEXIST\00", align 1
@EEXIST = dso_local global i32 0, align 4
@.str.17 = private unnamed_addr constant [6 x i8] c"EXDEV\00", align 1
@EXDEV = dso_local global i32 0, align 4
@.str.18 = private unnamed_addr constant [7 x i8] c"ENODEV\00", align 1
@ENODEV = dso_local global i32 0, align 4
@.str.19 = private unnamed_addr constant [8 x i8] c"ENOTDIR\00", align 1
@ENOTDIR = dso_local global i32 0, align 4
@.str.20 = private unnamed_addr constant [7 x i8] c"EISDIR\00", align 1
@EISDIR = dso_local global i32 0, align 4
@.str.21 = private unnamed_addr constant [7 x i8] c"EINVAL\00", align 1
@EINVAL = dso_local global i32 0, align 4
@.str.22 = private unnamed_addr constant [7 x i8] c"ENFILE\00", align 1
@ENFILE = dso_local global i32 0, align 4
@.str.23 = private unnamed_addr constant [7 x i8] c"EMFILE\00", align 1
@EMFILE = dso_local global i32 0, align 4
@.str.24 = private unnamed_addr constant [7 x i8] c"ENOTTY\00", align 1
@ENOTTY = dso_local global i32 0, align 4
@.str.25 = private unnamed_addr constant [8 x i8] c"ETXTBSY\00", align 1
@ETXTBSY = dso_local global i32 0, align 4
@.str.26 = private unnamed_addr constant [6 x i8] c"EFBIG\00", align 1
@EFBIG = dso_local global i32 0, align 4
@.str.27 = private unnamed_addr constant [7 x i8] c"ENOSPC\00", align 1
@ENOSPC = dso_local global i32 0, align 4
@.str.28 = private unnamed_addr constant [7 x i8] c"ESPIPE\00", align 1
@ESPIPE = dso_local global i32 0, align 4
@.str.29 = private unnamed_addr constant [6 x i8] c"EROFS\00", align 1
@EROFS = dso_local global i32 0, align 4
@.str.30 = private unnamed_addr constant [7 x i8] c"EMLINK\00", align 1
@EMLINK = dso_local global i32 0, align 4
@.str.31 = private unnamed_addr constant [6 x i8] c"EPIPE\00", align 1
@EPIPE = dso_local global i32 0, align 4
@.str.32 = private unnamed_addr constant [5 x i8] c"EDOM\00", align 1
@EDOM = dso_local global i32 0, align 4
@.str.33 = private unnamed_addr constant [7 x i8] c"ERANGE\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.34 = private unnamed_addr constant [8 x i8] c"EDEADLK\00", align 1
@EDEADLK = dso_local global i32 0, align 4
@.str.35 = private unnamed_addr constant [13 x i8] c"ENAMETOOLONG\00", align 1
@ENAMETOOLONG = dso_local global i32 0, align 4
@.str.36 = private unnamed_addr constant [7 x i8] c"ENOLCK\00", align 1
@ENOLCK = dso_local global i32 0, align 4
@.str.37 = private unnamed_addr constant [7 x i8] c"ENOSYS\00", align 1
@ENOSYS = dso_local global i32 0, align 4
@.str.38 = private unnamed_addr constant [10 x i8] c"ENOTEMPTY\00", align 1
@ENOTEMPTY = dso_local global i32 0, align 4
@.str.39 = private unnamed_addr constant [6 x i8] c"ELOOP\00", align 1
@ELOOP = dso_local global i32 0, align 4
@.str.40 = private unnamed_addr constant [7 x i8] c"ENOMSG\00", align 1
@ENOMSG = dso_local global i32 0, align 4
@.str.41 = private unnamed_addr constant [6 x i8] c"EIDRM\00", align 1
@EIDRM = dso_local global i32 0, align 4
@.str.42 = private unnamed_addr constant [12 x i8] c"EINPROGRESS\00", align 1
@EINPROGRESS = dso_local global i32 0, align 4
@.str.43 = private unnamed_addr constant [9 x i8] c"EALREADY\00", align 1
@EALREADY = dso_local global i32 0, align 4
@.str.44 = private unnamed_addr constant [9 x i8] c"ENOTSOCK\00", align 1
@ENOTSOCK = dso_local global i32 0, align 4
@.str.45 = private unnamed_addr constant [13 x i8] c"EDESTADDRREQ\00", align 1
@EDESTADDRREQ = dso_local global i32 0, align 4
@.str.46 = private unnamed_addr constant [9 x i8] c"EMSGSIZE\00", align 1
@EMSGSIZE = dso_local global i32 0, align 4
@.str.47 = private unnamed_addr constant [11 x i8] c"EPROTOTYPE\00", align 1
@EPROTOTYPE = dso_local global i32 0, align 4
@.str.48 = private unnamed_addr constant [12 x i8] c"ENOPROTOOPT\00", align 1
@ENOPROTOOPT = dso_local global i32 0, align 4
@.str.49 = private unnamed_addr constant [16 x i8] c"EPROTONOSUPPORT\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@.str.50 = private unnamed_addr constant [16 x i8] c"ESOCKTNOSUPPORT\00", align 1
@ESOCKTNOSUPPORT = dso_local global i32 0, align 4
@.str.51 = private unnamed_addr constant [13 x i8] c"EPFNOSUPPORT\00", align 1
@EPFNOSUPPORT = dso_local global i32 0, align 4
@.str.52 = private unnamed_addr constant [13 x i8] c"EAFNOSUPPORT\00", align 1
@EAFNOSUPPORT = dso_local global i32 0, align 4
@.str.53 = private unnamed_addr constant [11 x i8] c"EADDRINUSE\00", align 1
@EADDRINUSE = dso_local global i32 0, align 4
@.str.54 = private unnamed_addr constant [14 x i8] c"EADDRNOTAVAIL\00", align 1
@EADDRNOTAVAIL = dso_local global i32 0, align 4
@.str.55 = private unnamed_addr constant [9 x i8] c"ENETDOWN\00", align 1
@ENETDOWN = dso_local global i32 0, align 4
@.str.56 = private unnamed_addr constant [12 x i8] c"ENETUNREACH\00", align 1
@ENETUNREACH = dso_local global i32 0, align 4
@.str.57 = private unnamed_addr constant [10 x i8] c"ENETRESET\00", align 1
@ENETRESET = dso_local global i32 0, align 4
@.str.58 = private unnamed_addr constant [13 x i8] c"ECONNABORTED\00", align 1
@ECONNABORTED = dso_local global i32 0, align 4
@.str.59 = private unnamed_addr constant [11 x i8] c"ECONNRESET\00", align 1
@ECONNRESET = dso_local global i32 0, align 4
@.str.60 = private unnamed_addr constant [8 x i8] c"ENOBUFS\00", align 1
@ENOBUFS = dso_local global i32 0, align 4
@.str.61 = private unnamed_addr constant [8 x i8] c"EISCONN\00", align 1
@EISCONN = dso_local global i32 0, align 4
@.str.62 = private unnamed_addr constant [9 x i8] c"ENOTCONN\00", align 1
@ENOTCONN = dso_local global i32 0, align 4
@.str.63 = private unnamed_addr constant [10 x i8] c"ESHUTDOWN\00", align 1
@ESHUTDOWN = dso_local global i32 0, align 4
@.str.64 = private unnamed_addr constant [13 x i8] c"ETOOMANYREFS\00", align 1
@ETOOMANYREFS = dso_local global i32 0, align 4
@.str.65 = private unnamed_addr constant [10 x i8] c"ETIMEDOUT\00", align 1
@ETIMEDOUT = dso_local global i32 0, align 4
@.str.66 = private unnamed_addr constant [13 x i8] c"ECONNREFUSED\00", align 1
@ECONNREFUSED = dso_local global i32 0, align 4
@.str.67 = private unnamed_addr constant [10 x i8] c"EHOSTDOWN\00", align 1
@EHOSTDOWN = dso_local global i32 0, align 4
@.str.68 = private unnamed_addr constant [13 x i8] c"EHOSTUNREACH\00", align 1
@EHOSTUNREACH = dso_local global i32 0, align 4
@.str.69 = private unnamed_addr constant [8 x i8] c"AF_UNIX\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.70 = private unnamed_addr constant [9 x i8] c"AF_LOCAL\00", align 1
@AF_LOCAL = dso_local global i32 0, align 4
@.str.71 = private unnamed_addr constant [8 x i8] c"AF_INET\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.72 = private unnamed_addr constant [9 x i8] c"AF_INET6\00", align 1
@AF_INET6 = dso_local global i32 0, align 4
@.str.73 = private unnamed_addr constant [12 x i8] c"SOCK_STREAM\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.74 = private unnamed_addr constant [11 x i8] c"SOCK_DGRAM\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.75 = private unnamed_addr constant [15 x i8] c"SOCK_SEQPACKET\00", align 1
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@.str.76 = private unnamed_addr constant [9 x i8] c"SOCK_RAW\00", align 1
@SOCK_RAW = dso_local global i32 0, align 4
@.str.77 = private unnamed_addr constant [9 x i8] c"SOCK_RDM\00", align 1
@SOCK_RDM = dso_local global i32 0, align 4
@.str.78 = private unnamed_addr constant [11 x i8] c"SOL_SOCKET\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@.str.79 = private unnamed_addr constant [11 x i8] c"IPPROTO_IP\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@.str.80 = private unnamed_addr constant [13 x i8] c"IPPROTO_IPV6\00", align 1
@IPPROTO_IPV6 = dso_local global i32 0, align 4
@.str.81 = private unnamed_addr constant [12 x i8] c"IPPROTO_TCP\00", align 1
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str.82 = private unnamed_addr constant [12 x i8] c"IPPROTO_UDP\00", align 1
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str.83 = private unnamed_addr constant [14 x i8] c"SO_ACCEPTCONN\00", align 1
@SO_ACCEPTCONN = dso_local global i32 0, align 4
@.str.84 = private unnamed_addr constant [13 x i8] c"SO_BROADCAST\00", align 1
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.85 = private unnamed_addr constant [9 x i8] c"SO_DEBUG\00", align 1
@SO_DEBUG = dso_local global i32 0, align 4
@.str.86 = private unnamed_addr constant [9 x i8] c"SO_ERROR\00", align 1
@SO_ERROR = dso_local global i32 0, align 4
@.str.87 = private unnamed_addr constant [13 x i8] c"SO_DONTROUTE\00", align 1
@SO_DONTROUTE = dso_local global i32 0, align 4
@.str.88 = private unnamed_addr constant [13 x i8] c"SO_KEEPALIVE\00", align 1
@SO_KEEPALIVE = dso_local global i32 0, align 4
@.str.89 = private unnamed_addr constant [10 x i8] c"SO_LINGER\00", align 1
@SO_LINGER = dso_local global i32 0, align 4
@.str.90 = private unnamed_addr constant [13 x i8] c"SO_OOBINLINE\00", align 1
@SO_OOBINLINE = dso_local global i32 0, align 4
@.str.91 = private unnamed_addr constant [10 x i8] c"SO_RCVBUF\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.92 = private unnamed_addr constant [12 x i8] c"SO_RCVLOWAT\00", align 1
@SO_RCVLOWAT = dso_local global i32 0, align 4
@.str.93 = private unnamed_addr constant [12 x i8] c"SO_SNDLOWAT\00", align 1
@SO_SNDLOWAT = dso_local global i32 0, align 4
@.str.94 = private unnamed_addr constant [12 x i8] c"SO_RCVTIMEO\00", align 1
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.95 = private unnamed_addr constant [12 x i8] c"SO_SNDTIMEO\00", align 1
@SO_SNDTIMEO = dso_local global i32 0, align 4
@.str.96 = private unnamed_addr constant [13 x i8] c"SO_REUSEADDR\00", align 1
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.97 = private unnamed_addr constant [10 x i8] c"SO_SNDBUF\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.98 = private unnamed_addr constant [13 x i8] c"SO_TIMESTAMP\00", align 1
@SO_TIMESTAMP = dso_local global i32 0, align 4
@.str.99 = private unnamed_addr constant [8 x i8] c"SO_TYPE\00", align 1
@SO_TYPE = dso_local global i32 0, align 4
@.str.100 = private unnamed_addr constant [12 x i8] c"TCP_NODELAY\00", align 1
@TCP_NODELAY = dso_local global i32 0, align 4
@.str.101 = private unnamed_addr constant [11 x i8] c"TCP_MAXSEG\00", align 1
@TCP_MAXSEG = dso_local global i32 0, align 4
@.str.102 = private unnamed_addr constant [16 x i8] c"IP_MULTICAST_IF\00", align 1
@IP_MULTICAST_IF = dso_local global i32 0, align 4
@.str.103 = private unnamed_addr constant [17 x i8] c"IP_MULTICAST_TTL\00", align 1
@IP_MULTICAST_TTL = dso_local global i32 0, align 4
@.str.104 = private unnamed_addr constant [18 x i8] c"IP_MULTICAST_LOOP\00", align 1
@IP_MULTICAST_LOOP = dso_local global i32 0, align 4
@.str.105 = private unnamed_addr constant [18 x i8] c"IP_ADD_MEMBERSHIP\00", align 1
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
@.str.106 = private unnamed_addr constant [19 x i8] c"IP_DROP_MEMBERSHIP\00", align 1
@IP_DROP_MEMBERSHIP = dso_local global i32 0, align 4
@.str.107 = private unnamed_addr constant [11 x i8] c"INADDR_ANY\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.108 = private unnamed_addr constant [12 x i8] c"INADDR_NONE\00", align 1
@INADDR_NONE = dso_local global i32 0, align 4
@.str.109 = private unnamed_addr constant [17 x i8] c"INADDR_BROADCAST\00", align 1
@INADDR_BROADCAST = dso_local global i32 0, align 4
@.str.110 = private unnamed_addr constant [8 x i8] c"MSG_OOB\00", align 1
@MSG_OOB = dso_local global i32 0, align 4
@.str.111 = private unnamed_addr constant [9 x i8] c"MSG_PEEK\00", align 1
@MSG_PEEK = dso_local global i32 0, align 4
@.str.112 = private unnamed_addr constant [13 x i8] c"MSG_DONTWAIT\00", align 1
@MSG_DONTWAIT = dso_local global i32 0, align 4
@.str.113 = private unnamed_addr constant [8 x i8] c"SHUT_RD\00", align 1
@SHUT_RD = dso_local global i32 0, align 4
@.str.114 = private unnamed_addr constant [8 x i8] c"SHUT_WR\00", align 1
@SHUT_WR = dso_local global i32 0, align 4
@.str.115 = private unnamed_addr constant [10 x i8] c"SHUT_RDWR\00", align 1
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %1
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 0, %6
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i32, ptr @EPERM, align 4
store i32 %9, ptr %2, align 4
br label %931
10: ; preds = %4
br label %11
11: ; preds = %10
br label %12
12: ; preds = %11
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp eq i64 0, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i32, ptr @ENOENT, align 4
store i32 %17, ptr %2, align 4
br label %931
18: ; preds = %12
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19
%21 = load ptr, ptr %3, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp eq i64 0, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr @ESRCH, align 4
store i32 %25, ptr %2, align 4
br label %931
26: ; preds = %20
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.3)
%31 = icmp eq i64 0, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i32, ptr @EINTR, align 4
store i32 %33, ptr %2, align 4
br label %931
34: ; preds = %28
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35
%37 = load ptr, ptr %3, align 8
%38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.4)
%39 = icmp eq i64 0, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load i32, ptr @EIO, align 4
store i32 %41, ptr %2, align 4
br label %931
42: ; preds = %36
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = load ptr, ptr %3, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.5)
%47 = icmp eq i64 0, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i32, ptr @ENXIO, align 4
store i32 %49, ptr %2, align 4
br label %931
50: ; preds = %44
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = load ptr, ptr %3, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.6)
%55 = icmp eq i64 0, %54
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load i32, ptr @E2BIG, align 4
store i32 %57, ptr %2, align 4
br label %931
58: ; preds = %52
br label %59
59: ; preds = %58
br label %60
60: ; preds = %59
%61 = load ptr, ptr %3, align 8
%62 = call i64 @strcmp(ptr noundef %61, ptr noundef @.str.7)
%63 = icmp eq i64 0, %62
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = load i32, ptr @ENOEXEC, align 4
store i32 %65, ptr %2, align 4
br label %931
66: ; preds = %60
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.8)
%71 = icmp eq i64 0, %70
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = load i32, ptr @EBADF, align 4
store i32 %73, ptr %2, align 4
br label %931
74: ; preds = %68
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = load ptr, ptr %3, align 8
%78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.9)
%79 = icmp eq i64 0, %78
br i1 %79, label %80, label %82
80: ; preds = %76
%81 = load i32, ptr @ECHILD, align 4
store i32 %81, ptr %2, align 4
br label %931
82: ; preds = %76
br label %83
83: ; preds = %82
br label %84
84: ; preds = %83
%85 = load ptr, ptr %3, align 8
%86 = call i64 @strcmp(ptr noundef %85, ptr noundef @.str.10)
%87 = icmp eq i64 0, %86
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = load i32, ptr @EAGAIN, align 4
store i32 %89, ptr %2, align 4
br label %931
90: ; preds = %84
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
%93 = load ptr, ptr %3, align 8
%94 = call i64 @strcmp(ptr noundef %93, ptr noundef @.str.11)
%95 = icmp eq i64 0, %94
br i1 %95, label %96, label %98
96: ; preds = %92
%97 = load i32, ptr @ENOMEM, align 4
store i32 %97, ptr %2, align 4
br label %931
98: ; preds = %92
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = load ptr, ptr %3, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.12)
%103 = icmp eq i64 0, %102
br i1 %103, label %104, label %106
104: ; preds = %100
%105 = load i32, ptr @EACCES, align 4
store i32 %105, ptr %2, align 4
br label %931
106: ; preds = %100
br label %107
107: ; preds = %106
br label %108
108: ; preds = %107
%109 = load ptr, ptr %3, align 8
%110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.13)
%111 = icmp eq i64 0, %110
br i1 %111, label %112, label %114
112: ; preds = %108
%113 = load i32, ptr @EFAULT, align 4
store i32 %113, ptr %2, align 4
br label %931
114: ; preds = %108
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
%117 = load ptr, ptr %3, align 8
%118 = call i64 @strcmp(ptr noundef %117, ptr noundef @.str.14)
%119 = icmp eq i64 0, %118
br i1 %119, label %120, label %122
120: ; preds = %116
%121 = load i32, ptr @ENOTBLK, align 4
store i32 %121, ptr %2, align 4
br label %931
122: ; preds = %116
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
%125 = load ptr, ptr %3, align 8
%126 = call i64 @strcmp(ptr noundef %125, ptr noundef @.str.15)
%127 = icmp eq i64 0, %126
br i1 %127, label %128, label %130
128: ; preds = %124
%129 = load i32, ptr @EBUSY, align 4
store i32 %129, ptr %2, align 4
br label %931
130: ; preds = %124
br label %131
131: ; preds = %130
br label %132
132: ; preds = %131
%133 = load ptr, ptr %3, align 8
%134 = call i64 @strcmp(ptr noundef %133, ptr noundef @.str.16)
%135 = icmp eq i64 0, %134
br i1 %135, label %136, label %138
136: ; preds = %132
%137 = load i32, ptr @EEXIST, align 4
store i32 %137, ptr %2, align 4
br label %931
138: ; preds = %132
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
%141 = load ptr, ptr %3, align 8
%142 = call i64 @strcmp(ptr noundef %141, ptr noundef @.str.17)
%143 = icmp eq i64 0, %142
br i1 %143, label %144, label %146
144: ; preds = %140
%145 = load i32, ptr @EXDEV, align 4
store i32 %145, ptr %2, align 4
br label %931
146: ; preds = %140
br label %147
147: ; preds = %146
br label %148
148: ; preds = %147
%149 = load ptr, ptr %3, align 8
%150 = call i64 @strcmp(ptr noundef %149, ptr noundef @.str.18)
%151 = icmp eq i64 0, %150
br i1 %151, label %152, label %154
152: ; preds = %148
%153 = load i32, ptr @ENODEV, align 4
store i32 %153, ptr %2, align 4
br label %931
154: ; preds = %148
br label %155
155: ; preds = %154
br label %156
156: ; preds = %155
%157 = load ptr, ptr %3, align 8
%158 = call i64 @strcmp(ptr noundef %157, ptr noundef @.str.19)
%159 = icmp eq i64 0, %158
br i1 %159, label %160, label %162
160: ; preds = %156
%161 = load i32, ptr @ENOTDIR, align 4
store i32 %161, ptr %2, align 4
br label %931
162: ; preds = %156
br label %163
163: ; preds = %162
br label %164
164: ; preds = %163
%165 = load ptr, ptr %3, align 8
%166 = call i64 @strcmp(ptr noundef %165, ptr noundef @.str.20)
%167 = icmp eq i64 0, %166
br i1 %167, label %168, label %170
168: ; preds = %164
%169 = load i32, ptr @EISDIR, align 4
store i32 %169, ptr %2, align 4
br label %931
170: ; preds = %164
br label %171
171: ; preds = %170
br label %172
172: ; preds = %171
%173 = load ptr, ptr %3, align 8
%174 = call i64 @strcmp(ptr noundef %173, ptr noundef @.str.21)
%175 = icmp eq i64 0, %174
br i1 %175, label %176, label %178
176: ; preds = %172
%177 = load i32, ptr @EINVAL, align 4
store i32 %177, ptr %2, align 4
br label %931
178: ; preds = %172
br label %179
179: ; preds = %178
br label %180
180: ; preds = %179
%181 = load ptr, ptr %3, align 8
%182 = call i64 @strcmp(ptr noundef %181, ptr noundef @.str.22)
%183 = icmp eq i64 0, %182
br i1 %183, label %184, label %186
184: ; preds = %180
%185 = load i32, ptr @ENFILE, align 4
store i32 %185, ptr %2, align 4
br label %931
186: ; preds = %180
br label %187
187: ; preds = %186
br label %188
188: ; preds = %187
%189 = load ptr, ptr %3, align 8
%190 = call i64 @strcmp(ptr noundef %189, ptr noundef @.str.23)
%191 = icmp eq i64 0, %190
br i1 %191, label %192, label %194
192: ; preds = %188
%193 = load i32, ptr @EMFILE, align 4
store i32 %193, ptr %2, align 4
br label %931
194: ; preds = %188
br label %195
195: ; preds = %194
br label %196
196: ; preds = %195
%197 = load ptr, ptr %3, align 8
%198 = call i64 @strcmp(ptr noundef %197, ptr noundef @.str.24)
%199 = icmp eq i64 0, %198
br i1 %199, label %200, label %202
200: ; preds = %196
%201 = load i32, ptr @ENOTTY, align 4
store i32 %201, ptr %2, align 4
br label %931
202: ; preds = %196
br label %203
203: ; preds = %202
br label %204
204: ; preds = %203
%205 = load ptr, ptr %3, align 8
%206 = call i64 @strcmp(ptr noundef %205, ptr noundef @.str.25)
%207 = icmp eq i64 0, %206
br i1 %207, label %208, label %210
208: ; preds = %204
%209 = load i32, ptr @ETXTBSY, align 4
store i32 %209, ptr %2, align 4
br label %931
210: ; preds = %204
br label %211
211: ; preds = %210
br label %212
212: ; preds = %211
%213 = load ptr, ptr %3, align 8
%214 = call i64 @strcmp(ptr noundef %213, ptr noundef @.str.26)
%215 = icmp eq i64 0, %214
br i1 %215, label %216, label %218
216: ; preds = %212
%217 = load i32, ptr @EFBIG, align 4
store i32 %217, ptr %2, align 4
br label %931
218: ; preds = %212
br label %219
219: ; preds = %218
br label %220
220: ; preds = %219
%221 = load ptr, ptr %3, align 8
%222 = call i64 @strcmp(ptr noundef %221, ptr noundef @.str.27)
%223 = icmp eq i64 0, %222
br i1 %223, label %224, label %226
224: ; preds = %220
%225 = load i32, ptr @ENOSPC, align 4
store i32 %225, ptr %2, align 4
br label %931
226: ; preds = %220
br label %227
227: ; preds = %226
br label %228
228: ; preds = %227
%229 = load ptr, ptr %3, align 8
%230 = call i64 @strcmp(ptr noundef %229, ptr noundef @.str.28)
%231 = icmp eq i64 0, %230
br i1 %231, label %232, label %234
232: ; preds = %228
%233 = load i32, ptr @ESPIPE, align 4
store i32 %233, ptr %2, align 4
br label %931
234: ; preds = %228
br label %235
235: ; preds = %234
br label %236
236: ; preds = %235
%237 = load ptr, ptr %3, align 8
%238 = call i64 @strcmp(ptr noundef %237, ptr noundef @.str.29)
%239 = icmp eq i64 0, %238
br i1 %239, label %240, label %242
240: ; preds = %236
%241 = load i32, ptr @EROFS, align 4
store i32 %241, ptr %2, align 4
br label %931
242: ; preds = %236
br label %243
243: ; preds = %242
br label %244
244: ; preds = %243
%245 = load ptr, ptr %3, align 8
%246 = call i64 @strcmp(ptr noundef %245, ptr noundef @.str.30)
%247 = icmp eq i64 0, %246
br i1 %247, label %248, label %250
248: ; preds = %244
%249 = load i32, ptr @EMLINK, align 4
store i32 %249, ptr %2, align 4
br label %931
250: ; preds = %244
br label %251
251: ; preds = %250
br label %252
252: ; preds = %251
%253 = load ptr, ptr %3, align 8
%254 = call i64 @strcmp(ptr noundef %253, ptr noundef @.str.31)
%255 = icmp eq i64 0, %254
br i1 %255, label %256, label %258
256: ; preds = %252
%257 = load i32, ptr @EPIPE, align 4
store i32 %257, ptr %2, align 4
br label %931
258: ; preds = %252
br label %259
259: ; preds = %258
br label %260
260: ; preds = %259
%261 = load ptr, ptr %3, align 8
%262 = call i64 @strcmp(ptr noundef %261, ptr noundef @.str.32)
%263 = icmp eq i64 0, %262
br i1 %263, label %264, label %266
264: ; preds = %260
%265 = load i32, ptr @EDOM, align 4
store i32 %265, ptr %2, align 4
br label %931
266: ; preds = %260
br label %267
267: ; preds = %266
br label %268
268: ; preds = %267
%269 = load ptr, ptr %3, align 8
%270 = call i64 @strcmp(ptr noundef %269, ptr noundef @.str.33)
%271 = icmp eq i64 0, %270
br i1 %271, label %272, label %274
272: ; preds = %268
%273 = load i32, ptr @ERANGE, align 4
store i32 %273, ptr %2, align 4
br label %931
274: ; preds = %268
br label %275
275: ; preds = %274
br label %276
276: ; preds = %275
%277 = load ptr, ptr %3, align 8
%278 = call i64 @strcmp(ptr noundef %277, ptr noundef @.str.34)
%279 = icmp eq i64 0, %278
br i1 %279, label %280, label %282
280: ; preds = %276
%281 = load i32, ptr @EDEADLK, align 4
store i32 %281, ptr %2, align 4
br label %931
282: ; preds = %276
br label %283
283: ; preds = %282
br label %284
284: ; preds = %283
%285 = load ptr, ptr %3, align 8
%286 = call i64 @strcmp(ptr noundef %285, ptr noundef @.str.35)
%287 = icmp eq i64 0, %286
br i1 %287, label %288, label %290
288: ; preds = %284
%289 = load i32, ptr @ENAMETOOLONG, align 4
store i32 %289, ptr %2, align 4
br label %931
290: ; preds = %284
br label %291
291: ; preds = %290
br label %292
292: ; preds = %291
%293 = load ptr, ptr %3, align 8
%294 = call i64 @strcmp(ptr noundef %293, ptr noundef @.str.36)
%295 = icmp eq i64 0, %294
br i1 %295, label %296, label %298
296: ; preds = %292
%297 = load i32, ptr @ENOLCK, align 4
store i32 %297, ptr %2, align 4
br label %931
298: ; preds = %292
br label %299
299: ; preds = %298
br label %300
300: ; preds = %299
%301 = load ptr, ptr %3, align 8
%302 = call i64 @strcmp(ptr noundef %301, ptr noundef @.str.37)
%303 = icmp eq i64 0, %302
br i1 %303, label %304, label %306
304: ; preds = %300
%305 = load i32, ptr @ENOSYS, align 4
store i32 %305, ptr %2, align 4
br label %931
306: ; preds = %300
br label %307
307: ; preds = %306
br label %308
308: ; preds = %307
%309 = load ptr, ptr %3, align 8
%310 = call i64 @strcmp(ptr noundef %309, ptr noundef @.str.38)
%311 = icmp eq i64 0, %310
br i1 %311, label %312, label %314
312: ; preds = %308
%313 = load i32, ptr @ENOTEMPTY, align 4
store i32 %313, ptr %2, align 4
br label %931
314: ; preds = %308
br label %315
315: ; preds = %314
br label %316
316: ; preds = %315
%317 = load ptr, ptr %3, align 8
%318 = call i64 @strcmp(ptr noundef %317, ptr noundef @.str.39)
%319 = icmp eq i64 0, %318
br i1 %319, label %320, label %322
320: ; preds = %316
%321 = load i32, ptr @ELOOP, align 4
store i32 %321, ptr %2, align 4
br label %931
322: ; preds = %316
br label %323
323: ; preds = %322
br label %324
324: ; preds = %323
%325 = load ptr, ptr %3, align 8
%326 = call i64 @strcmp(ptr noundef %325, ptr noundef @.str.40)
%327 = icmp eq i64 0, %326
br i1 %327, label %328, label %330
328: ; preds = %324
%329 = load i32, ptr @ENOMSG, align 4
store i32 %329, ptr %2, align 4
br label %931
330: ; preds = %324
br label %331
331: ; preds = %330
br label %332
332: ; preds = %331
%333 = load ptr, ptr %3, align 8
%334 = call i64 @strcmp(ptr noundef %333, ptr noundef @.str.41)
%335 = icmp eq i64 0, %334
br i1 %335, label %336, label %338
336: ; preds = %332
%337 = load i32, ptr @EIDRM, align 4
store i32 %337, ptr %2, align 4
br label %931
338: ; preds = %332
br label %339
339: ; preds = %338
br label %340
340: ; preds = %339
%341 = load ptr, ptr %3, align 8
%342 = call i64 @strcmp(ptr noundef %341, ptr noundef @.str.42)
%343 = icmp eq i64 0, %342
br i1 %343, label %344, label %346
344: ; preds = %340
%345 = load i32, ptr @EINPROGRESS, align 4
store i32 %345, ptr %2, align 4
br label %931
346: ; preds = %340
br label %347
347: ; preds = %346
br label %348
348: ; preds = %347
%349 = load ptr, ptr %3, align 8
%350 = call i64 @strcmp(ptr noundef %349, ptr noundef @.str.43)
%351 = icmp eq i64 0, %350
br i1 %351, label %352, label %354
352: ; preds = %348
%353 = load i32, ptr @EALREADY, align 4
store i32 %353, ptr %2, align 4
br label %931
354: ; preds = %348
br label %355
355: ; preds = %354
br label %356
356: ; preds = %355
%357 = load ptr, ptr %3, align 8
%358 = call i64 @strcmp(ptr noundef %357, ptr noundef @.str.44)
%359 = icmp eq i64 0, %358
br i1 %359, label %360, label %362
360: ; preds = %356
%361 = load i32, ptr @ENOTSOCK, align 4
store i32 %361, ptr %2, align 4
br label %931
362: ; preds = %356
br label %363
363: ; preds = %362
br label %364
364: ; preds = %363
%365 = load ptr, ptr %3, align 8
%366 = call i64 @strcmp(ptr noundef %365, ptr noundef @.str.45)
%367 = icmp eq i64 0, %366
br i1 %367, label %368, label %370
368: ; preds = %364
%369 = load i32, ptr @EDESTADDRREQ, align 4
store i32 %369, ptr %2, align 4
br label %931
370: ; preds = %364
br label %371
371: ; preds = %370
br label %372
372: ; preds = %371
%373 = load ptr, ptr %3, align 8
%374 = call i64 @strcmp(ptr noundef %373, ptr noundef @.str.46)
%375 = icmp eq i64 0, %374
br i1 %375, label %376, label %378
376: ; preds = %372
%377 = load i32, ptr @EMSGSIZE, align 4
store i32 %377, ptr %2, align 4
br label %931
378: ; preds = %372
br label %379
379: ; preds = %378
br label %380
380: ; preds = %379
%381 = load ptr, ptr %3, align 8
%382 = call i64 @strcmp(ptr noundef %381, ptr noundef @.str.47)
%383 = icmp eq i64 0, %382
br i1 %383, label %384, label %386
384: ; preds = %380
%385 = load i32, ptr @EPROTOTYPE, align 4
store i32 %385, ptr %2, align 4
br label %931
386: ; preds = %380
br label %387
387: ; preds = %386
br label %388
388: ; preds = %387
%389 = load ptr, ptr %3, align 8
%390 = call i64 @strcmp(ptr noundef %389, ptr noundef @.str.48)
%391 = icmp eq i64 0, %390
br i1 %391, label %392, label %394
392: ; preds = %388
%393 = load i32, ptr @ENOPROTOOPT, align 4
store i32 %393, ptr %2, align 4
br label %931
394: ; preds = %388
br label %395
395: ; preds = %394
br label %396
396: ; preds = %395
%397 = load ptr, ptr %3, align 8
%398 = call i64 @strcmp(ptr noundef %397, ptr noundef @.str.49)
%399 = icmp eq i64 0, %398
br i1 %399, label %400, label %402
400: ; preds = %396
%401 = load i32, ptr @EPROTONOSUPPORT, align 4
store i32 %401, ptr %2, align 4
br label %931
402: ; preds = %396
br label %403
403: ; preds = %402
br label %404
404: ; preds = %403
%405 = load ptr, ptr %3, align 8
%406 = call i64 @strcmp(ptr noundef %405, ptr noundef @.str.50)
%407 = icmp eq i64 0, %406
br i1 %407, label %408, label %410
408: ; preds = %404
%409 = load i32, ptr @ESOCKTNOSUPPORT, align 4
store i32 %409, ptr %2, align 4
br label %931
410: ; preds = %404
br label %411
411: ; preds = %410
br label %412
412: ; preds = %411
%413 = load ptr, ptr %3, align 8
%414 = call i64 @strcmp(ptr noundef %413, ptr noundef @.str.51)
%415 = icmp eq i64 0, %414
br i1 %415, label %416, label %418
416: ; preds = %412
%417 = load i32, ptr @EPFNOSUPPORT, align 4
store i32 %417, ptr %2, align 4
br label %931
418: ; preds = %412
br label %419
419: ; preds = %418
br label %420
420: ; preds = %419
%421 = load ptr, ptr %3, align 8
%422 = call i64 @strcmp(ptr noundef %421, ptr noundef @.str.52)
%423 = icmp eq i64 0, %422
br i1 %423, label %424, label %426
424: ; preds = %420
%425 = load i32, ptr @EAFNOSUPPORT, align 4
store i32 %425, ptr %2, align 4
br label %931
426: ; preds = %420
br label %427
427: ; preds = %426
br label %428
428: ; preds = %427
%429 = load ptr, ptr %3, align 8
%430 = call i64 @strcmp(ptr noundef %429, ptr noundef @.str.53)
%431 = icmp eq i64 0, %430
br i1 %431, label %432, label %434
432: ; preds = %428
%433 = load i32, ptr @EADDRINUSE, align 4
store i32 %433, ptr %2, align 4
br label %931
434: ; preds = %428
br label %435
435: ; preds = %434
br label %436
436: ; preds = %435
%437 = load ptr, ptr %3, align 8
%438 = call i64 @strcmp(ptr noundef %437, ptr noundef @.str.54)
%439 = icmp eq i64 0, %438
br i1 %439, label %440, label %442
440: ; preds = %436
%441 = load i32, ptr @EADDRNOTAVAIL, align 4
store i32 %441, ptr %2, align 4
br label %931
442: ; preds = %436
br label %443
443: ; preds = %442
br label %444
444: ; preds = %443
%445 = load ptr, ptr %3, align 8
%446 = call i64 @strcmp(ptr noundef %445, ptr noundef @.str.55)
%447 = icmp eq i64 0, %446
br i1 %447, label %448, label %450
448: ; preds = %444
%449 = load i32, ptr @ENETDOWN, align 4
store i32 %449, ptr %2, align 4
br label %931
450: ; preds = %444
br label %451
451: ; preds = %450
br label %452
452: ; preds = %451
%453 = load ptr, ptr %3, align 8
%454 = call i64 @strcmp(ptr noundef %453, ptr noundef @.str.56)
%455 = icmp eq i64 0, %454
br i1 %455, label %456, label %458
456: ; preds = %452
%457 = load i32, ptr @ENETUNREACH, align 4
store i32 %457, ptr %2, align 4
br label %931
458: ; preds = %452
br label %459
459: ; preds = %458
br label %460
460: ; preds = %459
%461 = load ptr, ptr %3, align 8
%462 = call i64 @strcmp(ptr noundef %461, ptr noundef @.str.57)
%463 = icmp eq i64 0, %462
br i1 %463, label %464, label %466
464: ; preds = %460
%465 = load i32, ptr @ENETRESET, align 4
store i32 %465, ptr %2, align 4
br label %931
466: ; preds = %460
br label %467
467: ; preds = %466
br label %468
468: ; preds = %467
%469 = load ptr, ptr %3, align 8
%470 = call i64 @strcmp(ptr noundef %469, ptr noundef @.str.58)
%471 = icmp eq i64 0, %470
br i1 %471, label %472, label %474
472: ; preds = %468
%473 = load i32, ptr @ECONNABORTED, align 4
store i32 %473, ptr %2, align 4
br label %931
474: ; preds = %468
br label %475
475: ; preds = %474
br label %476
476: ; preds = %475
%477 = load ptr, ptr %3, align 8
%478 = call i64 @strcmp(ptr noundef %477, ptr noundef @.str.59)
%479 = icmp eq i64 0, %478
br i1 %479, label %480, label %482
480: ; preds = %476
%481 = load i32, ptr @ECONNRESET, align 4
store i32 %481, ptr %2, align 4
br label %931
482: ; preds = %476
br label %483
483: ; preds = %482
br label %484
484: ; preds = %483
%485 = load ptr, ptr %3, align 8
%486 = call i64 @strcmp(ptr noundef %485, ptr noundef @.str.60)
%487 = icmp eq i64 0, %486
br i1 %487, label %488, label %490
488: ; preds = %484
%489 = load i32, ptr @ENOBUFS, align 4
store i32 %489, ptr %2, align 4
br label %931
490: ; preds = %484
br label %491
491: ; preds = %490
br label %492
492: ; preds = %491
%493 = load ptr, ptr %3, align 8
%494 = call i64 @strcmp(ptr noundef %493, ptr noundef @.str.61)
%495 = icmp eq i64 0, %494
br i1 %495, label %496, label %498
496: ; preds = %492
%497 = load i32, ptr @EISCONN, align 4
store i32 %497, ptr %2, align 4
br label %931
498: ; preds = %492
br label %499
499: ; preds = %498
br label %500
500: ; preds = %499
%501 = load ptr, ptr %3, align 8
%502 = call i64 @strcmp(ptr noundef %501, ptr noundef @.str.62)
%503 = icmp eq i64 0, %502
br i1 %503, label %504, label %506
504: ; preds = %500
%505 = load i32, ptr @ENOTCONN, align 4
store i32 %505, ptr %2, align 4
br label %931
506: ; preds = %500
br label %507
507: ; preds = %506
br label %508
508: ; preds = %507
%509 = load ptr, ptr %3, align 8
%510 = call i64 @strcmp(ptr noundef %509, ptr noundef @.str.63)
%511 = icmp eq i64 0, %510
br i1 %511, label %512, label %514
512: ; preds = %508
%513 = load i32, ptr @ESHUTDOWN, align 4
store i32 %513, ptr %2, align 4
br label %931
514: ; preds = %508
br label %515
515: ; preds = %514
br label %516
516: ; preds = %515
%517 = load ptr, ptr %3, align 8
%518 = call i64 @strcmp(ptr noundef %517, ptr noundef @.str.64)
%519 = icmp eq i64 0, %518
br i1 %519, label %520, label %522
520: ; preds = %516
%521 = load i32, ptr @ETOOMANYREFS, align 4
store i32 %521, ptr %2, align 4
br label %931
522: ; preds = %516
br label %523
523: ; preds = %522
br label %524
524: ; preds = %523
%525 = load ptr, ptr %3, align 8
%526 = call i64 @strcmp(ptr noundef %525, ptr noundef @.str.65)
%527 = icmp eq i64 0, %526
br i1 %527, label %528, label %530
528: ; preds = %524
%529 = load i32, ptr @ETIMEDOUT, align 4
store i32 %529, ptr %2, align 4
br label %931
530: ; preds = %524
br label %531
531: ; preds = %530
br label %532
532: ; preds = %531
%533 = load ptr, ptr %3, align 8
%534 = call i64 @strcmp(ptr noundef %533, ptr noundef @.str.66)
%535 = icmp eq i64 0, %534
br i1 %535, label %536, label %538
536: ; preds = %532
%537 = load i32, ptr @ECONNREFUSED, align 4
store i32 %537, ptr %2, align 4
br label %931
538: ; preds = %532
br label %539
539: ; preds = %538
br label %540
540: ; preds = %539
%541 = load ptr, ptr %3, align 8
%542 = call i64 @strcmp(ptr noundef %541, ptr noundef @.str.67)
%543 = icmp eq i64 0, %542
br i1 %543, label %544, label %546
544: ; preds = %540
%545 = load i32, ptr @EHOSTDOWN, align 4
store i32 %545, ptr %2, align 4
br label %931
546: ; preds = %540
br label %547
547: ; preds = %546
br label %548
548: ; preds = %547
%549 = load ptr, ptr %3, align 8
%550 = call i64 @strcmp(ptr noundef %549, ptr noundef @.str.68)
%551 = icmp eq i64 0, %550
br i1 %551, label %552, label %554
552: ; preds = %548
%553 = load i32, ptr @EHOSTUNREACH, align 4
store i32 %553, ptr %2, align 4
br label %931
554: ; preds = %548
br label %555
555: ; preds = %554
br label %556
556: ; preds = %555
%557 = load ptr, ptr %3, align 8
%558 = call i64 @strcmp(ptr noundef %557, ptr noundef @.str.69)
%559 = icmp eq i64 0, %558
br i1 %559, label %560, label %562
560: ; preds = %556
%561 = load i32, ptr @AF_UNIX, align 4
store i32 %561, ptr %2, align 4
br label %931
562: ; preds = %556
br label %563
563: ; preds = %562
br label %564
564: ; preds = %563
%565 = load ptr, ptr %3, align 8
%566 = call i64 @strcmp(ptr noundef %565, ptr noundef @.str.70)
%567 = icmp eq i64 0, %566
br i1 %567, label %568, label %570
568: ; preds = %564
%569 = load i32, ptr @AF_LOCAL, align 4
store i32 %569, ptr %2, align 4
br label %931
570: ; preds = %564
br label %571
571: ; preds = %570
br label %572
572: ; preds = %571
%573 = load ptr, ptr %3, align 8
%574 = call i64 @strcmp(ptr noundef %573, ptr noundef @.str.71)
%575 = icmp eq i64 0, %574
br i1 %575, label %576, label %578
576: ; preds = %572
%577 = load i32, ptr @AF_INET, align 4
store i32 %577, ptr %2, align 4
br label %931
578: ; preds = %572
br label %579
579: ; preds = %578
br label %580
580: ; preds = %579
%581 = load ptr, ptr %3, align 8
%582 = call i64 @strcmp(ptr noundef %581, ptr noundef @.str.72)
%583 = icmp eq i64 0, %582
br i1 %583, label %584, label %586
584: ; preds = %580
%585 = load i32, ptr @AF_INET6, align 4
store i32 %585, ptr %2, align 4
br label %931
586: ; preds = %580
br label %587
587: ; preds = %586
br label %588
588: ; preds = %587
%589 = load ptr, ptr %3, align 8
%590 = call i64 @strcmp(ptr noundef %589, ptr noundef @.str.73)
%591 = icmp eq i64 0, %590
br i1 %591, label %592, label %594
592: ; preds = %588
%593 = load i32, ptr @SOCK_STREAM, align 4
store i32 %593, ptr %2, align 4
br label %931
594: ; preds = %588
br label %595
595: ; preds = %594
br label %596
596: ; preds = %595
%597 = load ptr, ptr %3, align 8
%598 = call i64 @strcmp(ptr noundef %597, ptr noundef @.str.74)
%599 = icmp eq i64 0, %598
br i1 %599, label %600, label %602
600: ; preds = %596
%601 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %601, ptr %2, align 4
br label %931
602: ; preds = %596
br label %603
603: ; preds = %602
br label %604
604: ; preds = %603
%605 = load ptr, ptr %3, align 8
%606 = call i64 @strcmp(ptr noundef %605, ptr noundef @.str.75)
%607 = icmp eq i64 0, %606
br i1 %607, label %608, label %610
608: ; preds = %604
%609 = load i32, ptr @SOCK_SEQPACKET, align 4
store i32 %609, ptr %2, align 4
br label %931
610: ; preds = %604
br label %611
611: ; preds = %610
br label %612
612: ; preds = %611
%613 = load ptr, ptr %3, align 8
%614 = call i64 @strcmp(ptr noundef %613, ptr noundef @.str.76)
%615 = icmp eq i64 0, %614
br i1 %615, label %616, label %618
616: ; preds = %612
%617 = load i32, ptr @SOCK_RAW, align 4
store i32 %617, ptr %2, align 4
br label %931
618: ; preds = %612
br label %619
619: ; preds = %618
br label %620
620: ; preds = %619
%621 = load ptr, ptr %3, align 8
%622 = call i64 @strcmp(ptr noundef %621, ptr noundef @.str.77)
%623 = icmp eq i64 0, %622
br i1 %623, label %624, label %626
624: ; preds = %620
%625 = load i32, ptr @SOCK_RDM, align 4
store i32 %625, ptr %2, align 4
br label %931
626: ; preds = %620
br label %627
627: ; preds = %626
br label %628
628: ; preds = %627
%629 = load ptr, ptr %3, align 8
%630 = call i64 @strcmp(ptr noundef %629, ptr noundef @.str.78)
%631 = icmp eq i64 0, %630
br i1 %631, label %632, label %634
632: ; preds = %628
%633 = load i32, ptr @SOL_SOCKET, align 4
store i32 %633, ptr %2, align 4
br label %931
634: ; preds = %628
br label %635
635: ; preds = %634
br label %636
636: ; preds = %635
%637 = load ptr, ptr %3, align 8
%638 = call i64 @strcmp(ptr noundef %637, ptr noundef @.str.79)
%639 = icmp eq i64 0, %638
br i1 %639, label %640, label %642
640: ; preds = %636
%641 = load i32, ptr @IPPROTO_IP, align 4
store i32 %641, ptr %2, align 4
br label %931
642: ; preds = %636
br label %643
643: ; preds = %642
br label %644
644: ; preds = %643
%645 = load ptr, ptr %3, align 8
%646 = call i64 @strcmp(ptr noundef %645, ptr noundef @.str.80)
%647 = icmp eq i64 0, %646
br i1 %647, label %648, label %650
648: ; preds = %644
%649 = load i32, ptr @IPPROTO_IPV6, align 4
store i32 %649, ptr %2, align 4
br label %931
650: ; preds = %644
br label %651
651: ; preds = %650
br label %652
652: ; preds = %651
%653 = load ptr, ptr %3, align 8
%654 = call i64 @strcmp(ptr noundef %653, ptr noundef @.str.81)
%655 = icmp eq i64 0, %654
br i1 %655, label %656, label %658
656: ; preds = %652
%657 = load i32, ptr @IPPROTO_TCP, align 4
store i32 %657, ptr %2, align 4
br label %931
658: ; preds = %652
br label %659
659: ; preds = %658
br label %660
660: ; preds = %659
%661 = load ptr, ptr %3, align 8
%662 = call i64 @strcmp(ptr noundef %661, ptr noundef @.str.82)
%663 = icmp eq i64 0, %662
br i1 %663, label %664, label %666
664: ; preds = %660
%665 = load i32, ptr @IPPROTO_UDP, align 4
store i32 %665, ptr %2, align 4
br label %931
666: ; preds = %660
br label %667
667: ; preds = %666
br label %668
668: ; preds = %667
%669 = load ptr, ptr %3, align 8
%670 = call i64 @strcmp(ptr noundef %669, ptr noundef @.str.83)
%671 = icmp eq i64 0, %670
br i1 %671, label %672, label %674
672: ; preds = %668
%673 = load i32, ptr @SO_ACCEPTCONN, align 4
store i32 %673, ptr %2, align 4
br label %931
674: ; preds = %668
br label %675
675: ; preds = %674
br label %676
676: ; preds = %675
%677 = load ptr, ptr %3, align 8
%678 = call i64 @strcmp(ptr noundef %677, ptr noundef @.str.84)
%679 = icmp eq i64 0, %678
br i1 %679, label %680, label %682
680: ; preds = %676
%681 = load i32, ptr @SO_BROADCAST, align 4
store i32 %681, ptr %2, align 4
br label %931
682: ; preds = %676
br label %683
683: ; preds = %682
br label %684
684: ; preds = %683
%685 = load ptr, ptr %3, align 8
%686 = call i64 @strcmp(ptr noundef %685, ptr noundef @.str.85)
%687 = icmp eq i64 0, %686
br i1 %687, label %688, label %690
688: ; preds = %684
%689 = load i32, ptr @SO_DEBUG, align 4
store i32 %689, ptr %2, align 4
br label %931
690: ; preds = %684
br label %691
691: ; preds = %690
br label %692
692: ; preds = %691
%693 = load ptr, ptr %3, align 8
%694 = call i64 @strcmp(ptr noundef %693, ptr noundef @.str.86)
%695 = icmp eq i64 0, %694
br i1 %695, label %696, label %698
696: ; preds = %692
%697 = load i32, ptr @SO_ERROR, align 4
store i32 %697, ptr %2, align 4
br label %931
698: ; preds = %692
br label %699
699: ; preds = %698
br label %700
700: ; preds = %699
%701 = load ptr, ptr %3, align 8
%702 = call i64 @strcmp(ptr noundef %701, ptr noundef @.str.87)
%703 = icmp eq i64 0, %702
br i1 %703, label %704, label %706
704: ; preds = %700
%705 = load i32, ptr @SO_DONTROUTE, align 4
store i32 %705, ptr %2, align 4
br label %931
706: ; preds = %700
br label %707
707: ; preds = %706
br label %708
708: ; preds = %707
%709 = load ptr, ptr %3, align 8
%710 = call i64 @strcmp(ptr noundef %709, ptr noundef @.str.88)
%711 = icmp eq i64 0, %710
br i1 %711, label %712, label %714
712: ; preds = %708
%713 = load i32, ptr @SO_KEEPALIVE, align 4
store i32 %713, ptr %2, align 4
br label %931
714: ; preds = %708
br label %715
715: ; preds = %714
br label %716
716: ; preds = %715
%717 = load ptr, ptr %3, align 8
%718 = call i64 @strcmp(ptr noundef %717, ptr noundef @.str.89)
%719 = icmp eq i64 0, %718
br i1 %719, label %720, label %722
720: ; preds = %716
%721 = load i32, ptr @SO_LINGER, align 4
store i32 %721, ptr %2, align 4
br label %931
722: ; preds = %716
br label %723
723: ; preds = %722
br label %724
724: ; preds = %723
%725 = load ptr, ptr %3, align 8
%726 = call i64 @strcmp(ptr noundef %725, ptr noundef @.str.90)
%727 = icmp eq i64 0, %726
br i1 %727, label %728, label %730
728: ; preds = %724
%729 = load i32, ptr @SO_OOBINLINE, align 4
store i32 %729, ptr %2, align 4
br label %931
730: ; preds = %724
br label %731
731: ; preds = %730
br label %732
732: ; preds = %731
%733 = load ptr, ptr %3, align 8
%734 = call i64 @strcmp(ptr noundef %733, ptr noundef @.str.91)
%735 = icmp eq i64 0, %734
br i1 %735, label %736, label %738
736: ; preds = %732
%737 = load i32, ptr @SO_RCVBUF, align 4
store i32 %737, ptr %2, align 4
br label %931
738: ; preds = %732
br label %739
739: ; preds = %738
br label %740
740: ; preds = %739
%741 = load ptr, ptr %3, align 8
%742 = call i64 @strcmp(ptr noundef %741, ptr noundef @.str.92)
%743 = icmp eq i64 0, %742
br i1 %743, label %744, label %746
744: ; preds = %740
%745 = load i32, ptr @SO_RCVLOWAT, align 4
store i32 %745, ptr %2, align 4
br label %931
746: ; preds = %740
br label %747
747: ; preds = %746
br label %748
748: ; preds = %747
%749 = load ptr, ptr %3, align 8
%750 = call i64 @strcmp(ptr noundef %749, ptr noundef @.str.93)
%751 = icmp eq i64 0, %750
br i1 %751, label %752, label %754
752: ; preds = %748
%753 = load i32, ptr @SO_SNDLOWAT, align 4
store i32 %753, ptr %2, align 4
br label %931
754: ; preds = %748
br label %755
755: ; preds = %754
br label %756
756: ; preds = %755
%757 = load ptr, ptr %3, align 8
%758 = call i64 @strcmp(ptr noundef %757, ptr noundef @.str.94)
%759 = icmp eq i64 0, %758
br i1 %759, label %760, label %762
760: ; preds = %756
%761 = load i32, ptr @SO_RCVTIMEO, align 4
store i32 %761, ptr %2, align 4
br label %931
762: ; preds = %756
br label %763
763: ; preds = %762
br label %764
764: ; preds = %763
%765 = load ptr, ptr %3, align 8
%766 = call i64 @strcmp(ptr noundef %765, ptr noundef @.str.95)
%767 = icmp eq i64 0, %766
br i1 %767, label %768, label %770
768: ; preds = %764
%769 = load i32, ptr @SO_SNDTIMEO, align 4
store i32 %769, ptr %2, align 4
br label %931
770: ; preds = %764
br label %771
771: ; preds = %770
br label %772
772: ; preds = %771
%773 = load ptr, ptr %3, align 8
%774 = call i64 @strcmp(ptr noundef %773, ptr noundef @.str.96)
%775 = icmp eq i64 0, %774
br i1 %775, label %776, label %778
776: ; preds = %772
%777 = load i32, ptr @SO_REUSEADDR, align 4
store i32 %777, ptr %2, align 4
br label %931
778: ; preds = %772
br label %779
779: ; preds = %778
br label %780
780: ; preds = %779
%781 = load ptr, ptr %3, align 8
%782 = call i64 @strcmp(ptr noundef %781, ptr noundef @.str.97)
%783 = icmp eq i64 0, %782
br i1 %783, label %784, label %786
784: ; preds = %780
%785 = load i32, ptr @SO_SNDBUF, align 4
store i32 %785, ptr %2, align 4
br label %931
786: ; preds = %780
br label %787
787: ; preds = %786
br label %788
788: ; preds = %787
%789 = load ptr, ptr %3, align 8
%790 = call i64 @strcmp(ptr noundef %789, ptr noundef @.str.98)
%791 = icmp eq i64 0, %790
br i1 %791, label %792, label %794
792: ; preds = %788
%793 = load i32, ptr @SO_TIMESTAMP, align 4
store i32 %793, ptr %2, align 4
br label %931
794: ; preds = %788
br label %795
795: ; preds = %794
br label %796
796: ; preds = %795
%797 = load ptr, ptr %3, align 8
%798 = call i64 @strcmp(ptr noundef %797, ptr noundef @.str.99)
%799 = icmp eq i64 0, %798
br i1 %799, label %800, label %802
800: ; preds = %796
%801 = load i32, ptr @SO_TYPE, align 4
store i32 %801, ptr %2, align 4
br label %931
802: ; preds = %796
br label %803
803: ; preds = %802
br label %804
804: ; preds = %803
%805 = load ptr, ptr %3, align 8
%806 = call i64 @strcmp(ptr noundef %805, ptr noundef @.str.100)
%807 = icmp eq i64 0, %806
br i1 %807, label %808, label %810
808: ; preds = %804
%809 = load i32, ptr @TCP_NODELAY, align 4
store i32 %809, ptr %2, align 4
br label %931
810: ; preds = %804
br label %811
811: ; preds = %810
br label %812
812: ; preds = %811
%813 = load ptr, ptr %3, align 8
%814 = call i64 @strcmp(ptr noundef %813, ptr noundef @.str.101)
%815 = icmp eq i64 0, %814
br i1 %815, label %816, label %818
816: ; preds = %812
%817 = load i32, ptr @TCP_MAXSEG, align 4
store i32 %817, ptr %2, align 4
br label %931
818: ; preds = %812
br label %819
819: ; preds = %818
br label %820
820: ; preds = %819
%821 = load ptr, ptr %3, align 8
%822 = call i64 @strcmp(ptr noundef %821, ptr noundef @.str.102)
%823 = icmp eq i64 0, %822
br i1 %823, label %824, label %826
824: ; preds = %820
%825 = load i32, ptr @IP_MULTICAST_IF, align 4
store i32 %825, ptr %2, align 4
br label %931
826: ; preds = %820
br label %827
827: ; preds = %826
br label %828
828: ; preds = %827
%829 = load ptr, ptr %3, align 8
%830 = call i64 @strcmp(ptr noundef %829, ptr noundef @.str.103)
%831 = icmp eq i64 0, %830
br i1 %831, label %832, label %834
832: ; preds = %828
%833 = load i32, ptr @IP_MULTICAST_TTL, align 4
store i32 %833, ptr %2, align 4
br label %931
834: ; preds = %828
br label %835
835: ; preds = %834
br label %836
836: ; preds = %835
%837 = load ptr, ptr %3, align 8
%838 = call i64 @strcmp(ptr noundef %837, ptr noundef @.str.104)
%839 = icmp eq i64 0, %838
br i1 %839, label %840, label %842
840: ; preds = %836
%841 = load i32, ptr @IP_MULTICAST_LOOP, align 4
store i32 %841, ptr %2, align 4
br label %931
842: ; preds = %836
br label %843
843: ; preds = %842
br label %844
844: ; preds = %843
%845 = load ptr, ptr %3, align 8
%846 = call i64 @strcmp(ptr noundef %845, ptr noundef @.str.105)
%847 = icmp eq i64 0, %846
br i1 %847, label %848, label %850
848: ; preds = %844
%849 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
store i32 %849, ptr %2, align 4
br label %931
850: ; preds = %844
br label %851
851: ; preds = %850
br label %852
852: ; preds = %851
%853 = load ptr, ptr %3, align 8
%854 = call i64 @strcmp(ptr noundef %853, ptr noundef @.str.106)
%855 = icmp eq i64 0, %854
br i1 %855, label %856, label %858
856: ; preds = %852
%857 = load i32, ptr @IP_DROP_MEMBERSHIP, align 4
store i32 %857, ptr %2, align 4
br label %931
858: ; preds = %852
br label %859
859: ; preds = %858
br label %860
860: ; preds = %859
%861 = load ptr, ptr %3, align 8
%862 = call i64 @strcmp(ptr noundef %861, ptr noundef @.str.107)
%863 = icmp eq i64 0, %862
br i1 %863, label %864, label %866
864: ; preds = %860
%865 = load i32, ptr @INADDR_ANY, align 4
store i32 %865, ptr %2, align 4
br label %931
866: ; preds = %860
br label %867
867: ; preds = %866
br label %868
868: ; preds = %867
%869 = load ptr, ptr %3, align 8
%870 = call i64 @strcmp(ptr noundef %869, ptr noundef @.str.108)
%871 = icmp eq i64 0, %870
br i1 %871, label %872, label %874
872: ; preds = %868
%873 = load i32, ptr @INADDR_NONE, align 4
store i32 %873, ptr %2, align 4
br label %931
874: ; preds = %868
br label %875
875: ; preds = %874
br label %876
876: ; preds = %875
%877 = load ptr, ptr %3, align 8
%878 = call i64 @strcmp(ptr noundef %877, ptr noundef @.str.109)
%879 = icmp eq i64 0, %878
br i1 %879, label %880, label %882
880: ; preds = %876
%881 = load i32, ptr @INADDR_BROADCAST, align 4
store i32 %881, ptr %2, align 4
br label %931
882: ; preds = %876
br label %883
883: ; preds = %882
br label %884
884: ; preds = %883
%885 = load ptr, ptr %3, align 8
%886 = call i64 @strcmp(ptr noundef %885, ptr noundef @.str.110)
%887 = icmp eq i64 0, %886
br i1 %887, label %888, label %890
888: ; preds = %884
%889 = load i32, ptr @MSG_OOB, align 4
store i32 %889, ptr %2, align 4
br label %931
890: ; preds = %884
br label %891
891: ; preds = %890
br label %892
892: ; preds = %891
%893 = load ptr, ptr %3, align 8
%894 = call i64 @strcmp(ptr noundef %893, ptr noundef @.str.111)
%895 = icmp eq i64 0, %894
br i1 %895, label %896, label %898
896: ; preds = %892
%897 = load i32, ptr @MSG_PEEK, align 4
store i32 %897, ptr %2, align 4
br label %931
898: ; preds = %892
br label %899
899: ; preds = %898
br label %900
900: ; preds = %899
%901 = load ptr, ptr %3, align 8
%902 = call i64 @strcmp(ptr noundef %901, ptr noundef @.str.112)
%903 = icmp eq i64 0, %902
br i1 %903, label %904, label %906
904: ; preds = %900
%905 = load i32, ptr @MSG_DONTWAIT, align 4
store i32 %905, ptr %2, align 4
br label %931
906: ; preds = %900
br label %907
907: ; preds = %906
br label %908
908: ; preds = %907
%909 = load ptr, ptr %3, align 8
%910 = call i64 @strcmp(ptr noundef %909, ptr noundef @.str.113)
%911 = icmp eq i64 0, %910
br i1 %911, label %912, label %914
912: ; preds = %908
%913 = load i32, ptr @SHUT_RD, align 4
store i32 %913, ptr %2, align 4
br label %931
914: ; preds = %908
br label %915
915: ; preds = %914
br label %916
916: ; preds = %915
%917 = load ptr, ptr %3, align 8
%918 = call i64 @strcmp(ptr noundef %917, ptr noundef @.str.114)
%919 = icmp eq i64 0, %918
br i1 %919, label %920, label %922
920: ; preds = %916
%921 = load i32, ptr @SHUT_WR, align 4
store i32 %921, ptr %2, align 4
br label %931
922: ; preds = %916
br label %923
923: ; preds = %922
br label %924
924: ; preds = %923
%925 = load ptr, ptr %3, align 8
%926 = call i64 @strcmp(ptr noundef %925, ptr noundef @.str.115)
%927 = icmp eq i64 0, %926
br i1 %927, label %928, label %930
928: ; preds = %924
%929 = load i32, ptr @SHUT_RDWR, align 4
store i32 %929, ptr %2, align 4
br label %931
930: ; preds = %924
br label %931
931: ; preds = %8, %16, %24, %32, %40, %48, %56, %64, %72, %80, %88, %96, %104, %112, %120, %128, %136, %144, %152, %160, %168, %176, %184, %192, %200, %208, %216, %224, %232, %240, %248, %256, %264, %272, %280, %288, %296, %304, %312, %320, %328, %336, %344, %352, %360, %368, %376, %384, %392, %400, %408, %416, %424, %432, %440, %448, %456, %464, %472, %480, %488, %496, %504, %512, %520, %528, %536, %544, %552, %560, %568, %576, %584, %592, %600, %608, %616, %624, %632, %640, %648, %656, %664, %672, %680, %688, %696, %704, %712, %720, %728, %736, %744, %752, %760, %768, %776, %784, %792, %800, %808, %816, %824, %832, %840, %848, %856, %864, %872, %880, %888, %896, %904, %912, %920, %928, %930
%932 = load i32, ptr %2, align 4
ret i32 %932
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps99div1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"EPERM\00", align 1
@EPERM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"ENOENT\00", align 1
@ENOENT = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"ESRCH\00", align 1
@ESRCH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"EINTR\00", align 1
@EINTR = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"EIO\00", align 1
@EIO = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"ENXIO\00", align 1
@ENXIO = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [6 x i8] c"E2BIG\00", align 1
@E2BIG = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [8 x i8] c"ENOEXEC\00", align 1
@ENOEXEC = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [6 x i8] c"EBADF\00", align 1
@EBADF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [7 x i8] c"ECHILD\00", align 1
@ECHILD = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [7 x i8] c"EAGAIN\00", align 1
@EAGAIN = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [7 x i8] c"ENOMEM\00", align 1
@ENOMEM = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [7 x i8] c"EACCES\00", align 1
@EACCES = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [7 x i8] c"EFAULT\00", align 1
@EFAULT = dso_local global i32 0, align 4
@.str.14 = private unnamed_addr constant [8 x i8] c"ENOTBLK\00", align 1
@ENOTBLK = dso_local global i32 0, align 4
@.str.15 = private unnamed_addr constant [6 x i8] c"EBUSY\00", align 1
@EBUSY = dso_local global i32 0, align 4
@.str.16 = private unnamed_addr constant [7 x i8] c"EEXIST\00", align 1
@EEXIST = dso_local global i32 0, align 4
@.str.17 = private unnamed_addr constant [6 x i8] c"EXDEV\00", align 1
@EXDEV = dso_local global i32 0, align 4
@.str.18 = private unnamed_addr constant [7 x i8] c"ENODEV\00", align 1
@ENODEV = dso_local global i32 0, align 4
@.str.19 = private unnamed_addr constant [8 x i8] c"ENOTDIR\00", align 1
@ENOTDIR = dso_local global i32 0, align 4
@.str.20 = private unnamed_addr constant [7 x i8] c"EISDIR\00", align 1
@EISDIR = dso_local global i32 0, align 4
@.str.21 = private unnamed_addr constant [7 x i8] c"EINVAL\00", align 1
@EINVAL = dso_local global i32 0, align 4
@.str.22 = private unnamed_addr constant [7 x i8] c"ENFILE\00", align 1
@ENFILE = dso_local global i32 0, align 4
@.str.23 = private unnamed_addr constant [7 x i8] c"EMFILE\00", align 1
@EMFILE = dso_local global i32 0, align 4
@.str.24 = private unnamed_addr constant [7 x i8] c"ENOTTY\00", align 1
@ENOTTY = dso_local global i32 0, align 4
@.str.25 = private unnamed_addr constant [8 x i8] c"ETXTBSY\00", align 1
@ETXTBSY = dso_local global i32 0, align 4
@.str.26 = private unnamed_addr constant [6 x i8] c"EFBIG\00", align 1
@EFBIG = dso_local global i32 0, align 4
@.str.27 = private unnamed_addr constant [7 x i8] c"ENOSPC\00", align 1
@ENOSPC = dso_local global i32 0, align 4
@.str.28 = private unnamed_addr constant [7 x i8] c"ESPIPE\00", align 1
@ESPIPE = dso_local global i32 0, align 4
@.str.29 = private unnamed_addr constant [6 x i8] c"EROFS\00", align 1
@EROFS = dso_local global i32 0, align 4
@.str.30 = private unnamed_addr constant [7 x i8] c"EMLINK\00", align 1
@EMLINK = dso_local global i32 0, align 4
@.str.31 = private unnamed_addr constant [6 x i8] c"EPIPE\00", align 1
@EPIPE = dso_local global i32 0, align 4
@.str.32 = private unnamed_addr constant [5 x i8] c"EDOM\00", align 1
@EDOM = dso_local global i32 0, align 4
@.str.33 = private unnamed_addr constant [7 x i8] c"ERANGE\00", align 1
@ERANGE = dso_local global i32 0, align 4
@.str.34 = private unnamed_addr constant [8 x i8] c"EDEADLK\00", align 1
@EDEADLK = dso_local global i32 0, align 4
@.str.35 = private unnamed_addr constant [13 x i8] c"ENAMETOOLONG\00", align 1
@ENAMETOOLONG = dso_local global i32 0, align 4
@.str.36 = private unnamed_addr constant [7 x i8] c"ENOLCK\00", align 1
@ENOLCK = dso_local global i32 0, align 4
@.str.37 = private unnamed_addr constant [7 x i8] c"ENOSYS\00", align 1
@ENOSYS = dso_local global i32 0, align 4
@.str.38 = private unnamed_addr constant [10 x i8] c"ENOTEMPTY\00", align 1
@ENOTEMPTY = dso_local global i32 0, align 4
@.str.39 = private unnamed_addr constant [6 x i8] c"ELOOP\00", align 1
@ELOOP = dso_local global i32 0, align 4
@.str.40 = private unnamed_addr constant [7 x i8] c"ENOMSG\00", align 1
@ENOMSG = dso_local global i32 0, align 4
@.str.41 = private unnamed_addr constant [6 x i8] c"EIDRM\00", align 1
@EIDRM = dso_local global i32 0, align 4
@.str.42 = private unnamed_addr constant [12 x i8] c"EINPROGRESS\00", align 1
@EINPROGRESS = dso_local global i32 0, align 4
@.str.43 = private unnamed_addr constant [9 x i8] c"EALREADY\00", align 1
@EALREADY = dso_local global i32 0, align 4
@.str.44 = private unnamed_addr constant [9 x i8] c"ENOTSOCK\00", align 1
@ENOTSOCK = dso_local global i32 0, align 4
@.str.45 = private unnamed_addr constant [13 x i8] c"EDESTADDRREQ\00", align 1
@EDESTADDRREQ = dso_local global i32 0, align 4
@.str.46 = private unnamed_addr constant [9 x i8] c"EMSGSIZE\00", align 1
@EMSGSIZE = dso_local global i32 0, align 4
@.str.47 = private unnamed_addr constant [11 x i8] c"EPROTOTYPE\00", align 1
@EPROTOTYPE = dso_local global i32 0, align 4
@.str.48 = private unnamed_addr constant [12 x i8] c"ENOPROTOOPT\00", align 1
@ENOPROTOOPT = dso_local global i32 0, align 4
@.str.49 = private unnamed_addr constant [16 x i8] c"EPROTONOSUPPORT\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@.str.50 = private unnamed_addr constant [16 x i8] c"ESOCKTNOSUPPORT\00", align 1
@ESOCKTNOSUPPORT = dso_local global i32 0, align 4
@.str.51 = private unnamed_addr constant [13 x i8] c"EPFNOSUPPORT\00", align 1
@EPFNOSUPPORT = dso_local global i32 0, align 4
@.str.52 = private unnamed_addr constant [13 x i8] c"EAFNOSUPPORT\00", align 1
@EAFNOSUPPORT = dso_local global i32 0, align 4
@.str.53 = private unnamed_addr constant [11 x i8] c"EADDRINUSE\00", align 1
@EADDRINUSE = dso_local global i32 0, align 4
@.str.54 = private unnamed_addr constant [14 x i8] c"EADDRNOTAVAIL\00", align 1
@EADDRNOTAVAIL = dso_local global i32 0, align 4
@.str.55 = private unnamed_addr constant [9 x i8] c"ENETDOWN\00", align 1
@ENETDOWN = dso_local global i32 0, align 4
@.str.56 = private unnamed_addr constant [12 x i8] c"ENETUNREACH\00", align 1
@ENETUNREACH = dso_local global i32 0, align 4
@.str.57 = private unnamed_addr constant [10 x i8] c"ENETRESET\00", align 1
@ENETRESET = dso_local global i32 0, align 4
@.str.58 = private unnamed_addr constant [13 x i8] c"ECONNABORTED\00", align 1
@ECONNABORTED = dso_local global i32 0, align 4
@.str.59 = private unnamed_addr constant [11 x i8] c"ECONNRESET\00", align 1
@ECONNRESET = dso_local global i32 0, align 4
@.str.60 = private unnamed_addr constant [8 x i8] c"ENOBUFS\00", align 1
@ENOBUFS = dso_local global i32 0, align 4
@.str.61 = private unnamed_addr constant [8 x i8] c"EISCONN\00", align 1
@EISCONN = dso_local global i32 0, align 4
@.str.62 = private unnamed_addr constant [9 x i8] c"ENOTCONN\00", align 1
@ENOTCONN = dso_local global i32 0, align 4
@.str.63 = private unnamed_addr constant [10 x i8] c"ESHUTDOWN\00", align 1
@ESHUTDOWN = dso_local global i32 0, align 4
@.str.64 = private unnamed_addr constant [13 x i8] c"ETOOMANYREFS\00", align 1
@ETOOMANYREFS = dso_local global i32 0, align 4
@.str.65 = private unnamed_addr constant [10 x i8] c"ETIMEDOUT\00", align 1
@ETIMEDOUT = dso_local global i32 0, align 4
@.str.66 = private unnamed_addr constant [13 x i8] c"ECONNREFUSED\00", align 1
@ECONNREFUSED = dso_local global i32 0, align 4
@.str.67 = private unnamed_addr constant [10 x i8] c"EHOSTDOWN\00", align 1
@EHOSTDOWN = dso_local global i32 0, align 4
@.str.68 = private unnamed_addr constant [13 x i8] c"EHOSTUNREACH\00", align 1
@EHOSTUNREACH = dso_local global i32 0, align 4
@.str.69 = private unnamed_addr constant [8 x i8] c"AF_UNIX\00", align 1
@AF_UNIX = dso_local global i32 0, align 4
@.str.70 = private unnamed_addr constant [9 x i8] c"AF_LOCAL\00", align 1
@AF_LOCAL = dso_local global i32 0, align 4
@.str.71 = private unnamed_addr constant [8 x i8] c"AF_INET\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.72 = private unnamed_addr constant [9 x i8] c"AF_INET6\00", align 1
@AF_INET6 = dso_local global i32 0, align 4
@.str.73 = private unnamed_addr constant [12 x i8] c"SOCK_STREAM\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.74 = private unnamed_addr constant [11 x i8] c"SOCK_DGRAM\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.75 = private unnamed_addr constant [15 x i8] c"SOCK_SEQPACKET\00", align 1
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@.str.76 = private unnamed_addr constant [9 x i8] c"SOCK_RAW\00", align 1
@SOCK_RAW = dso_local global i32 0, align 4
@.str.77 = private unnamed_addr constant [9 x i8] c"SOCK_RDM\00", align 1
@SOCK_RDM = dso_local global i32 0, align 4
@.str.78 = private unnamed_addr constant [11 x i8] c"SOL_SOCKET\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@.str.79 = private unnamed_addr constant [11 x i8] c"IPPROTO_IP\00", align 1
@IPPROTO_IP = dso_local global i32 0, align 4
@.str.80 = private unnamed_addr constant [13 x i8] c"IPPROTO_IPV6\00", align 1
@IPPROTO_IPV6 = dso_local global i32 0, align 4
@.str.81 = private unnamed_addr constant [12 x i8] c"IPPROTO_TCP\00", align 1
@IPPROTO_TCP = dso_local global i32 0, align 4
@.str.82 = private unnamed_addr constant [12 x i8] c"IPPROTO_UDP\00", align 1
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str.83 = private unnamed_addr constant [14 x i8] c"SO_ACCEPTCONN\00", align 1
@SO_ACCEPTCONN = dso_local global i32 0, align 4
@.str.84 = private unnamed_addr constant [13 x i8] c"SO_BROADCAST\00", align 1
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.85 = private unnamed_addr constant [9 x i8] c"SO_DEBUG\00", align 1
@SO_DEBUG = dso_local global i32 0, align 4
@.str.86 = private unnamed_addr constant [9 x i8] c"SO_ERROR\00", align 1
@SO_ERROR = dso_local global i32 0, align 4
@.str.87 = private unnamed_addr constant [13 x i8] c"SO_DONTROUTE\00", align 1
@SO_DONTROUTE = dso_local global i32 0, align 4
@.str.88 = private unnamed_addr constant [13 x i8] c"SO_KEEPALIVE\00", align 1
@SO_KEEPALIVE = dso_local global i32 0, align 4
@.str.89 = private unnamed_addr constant [10 x i8] c"SO_LINGER\00", align 1
@SO_LINGER = dso_local global i32 0, align 4
@.str.90 = private unnamed_addr constant [13 x i8] c"SO_OOBINLINE\00", align 1
@SO_OOBINLINE = dso_local global i32 0, align 4
@.str.91 = private unnamed_addr constant [10 x i8] c"SO_RCVBUF\00", align 1
@SO_RCVBUF = dso_local global i32 0, align 4
@.str.92 = private unnamed_addr constant [12 x i8] c"SO_RCVLOWAT\00", align 1
@SO_RCVLOWAT = dso_local global i32 0, align 4
@.str.93 = private unnamed_addr constant [12 x i8] c"SO_SNDLOWAT\00", align 1
@SO_SNDLOWAT = dso_local global i32 0, align 4
@.str.94 = private unnamed_addr constant [12 x i8] c"SO_RCVTIMEO\00", align 1
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.95 = private unnamed_addr constant [12 x i8] c"SO_SNDTIMEO\00", align 1
@SO_SNDTIMEO = dso_local global i32 0, align 4
@.str.96 = private unnamed_addr constant [13 x i8] c"SO_REUSEADDR\00", align 1
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.97 = private unnamed_addr constant [10 x i8] c"SO_SNDBUF\00", align 1
@SO_SNDBUF = dso_local global i32 0, align 4
@.str.98 = private unnamed_addr constant [13 x i8] c"SO_TIMESTAMP\00", align 1
@SO_TIMESTAMP = dso_local global i32 0, align 4
@.str.99 = private unnamed_addr constant [8 x i8] c"SO_TYPE\00", align 1
@SO_TYPE = dso_local global i32 0, align 4
@.str.100 = private unnamed_addr constant [12 x i8] c"TCP_NODELAY\00", align 1
@TCP_NODELAY = dso_local global i32 0, align 4
@.str.101 = private unnamed_addr constant [11 x i8] c"TCP_MAXSEG\00", align 1
@TCP_MAXSEG = dso_local global i32 0, align 4
@.str.102 = private unnamed_addr constant [16 x i8] c"IP_MULTICAST_IF\00", align 1
@IP_MULTICAST_IF = dso_local global i32 0, align 4
@.str.103 = private unnamed_addr constant [17 x i8] c"IP_MULTICAST_TTL\00", align 1
@IP_MULTICAST_TTL = dso_local global i32 0, align 4
@.str.104 = private unnamed_addr constant [18 x i8] c"IP_MULTICAST_LOOP\00", align 1
@IP_MULTICAST_LOOP = dso_local global i32 0, align 4
@.str.105 = private unnamed_addr constant [18 x i8] c"IP_ADD_MEMBERSHIP\00", align 1
@IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4
@.str.106 = private unnamed_addr constant [19 x i8] c"IP_DROP_MEMBERSHIP\00", align 1
@IP_DROP_MEMBERSHIP = dso_local global i32 0, align 4
@.str.107 = private unnamed_addr constant [11 x i8] c"INADDR_ANY\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.108 = private unnamed_addr constant [12 x i8] c"INADDR_NONE\00", align 1
@INADDR_NONE = dso_local global i32 0, align 4
@.str.109 = private unnamed_addr constant [17 x i8] c"INADDR_BROADCAST\00", align 1
@INADDR_BROADCAST = dso_local global i32 0, align 4
@.str.110 = private unnamed_addr constant [8 x i8] c"MSG_OOB\00", align 1
@MSG_OOB = dso_local global i32 0, align 4
@.str.111 = private unnamed_addr constant [9 x i8] c"MSG_PEEK\00", align 1
@MSG_PEEK = dso_local global i32 0, align 4
@.str.112 = private unnamed_addr constant [13 x i8] c"MSG_DONTWAIT\00", align 1
@MSG_DONTWAIT = dso_local global i32 0, align 4
@.str.113 = private unnamed_addr constant [8 x i8] c"SHUT_RD\00", align 1
@SHUT_RD = dso_local global i32 0, align 4
@.str.114 = private unnamed_addr constant [8 x i8] c"SHUT_WR\00", align 1
@SHUT_WR = dso_local global i32 0, align 4
@.str.115 = private unnamed_addr constant [10 x i8] c"SHUT_RDWR\00", align 1
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int_const(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
br label %4
4: ; preds = %1
%5 = load ptr, ptr %3, align 8
%6 = call i64 @strcmp(ptr noundef %5, ptr noundef @.str)
%7 = icmp eq i64 0, %6
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = load i32, ptr @EPERM, align 4
store i32 %9, ptr %2, align 4
br label %931
10: ; preds = %4
br label %11
11: ; preds = %10
br label %12
12: ; preds = %11
%13 = load ptr, ptr %3, align 8
%14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str.1)
%15 = icmp eq i64 0, %14
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = load i32, ptr @ENOENT, align 4
store i32 %17, ptr %2, align 4
br label %931
18: ; preds = %12
br label %19
19: ; preds = %18
br label %20
20: ; preds = %19
%21 = load ptr, ptr %3, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp eq i64 0, %22
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load i32, ptr @ESRCH, align 4
store i32 %25, ptr %2, align 4
br label %931
26: ; preds = %20
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = load ptr, ptr %3, align 8
%30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.3)
%31 = icmp eq i64 0, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i32, ptr @EINTR, align 4
store i32 %33, ptr %2, align 4
br label %931
34: ; preds = %28
br label %35
35: ; preds = %34
br label %36
36: ; preds = %35
%37 = load ptr, ptr %3, align 8
%38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.4)
%39 = icmp eq i64 0, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load i32, ptr @EIO, align 4
store i32 %41, ptr %2, align 4
br label %931
42: ; preds = %36
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = load ptr, ptr %3, align 8
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.5)
%47 = icmp eq i64 0, %46
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = load i32, ptr @ENXIO, align 4
store i32 %49, ptr %2, align 4
br label %931
50: ; preds = %44
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = load ptr, ptr %3, align 8
%54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.6)
%55 = icmp eq i64 0, %54
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load i32, ptr @E2BIG, align 4
store i32 %57, ptr %2, align 4
br label %931
58: ; preds = %52
br label %59
59: ; preds = %58
br label %60
60: ; preds = %59
%61 = load ptr, ptr %3, align 8
%62 = call i64 @strcmp(ptr noundef %61, ptr noundef @.str.7)
%63 = icmp eq i64 0, %62
br i1 %63, label %64, label %66
64: ; preds = %60
%65 = load i32, ptr @ENOEXEC, align 4
store i32 %65, ptr %2, align 4
br label %931
66: ; preds = %60
br label %67
67: ; preds = %66
br label %68
68: ; preds = %67
%69 = load ptr, ptr %3, align 8
%70 = call i64 @strcmp(ptr noundef %69, ptr noundef @.str.8)
%71 = icmp eq i64 0, %70
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = load i32, ptr @EBADF, align 4
store i32 %73, ptr %2, align 4
br label %931
74: ; preds = %68
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = load ptr, ptr %3, align 8
%78 = call i64 @strcmp(ptr noundef %77, ptr noundef @.str.9)
%79 = icmp eq i64 0, %78
br i1 %79, label %80, label %82
80: ; preds = %76
%81 = load i32, ptr @ECHILD, align 4
store i32 %81, ptr %2, align 4
br label %931
82: ; preds = %76
br label %83
83: ; preds = %82
br label %84
84: ; preds = %83
%85 = load ptr, ptr %3, align 8
%86 = call i64 @strcmp(ptr noundef %85, ptr noundef @.str.10)
%87 = icmp eq i64 0, %86
br i1 %87, label %88, label %90
88: ; preds = %84
%89 = load i32, ptr @EAGAIN, align 4
store i32 %89, ptr %2, align 4
br label %931
90: ; preds = %84
br label %91
91: ; preds = %90
br label %92
92: ; preds = %91
%93 = load ptr, ptr %3, align 8
%94 = call i64 @strcmp(ptr noundef %93, ptr noundef @.str.11)
%95 = icmp eq i64 0, %94
br i1 %95, label %96, label %98
96: ; preds = %92
%97 = load i32, ptr @ENOMEM, align 4
store i32 %97, ptr %2, align 4
br label %931
98: ; preds = %92
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = load ptr, ptr %3, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.12)
%103 = icmp eq i64 0, %102
br i1 %103, label %104, label %106
104: ; preds = %100
%105 = load i32, ptr @EACCES, align 4
store i32 %105, ptr %2, align 4
br label %931
106: ; preds = %100
br label %107
107: ; preds = %106
br label %108
108: ; preds = %107
%109 = load ptr, ptr %3, align 8
%110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.13)
%111 = icmp eq i64 0, %110
br i1 %111, label %112, label %114
112: ; preds = %108
%113 = load i32, ptr @EFAULT, align 4
store i32 %113, ptr %2, align 4
br label %931
114: ; preds = %108
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
%117 = load ptr, ptr %3, align 8
%118 = call i64 @strcmp(ptr noundef %117, ptr noundef @.str.14)
%119 = icmp eq i64 0, %118
br i1 %119, label %120, label %122
120: ; preds = %116
%121 = load i32, ptr @ENOTBLK, align 4
store i32 %121, ptr %2, align 4
br label %931
122: ; preds = %116
br label %123
123: ; preds = %122
br label %124
124: ; preds = %123
%125 = load ptr, ptr %3, align 8
%126 = call i64 @strcmp(ptr noundef %125, ptr noundef @.str.15)
%127 = icmp eq i64 0, %126
br i1 %127, label %128, label %130
128: ; preds = %124
%129 = load i32, ptr @EBUSY, align 4
store i32 %129, ptr %2, align 4
br label %931
130: ; preds = %124
br label %131
131: ; preds = %130
br label %132
132: ; preds = %131
%133 = load ptr, ptr %3, align 8
%134 = call i64 @strcmp(ptr noundef %133, ptr noundef @.str.16)
%135 = icmp eq i64 0, %134
br i1 %135, label %136, label %138
136: ; preds = %132
%137 = load i32, ptr @EEXIST, align 4
store i32 %137, ptr %2, align 4
br label %931
138: ; preds = %132
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
%141 = load ptr, ptr %3, align 8
%142 = call i64 @strcmp(ptr noundef %141, ptr noundef @.str.17)
%143 = icmp eq i64 0, %142
br i1 %143, label %144, label %146
144: ; preds = %140
%145 = load i32, ptr @EXDEV, align 4
store i32 %145, ptr %2, align 4
br label %931
146: ; preds = %140
br label %147
147: ; preds = %146
br label %148
148: ; preds = %147
%149 = load ptr, ptr %3, align 8
%150 = call i64 @strcmp(ptr noundef %149, ptr noundef @.str.18)
%151 = icmp eq i64 0, %150
br i1 %151, label %152, label %154
152: ; preds = %148
%153 = load i32, ptr @ENODEV, align 4
store i32 %153, ptr %2, align 4
br label %931
154: ; preds = %148
br label %155
155: ; preds = %154
br label %156
156: ; preds = %155
%157 = load ptr, ptr %3, align 8
%158 = call i64 @strcmp(ptr noundef %157, ptr noundef @.str.19)
%159 = icmp eq i64 0, %158
br i1 %159, label %160, label %162
160: ; preds = %156
%161 = load i32, ptr @ENOTDIR, align 4
store i32 %161, ptr %2, align 4
br label %931
162: ; preds = %156
br label %163
163: ; preds = %162
br label %164
164: ; preds = %163
%165 = load ptr, ptr %3, align 8
%166 = call i64 @strcmp(ptr noundef %165, ptr noundef @.str.20)
%167 = icmp eq i64 0, %166
br i1 %167, label %168, label %170
168: ; preds = %164
%169 = load i32, ptr @EISDIR, align 4
store i32 %169, ptr %2, align 4
br label %931
170: ; preds = %164
br label %171
171: ; preds = %170
br label %172
172: ; preds = %171
%173 = load ptr, ptr %3, align 8
%174 = call i64 @strcmp(ptr noundef %173, ptr noundef @.str.21)
%175 = icmp eq i64 0, %174
br i1 %175, label %176, label %178
176: ; preds = %172
%177 = load i32, ptr @EINVAL, align 4
store i32 %177, ptr %2, align 4
br label %931
178: ; preds = %172
br label %179
179: ; preds = %178
br label %180
180: ; preds = %179
%181 = load ptr, ptr %3, align 8
%182 = call i64 @strcmp(ptr noundef %181, ptr noundef @.str.22)
%183 = icmp eq i64 0, %182
br i1 %183, label %184, label %186
184: ; preds = %180
%185 = load i32, ptr @ENFILE, align 4
store i32 %185, ptr %2, align 4
br label %931
186: ; preds = %180
br label %187
187: ; preds = %186
br label %188
188: ; preds = %187
%189 = load ptr, ptr %3, align 8
%190 = call i64 @strcmp(ptr noundef %189, ptr noundef @.str.23)
%191 = icmp eq i64 0, %190
br i1 %191, label %192, label %194
192: ; preds = %188
%193 = load i32, ptr @EMFILE, align 4
store i32 %193, ptr %2, align 4
br label %931
194: ; preds = %188
br label %195
195: ; preds = %194
br label %196
196: ; preds = %195
%197 = load ptr, ptr %3, align 8
%198 = call i64 @strcmp(ptr noundef %197, ptr noundef @.str.24)
%199 = icmp eq i64 0, %198
br i1 %199, label %200, label %202
200: ; preds = %196
%201 = load i32, ptr @ENOTTY, align 4
store i32 %201, ptr %2, align 4
br label %931
202: ; preds = %196
br label %203
203: ; preds = %202
br label %204
204: ; preds = %203
%205 = load ptr, ptr %3, align 8
%206 = call i64 @strcmp(ptr noundef %205, ptr noundef @.str.25)
%207 = icmp eq i64 0, %206
br i1 %207, label %208, label %210
208: ; preds = %204
%209 = load i32, ptr @ETXTBSY, align 4
store i32 %209, ptr %2, align 4
br label %931
210: ; preds = %204
br label %211
211: ; preds = %210
br label %212
212: ; preds = %211
%213 = load ptr, ptr %3, align 8
%214 = call i64 @strcmp(ptr noundef %213, ptr noundef @.str.26)
%215 = icmp eq i64 0, %214
br i1 %215, label %216, label %218
216: ; preds = %212
%217 = load i32, ptr @EFBIG, align 4
store i32 %217, ptr %2, align 4
br label %931
218: ; preds = %212
br label %219
219: ; preds = %218
br label %220
220: ; preds = %219
%221 = load ptr, ptr %3, align 8
%222 = call i64 @strcmp(ptr noundef %221, ptr noundef @.str.27)
%223 = icmp eq i64 0, %222
br i1 %223, label %224, label %226
224: ; preds = %220
%225 = load i32, ptr @ENOSPC, align 4
store i32 %225, ptr %2, align 4
br label %931
226: ; preds = %220
br label %227
227: ; preds = %226
br label %228
228: ; preds = %227
%229 = load ptr, ptr %3, align 8
%230 = call i64 @strcmp(ptr noundef %229, ptr noundef @.str.28)
%231 = icmp eq i64 0, %230
br i1 %231, label %232, label %234
232: ; preds = %228
%233 = load i32, ptr @ESPIPE, align 4
store i32 %233, ptr %2, align 4
br label %931
234: ; preds = %228
br label %235
235: ; preds = %234
br label %236
236: ; preds = %235
%237 = load ptr, ptr %3, align 8
%238 = call i64 @strcmp(ptr noundef %237, ptr noundef @.str.29)
%239 = icmp eq i64 0, %238
br i1 %239, label %240, label %242
240: ; preds = %236
%241 = load i32, ptr @EROFS, align 4
store i32 %241, ptr %2, align 4
br label %931
242: ; preds = %236
br label %243
243: ; preds = %242
br label %244
244: ; preds = %243
%245 = load ptr, ptr %3, align 8
%246 = call i64 @strcmp(ptr noundef %245, ptr noundef @.str.30)
%247 = icmp eq i64 0, %246
br i1 %247, label %248, label %250
248: ; preds = %244
%249 = load i32, ptr @EMLINK, align 4
store i32 %249, ptr %2, align 4
br label %931
250: ; preds = %244
br label %251
251: ; preds = %250
br label %252
252: ; preds = %251
%253 = load ptr, ptr %3, align 8
%254 = call i64 @strcmp(ptr noundef %253, ptr noundef @.str.31)
%255 = icmp eq i64 0, %254
br i1 %255, label %256, label %258
256: ; preds = %252
%257 = load i32, ptr @EPIPE, align 4
store i32 %257, ptr %2, align 4
br label %931
258: ; preds = %252
br label %259
259: ; preds = %258
br label %260
260: ; preds = %259
%261 = load ptr, ptr %3, align 8
%262 = call i64 @strcmp(ptr noundef %261, ptr noundef @.str.32)
%263 = icmp eq i64 0, %262
br i1 %263, label %264, label %266
264: ; preds = %260
%265 = load i32, ptr @EDOM, align 4
store i32 %265, ptr %2, align 4
br label %931
266: ; preds = %260
br label %267
267: ; preds = %266
br label %268
268: ; preds = %267
%269 = load ptr, ptr %3, align 8
%270 = call i64 @strcmp(ptr noundef %269, ptr noundef @.str.33)
%271 = icmp eq i64 0, %270
br i1 %271, label %272, label %274
272: ; preds = %268
%273 = load i32, ptr @ERANGE, align 4
store i32 %273, ptr %2, align 4
br label %931
274: ; preds = %268
br label %275
275: ; preds = %274
br label %276
276: ; preds = %275
%277 = load ptr, ptr %3, align 8
%278 = call i64 @strcmp(ptr noundef %277, ptr noundef @.str.34)
%279 = icmp eq i64 0, %278
br i1 %279, label %280, label %282
280: ; preds = %276
%281 = load i32, ptr @EDEADLK, align 4
store i32 %281, ptr %2, align 4
br label %931
282: ; preds = %276
br label %283
283: ; preds = %282
br label %284
284: ; preds = %283
%285 = load ptr, ptr %3, align 8
%286 = call i64 @strcmp(ptr noundef %285, ptr noundef @.str.35)
%287 = icmp eq i64 0, %286
br i1 %287, label %288, label %290
288: ; preds = %284
%289 = load i32, ptr @ENAMETOOLONG, align 4
store i32 %289, ptr %2, align 4
br label %931
290: ; preds = %284
br label %291
291: ; preds = %290
br label %292
292: ; preds = %291
%293 = load ptr, ptr %3, align 8
%294 = call i64 @strcmp(ptr noundef %293, ptr noundef @.str.36)
%295 = icmp eq i64 0, %294
br i1 %295, label %296, label %298
296: ; preds = %292
%297 = load i32, ptr @ENOLCK, align 4
store i32 %297, ptr %2, align 4
br label %931
298: ; preds = %292
br label %299
299: ; preds = %298
br label %300
300: ; preds = %299
%301 = load ptr, ptr %3, align 8
%302 = call i64 @strcmp(ptr noundef %301, ptr noundef @.str.37)
%303 = icmp eq i64 0, %302
br i1 %303, label %304, label %306
304: ; preds = %300
%305 = load i32, ptr @ENOSYS, align 4
store i32 %305, ptr %2, align 4
br label %931
306: ; preds = %300
br label %307
307: ; preds = %306
br label %308
308: ; preds = %307
%309 = load ptr, ptr %3, align 8
%310 = call i64 @strcmp(ptr noundef %309, ptr noundef @.str.38)
%311 = icmp eq i64 0, %310
br i1 %311, label %312, label %314
312: ; preds = %308
%313 = load i32, ptr @ENOTEMPTY, align 4
store i32 %313, ptr %2, align 4
br label %931
314: ; preds = %308
br label %315
315: ; preds = %314
br label %316
316: ; preds = %315
%317 = load ptr, ptr %3, align 8
%318 = call i64 @strcmp(ptr noundef %317, ptr noundef @.str.39)
%319 = icmp eq i64 0, %318
br i1 %319, label %320, label %322
320: ; preds = %316
%321 = load i32, ptr @ELOOP, align 4
store i32 %321, ptr %2, align 4
br label %931
322: ; preds = %316
br label %323
323: ; preds = %322
br label %324
324: ; preds = %323
%325 = load ptr, ptr %3, align 8
%326 = call i64 @strcmp(ptr noundef %325, ptr noundef @.str.40)
%327 = icmp eq i64 0, %326
br i1 %327, label %328, label %330
328: ; preds = %324
%329 = load i32, ptr @ENOMSG, align 4
store i32 %329, ptr %2, align 4
br label %931
330: ; preds = %324
br label %331
331: ; preds = %330
br label %332
332: ; preds = %331
%333 = load ptr, ptr %3, align 8
%334 = call i64 @strcmp(ptr noundef %333, ptr noundef @.str.41)
%335 = icmp eq i64 0, %334
br i1 %335, label %336, label %338
336: ; preds = %332
%337 = load i32, ptr @EIDRM, align 4
store i32 %337, ptr %2, align 4
br label %931
338: ; preds = %332
br label %339
339: ; preds = %338
br label %340
340: ; preds = %339
%341 = load ptr, ptr %3, align 8
%342 = call i64 @strcmp(ptr noundef %341, ptr noundef @.str.42)
%343 = icmp eq i64 0, %342
br i1 %343, label %344, label %346
344: ; preds = %340
%345 = load i32, ptr @EINPROGRESS, align 4
store i32 %345, ptr %2, align 4
br label %931
346: ; preds = %340
br label %347
347: ; preds = %346
br label %348
348: ; preds = %347
%349 = load ptr, ptr %3, align 8
%350 = call i64 @strcmp(ptr noundef %349, ptr noundef @.str.43)
%351 = icmp eq i64 0, %350
br i1 %351, label %352, label %354
352: ; preds = %348
%353 = load i32, ptr @EALREADY, align 4
store i32 %353, ptr %2, align 4
br label %931
354: ; preds = %348
br label %355
355: ; preds = %354
br label %356
356: ; preds = %355
%357 = load ptr, ptr %3, align 8
%358 = call i64 @strcmp(ptr noundef %357, ptr noundef @.str.44)
%359 = icmp eq i64 0, %358
br i1 %359, label %360, label %362
360: ; preds = %356
%361 = load i32, ptr @ENOTSOCK, align 4
store i32 %361, ptr %2, align 4
br label %931
362: ; preds = %356
br label %363
363: ; preds = %362
br label %364
364: ; preds = %363
%365 = load ptr, ptr %3, align 8
%366 = call i64 @strcmp(ptr noundef %365, ptr noundef @.str.45)
%367 = icmp eq i64 0, %366
br i1 %367, label %368, label %370
368: ; preds = %364
%369 = load i32, ptr @EDESTADDRREQ, align 4
store i32 %369, ptr %2, align 4
br label %931
370: ; preds = %364
br label %371
371: ; preds = %370
br label %372
372: ; preds = %371
%373 = load ptr, ptr %3, align 8
%374 = call i64 @strcmp(ptr noundef %373, ptr noundef @.str.46)
%375 = icmp eq i64 0, %374
br i1 %375, label %376, label %378
376: ; preds = %372
%377 = load i32, ptr @EMSGSIZE, align 4
store i32 %377, ptr %2, align 4
br label %931
378: ; preds = %372
br label %379
379: ; preds = %378
br label %380
380: ; preds = %379
%381 = load ptr, ptr %3, align 8
%382 = call i64 @strcmp(ptr noundef %381, ptr noundef @.str.47)
%383 = icmp eq i64 0, %382
br i1 %383, label %384, label %386
384: ; preds = %380
%385 = load i32, ptr @EPROTOTYPE, align 4
store i32 %385, ptr %2, align 4
br label %931
386: ; preds = %380
br label %387
387: ; preds = %386
br label %388
388: ; preds = %387
%389 = load ptr, ptr %3, align 8
%390 = call i64 @strcmp(ptr noundef %389, ptr noundef @.str.48)
%391 = icmp eq i64 0, %390
br i1 %391, label %392, label %394
392: ; preds = %388
%393 = load i32, ptr @ENOPROTOOPT, align 4
store i32 %393, ptr %2, align 4
br label %931
394: ; preds = %388
br label %395
395: ; preds = %394
br label %396
396: ; preds = %395
%397 = load ptr, ptr %3, align 8
%398 = call i64 @strcmp(ptr noundef %397, ptr noundef @.str.49)
%399 = icmp eq i64 0, %398
br i1 %399, label %400, label %402
400: ; preds = %396
%401 = load i32, ptr @EPROTONOSUPPORT, align 4
store i32 %401, ptr %2, align 4
br label %931
402: ; preds = %396
br label %403
403: ; preds = %402
br label %404
404: ; preds = %403
%405 = load ptr, ptr %3, align 8
%406 = call i64 @strcmp(ptr noundef %405, ptr noundef @.str.50)
%407 = icmp eq i64 0, %406
br i1 %407, label %408, label %410
408: ; preds = %404
%409 = load i32, ptr @ESOCKTNOSUPPORT, align 4
store i32 %409, ptr %2, align 4
br label %931
410: ; preds = %404
br label %411
411: ; preds = %410
br label %412
412: ; preds = %411
%413 = load ptr, ptr %3, align 8
%414 = call i64 @strcmp(ptr noundef %413, ptr noundef @.str.51)
%415 = icmp eq i64 0, %414
br i1 %415, label %416, label %418
416: ; preds = %412
%417 = load i32, ptr @EPFNOSUPPORT, align 4
store i32 %417, ptr %2, align 4
br label %931
418: ; preds = %412
br label %419
419: ; preds = %418
br label %420
420: ; preds = %419
%421 = load ptr, ptr %3, align 8
%422 = call i64 @strcmp(ptr noundef %421, ptr noundef @.str.52)
%423 = icmp eq i64 0, %422
br i1 %423, label %424, label %426
424: ; preds = %420
%425 = load i32, ptr @EAFNOSUPPORT, align 4
store i32 %425, ptr %2, align 4
br label %931
426: ; preds = %420
br label %427
427: ; preds = %426
br label %428
428: ; preds = %427
%429 = load ptr, ptr %3, align 8
%430 = call i64 @strcmp(ptr noundef %429, ptr noundef @.str.53)
%431 = icmp eq i64 0, %430
br i1 %431, label %432, label %434
432: ; preds = %428
%433 = load i32, ptr @EADDRINUSE, align 4
store i32 %433, ptr %2, align 4
br label %931
434: ; preds = %428
br label %435
435: ; preds = %434
br label %436
436: ; preds = %435
%437 = load ptr, ptr %3, align 8
%438 = call i64 @strcmp(ptr noundef %437, ptr noundef @.str.54)
%439 = icmp eq i64 0, %438
br i1 %439, label %440, label %442
440: ; preds = %436
%441 = load i32, ptr @EADDRNOTAVAIL, align 4
store i32 %441, ptr %2, align 4
br label %931
442: ; preds = %436
br label %443
443: ; preds = %442
br label %444
444: ; preds = %443
%445 = load ptr, ptr %3, align 8
%446 = call i64 @strcmp(ptr noundef %445, ptr noundef @.str.55)
%447 = icmp eq i64 0, %446
br i1 %447, label %448, label %450
448: ; preds = %444
%449 = load i32, ptr @ENETDOWN, align 4
store i32 %449, ptr %2, align 4
br label %931
450: ; preds = %444
br label %451
451: ; preds = %450
br label %452
452: ; preds = %451
%453 = load ptr, ptr %3, align 8
%454 = call i64 @strcmp(ptr noundef %453, ptr noundef @.str.56)
%455 = icmp eq i64 0, %454
br i1 %455, label %456, label %458
456: ; preds = %452
%457 = load i32, ptr @ENETUNREACH, align 4
store i32 %457, ptr %2, align 4
br label %931
458: ; preds = %452
br label %459
459: ; preds = %458
br label %460
460: ; preds = %459
%461 = load ptr, ptr %3, align 8
%462 = call i64 @strcmp(ptr noundef %461, ptr noundef @.str.57)
%463 = icmp eq i64 0, %462
br i1 %463, label %464, label %466
464: ; preds = %460
%465 = load i32, ptr @ENETRESET, align 4
store i32 %465, ptr %2, align 4
br label %931
466: ; preds = %460
br label %467
467: ; preds = %466
br label %468
468: ; preds = %467
%469 = load ptr, ptr %3, align 8
%470 = call i64 @strcmp(ptr noundef %469, ptr noundef @.str.58)
%471 = icmp eq i64 0, %470
br i1 %471, label %472, label %474
472: ; preds = %468
%473 = load i32, ptr @ECONNABORTED, align 4
store i32 %473, ptr %2, align 4
br label %931
474: ; preds = %468
br label %475
475: ; preds = %474
br label %476
476: ; preds = %475
%477 = load ptr, ptr %3, align 8
%478 = call i64 @strcmp(ptr noundef %477, ptr noundef @.str.59)
%479 = icmp eq i64 0, %478
br i1 %479, label %480, label %482
480: ; preds = %476
%481 = load i32, ptr @ECONNRESET, align 4
store i32 %481, ptr %2, align 4
br label %931
482: ; preds = %476
br label %483
483: ; preds = %482
br label %484
484: ; preds = %483
%485 = load ptr, ptr %3, align 8
%486 = call i64 @strcmp(ptr noundef %485, ptr noundef @.str.60)
%487 = icmp eq i64 0, %486
br i1 %487, label %488, label %490
488: ; preds = %484
%489 = load i32, ptr @ENOBUFS, align 4
store i32 %489, ptr %2, align 4
br label %931
490: ; preds = %484
br label %491
491: ; preds = %490
br label %492
492: ; preds = %491
%493 = load ptr, ptr %3, align 8
%494 = call i64 @strcmp(ptr noundef %493, ptr noundef @.str.61)
%495 = icmp eq i64 0, %494
br i1 %495, label %496, label %498
496: ; preds = %492
%497 = load i32, ptr @EISCONN, align 4
store i32 %497, ptr %2, align 4
br label %931
498: ; preds = %492
br label %499
499: ; preds = %498
br label %500
500: ; preds = %499
%501 = load ptr, ptr %3, align 8
%502 = call i64 @strcmp(ptr noundef %501, ptr noundef @.str.62)
%503 = icmp eq i64 0, %502
br i1 %503, label %504, label %506
504: ; preds = %500
%505 = load i32, ptr @ENOTCONN, align 4
store i32 %505, ptr %2, align 4
br label %931
506: ; preds = %500
br label %507
507: ; preds = %506
br label %508
508: ; preds = %507
%509 = load ptr, ptr %3, align 8
%510 = call i64 @strcmp(ptr noundef %509, ptr noundef @.str.63)
%511 = icmp eq i64 0, %510
br i1 %511, label %512, label %514
512: ; preds = %508
%513 = load i32, ptr @ESHUTDOWN, align 4
store i32 %513, ptr %2, align 4
br label %931
514: ; preds = %508
br label %515
515: ; preds = %514
br label %516
516: ; preds = %515
%517 = load ptr, ptr %3, align 8
%518 = call i64 @strcmp(ptr noundef %517, ptr noundef @.str.64)
%519 = icmp eq i64 0, %518
br i1 %519, label %520, label %522
520: ; preds = %516
%521 = load i32, ptr @ETOOMANYREFS, align 4
store i32 %521, ptr %2, align 4
br label %931
522: ; preds = %516
br label %523
523: ; preds = %522
br label %524
524: ; preds = %523
%525 = load ptr, ptr %3, align 8
%526 = call i64 @strcmp(ptr noundef %525, ptr noundef @.str.65)
%527 = icmp eq i64 0, %526
br i1 %527, label %528, label %530
528: ; preds = %524
%529 = load i32, ptr @ETIMEDOUT, align 4
store i32 %529, ptr %2, align 4
br label %931
530: ; preds = %524
br label %531
531: ; preds = %530
br label %532
532: ; preds = %531
%533 = load ptr, ptr %3, align 8
%534 = call i64 @strcmp(ptr noundef %533, ptr noundef @.str.66)
%535 = icmp eq i64 0, %534
br i1 %535, label %536, label %538
536: ; preds = %532
%537 = load i32, ptr @ECONNREFUSED, align 4
store i32 %537, ptr %2, align 4
br label %931
538: ; preds = %532
br label %539
539: ; preds = %538
br label %540
540: ; preds = %539
%541 = load ptr, ptr %3, align 8
%542 = call i64 @strcmp(ptr noundef %541, ptr noundef @.str.67)
%543 = icmp eq i64 0, %542
br i1 %543, label %544, label %546
544: ; preds = %540
%545 = load i32, ptr @EHOSTDOWN, align 4
store i32 %545, ptr %2, align 4
br label %931
546: ; preds = %540
br label %547
547: ; preds = %546
br label %548
548: ; preds = %547
%549 = load ptr, ptr %3, align 8
%550 = call i64 @strcmp(ptr noundef %549, ptr noundef @.str.68)
%551 = icmp eq i64 0, %550
br i1 %551, label %552, label %554
552: ; preds = %548
%553 = load i32, ptr @EHOSTUNREACH, align 4
store i32 %553, ptr %2, align 4
br label %931
554: ; preds = %548
br label %555
555: ; preds = %554
br label %556
556: ; preds = %555
%557 = load ptr, ptr %3, align 8
%558 = call i64 @strcmp(ptr noundef %557, ptr noundef @.str.69)
%559 = icmp eq i64 0, %558
br i1 %559, label %560, label %562
560: ; preds = %556
%561 = load i32, ptr @AF_UNIX, align 4
store i32 %561, ptr %2, align 4
br label %931
562: ; preds = %556
br label %563
563: ; preds = %562
br label %564
564: ; preds = %563
%565 = load ptr, ptr %3, align 8
%566 = call i64 @strcmp(ptr noundef %565, ptr noundef @.str.70)
%567 = icmp eq i64 0, %566
br i1 %567, label %568, label %570
568: ; preds = %564
%569 = load i32, ptr @AF_LOCAL, align 4
store i32 %569, ptr %2, align 4
br label %931
570: ; preds = %564
br label %571
571: ; preds = %570
br label %572
572: ; preds = %571
%573 = load ptr, ptr %3, align 8
%574 = call i64 @strcmp(ptr noundef %573, ptr noundef @.str.71)
%575 = icmp eq i64 0, %574
br i1 %575, label %576, label %578
576: ; preds = %572
%577 = load i32, ptr @AF_INET, align 4
store i32 %577, ptr %2, align 4
br label %931
578: ; preds = %572
br label %579
579: ; preds = %578
br label %580
580: ; preds = %579
%581 = load ptr, ptr %3, align 8
%582 = call i64 @strcmp(ptr noundef %581, ptr noundef @.str.72)
%583 = icmp eq i64 0, %582
br i1 %583, label %584, label %586
584: ; preds = %580
%585 = load i32, ptr @AF_INET6, align 4
store i32 %585, ptr %2, align 4
br label %931
586: ; preds = %580
br label %587
587: ; preds = %586
br label %588
588: ; preds = %587
%589 = load ptr, ptr %3, align 8
%590 = call i64 @strcmp(ptr noundef %589, ptr noundef @.str.73)
%591 = icmp eq i64 0, %590
br i1 %591, label %592, label %594
592: ; preds = %588
%593 = load i32, ptr @SOCK_STREAM, align 4
store i32 %593, ptr %2, align 4
br label %931
594: ; preds = %588
br label %595
595: ; preds = %594
br label %596
596: ; preds = %595
%597 = load ptr, ptr %3, align 8
%598 = call i64 @strcmp(ptr noundef %597, ptr noundef @.str.74)
%599 = icmp eq i64 0, %598
br i1 %599, label %600, label %602
600: ; preds = %596
%601 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %601, ptr %2, align 4
br label %931
602: ; preds = %596
br label %603
603: ; preds = %602
br label %604
604: ; preds = %603
%605 = load ptr, ptr %3, align 8
%606 = call i64 @strcmp(ptr noundef %605, ptr noundef @.str.75)
%607 = icmp eq i64 0, %606
br i1 %607, label %608, label %610
608: ; preds = %604
%609 = load i32, ptr @SOCK_SEQPACKET, align 4
store i32 %609, ptr %2, align 4
br label %931
610: ; preds = %604
br label %611
611: ; preds = %610
br label %612
612: ; preds = %611
%613 = load ptr, ptr %3, align 8
%614 = call i64 @strcmp(ptr noundef %613, ptr noundef @.str.76)
%615 = icmp eq i64 0, %614
br i1 %615, label %616, label %618
616: ; preds = %612
%617 = load i32, ptr @SOCK_RAW, align 4
store i32 %617, ptr %2, align 4
br label %931
618: ; preds = %612
br label %619
619: ; preds = %618
br label %620
620: ; preds = %619
%621 = load ptr, ptr %3, align 8
%622 = call i64 @strcmp(ptr noundef %621, ptr noundef @.str.77)
%623 = icmp eq i64 0, %622
br i1 %623, label %624, label %626
624: ; preds = %620
%625 = load i32, ptr @SOCK_RDM, align 4
store i32 %625, ptr %2, align 4
br label %931
626: ; preds = %620
br label %627
627: ; preds = %626
br label %628
628: ; preds = %627
%629 = load ptr, ptr %3, align 8
%630 = call i64 @strcmp(ptr noundef %629, ptr noundef @.str.78)
%631 = icmp eq i64 0, %630
br i1 %631, label %632, label %634
632: ; preds = %628
%633 = load i32, ptr @SOL_SOCKET, align 4
store i32 %633, ptr %2, align 4
br label %931
634: ; preds = %628
br label %635
635: ; preds = %634
br label %636
636: ; preds = %635
%637 = load ptr, ptr %3, align 8
%638 = call i64 @strcmp(ptr noundef %637, ptr noundef @.str.79)
%639 = icmp eq i64 0, %638
br i1 %639, label %640, label %642
640: ; preds = %636
%641 = load i32, ptr @IPPROTO_IP, align 4
store i32 %641, ptr %2, align 4
br label %931
642: ; preds = %636
br label %643
643: ; preds = %642
br label %644
644: ; preds = %643
%645 = load ptr, ptr %3, align 8
%646 = call i64 @strcmp(ptr noundef %645, ptr noundef @.str.80)
%647 = icmp eq i64 0, %646
br i1 %647, label %648, label %650
648: ; preds = %644
%649 = load i32, ptr @IPPROTO_IPV6, align 4
store i32 %649, ptr %2, align 4
br label %931
650: ; preds = %644
br label %651
651: ; preds = %650
br label %652
652: ; preds = %651
%653 = load ptr, ptr %3, align 8
%654 = call i64 @strcmp(ptr noundef %653, ptr noundef @.str.81)
%655 = icmp eq i64 0, %654
br i1 %655, label %656, label %658
656: ; preds = %652
%657 = load i32, ptr @IPPROTO_TCP, align 4
store i32 %657, ptr %2, align 4
br label %931
658: ; preds = %652
br label %659
659: ; preds = %658
br label %660
660: ; preds = %659
%661 = load ptr, ptr %3, align 8
%662 = call i64 @strcmp(ptr noundef %661, ptr noundef @.str.82)
%663 = icmp eq i64 0, %662
br i1 %663, label %664, label %666
664: ; preds = %660
%665 = load i32, ptr @IPPROTO_UDP, align 4
store i32 %665, ptr %2, align 4
br label %931
666: ; preds = %660
br label %667
667: ; preds = %666
br label %668
668: ; preds = %667
%669 = load ptr, ptr %3, align 8
%670 = call i64 @strcmp(ptr noundef %669, ptr noundef @.str.83)
%671 = icmp eq i64 0, %670
br i1 %671, label %672, label %674
672: ; preds = %668
%673 = load i32, ptr @SO_ACCEPTCONN, align 4
store i32 %673, ptr %2, align 4
br label %931
674: ; preds = %668
br label %675
675: ; preds = %674
br label %676
676: ; preds = %675
%677 = load ptr, ptr %3, align 8
%678 = call i64 @strcmp(ptr noundef %677, ptr noundef @.str.84)
%679 = icmp eq i64 0, %678
br i1 %679, label %680, label %682
680: ; preds = %676
%681 = load i32, ptr @SO_BROADCAST, align 4
store i32 %681, ptr %2, align 4
br label %931
682: ; preds = %676
br label %683
683: ; preds = %682
br label %684
684: ; preds = %683
%685 = load ptr, ptr %3, align 8
%686 = call i64 @strcmp(ptr noundef %685, ptr noundef @.str.85)
%687 = icmp eq i64 0, %686
br i1 %687, label %688, label %690
688: ; preds = %684
%689 = load i32, ptr @SO_DEBUG, align 4
store i32 %689, ptr %2, align 4
br label %931
690: ; preds = %684
br label %691
691: ; preds = %690
br label %692
692: ; preds = %691
%693 = load ptr, ptr %3, align 8
%694 = call i64 @strcmp(ptr noundef %693, ptr noundef @.str.86)
%695 = icmp eq i64 0, %694
br i1 %695, label %696, label %698
696: ; preds = %692
%697 = load i32, ptr @SO_ERROR, align 4
store i32 %697, ptr %2, align 4
br label %931
698: ; preds = %692
br label %699
699: ; preds = %698
br label %700
700: ; preds = %699
%701 = load ptr, ptr %3, align 8
%702 = call i64 @strcmp(ptr noundef %701, ptr noundef @.str.87)
%703 = icmp eq i64 0, %702
br i1 %703, label %704, label %706
704: ; preds = %700
%705 = load i32, ptr @SO_DONTROUTE, align 4
store i32 %705, ptr %2, align 4
br label %931
706: ; preds = %700
br label %707
707: ; preds = %706
br label %708
708: ; preds = %707
%709 = load ptr, ptr %3, align 8
%710 = call i64 @strcmp(ptr noundef %709, ptr noundef @.str.88)
%711 = icmp eq i64 0, %710
br i1 %711, label %712, label %714
712: ; preds = %708
%713 = load i32, ptr @SO_KEEPALIVE, align 4
store i32 %713, ptr %2, align 4
br label %931
714: ; preds = %708
br label %715
715: ; preds = %714
br label %716
716: ; preds = %715
%717 = load ptr, ptr %3, align 8
%718 = call i64 @strcmp(ptr noundef %717, ptr noundef @.str.89)
%719 = icmp eq i64 0, %718
br i1 %719, label %720, label %722
720: ; preds = %716
%721 = load i32, ptr @SO_LINGER, align 4
store i32 %721, ptr %2, align 4
br label %931
722: ; preds = %716
br label %723
723: ; preds = %722
br label %724
724: ; preds = %723
%725 = load ptr, ptr %3, align 8
%726 = call i64 @strcmp(ptr noundef %725, ptr noundef @.str.90)
%727 = icmp eq i64 0, %726
br i1 %727, label %728, label %730
728: ; preds = %724
%729 = load i32, ptr @SO_OOBINLINE, align 4
store i32 %729, ptr %2, align 4
br label %931
730: ; preds = %724
br label %731
731: ; preds = %730
br label %732
732: ; preds = %731
%733 = load ptr, ptr %3, align 8
%734 = call i64 @strcmp(ptr noundef %733, ptr noundef @.str.91)
%735 = icmp eq i64 0, %734
br i1 %735, label %736, label %738
736: ; preds = %732
%737 = load i32, ptr @SO_RCVBUF, align 4
store i32 %737, ptr %2, align 4
br label %931
738: ; preds = %732
br label %739
739: ; preds = %738
br label %740
740: ; preds = %739
%741 = load ptr, ptr %3, align 8
%742 = call i64 @strcmp(ptr noundef %741, ptr noundef @.str.92)
%743 = icmp eq i64 0, %742
br i1 %743, label %744, label %746
744: ; preds = %740
%745 = load i32, ptr @SO_RCVLOWAT, align 4
store i32 %745, ptr %2, align 4
br label %931
746: ; preds = %740
br label %747
747: ; preds = %746
br label %748
748: ; preds = %747
%749 = load ptr, ptr %3, align 8
%750 = call i64 @strcmp(ptr noundef %749, ptr noundef @.str.93)
%751 = icmp eq i64 0, %750
br i1 %751, label %752, label %754
752: ; preds = %748
%753 = load i32, ptr @SO_SNDLOWAT, align 4
store i32 %753, ptr %2, align 4
br label %931
754: ; preds = %748
br label %755
755: ; preds = %754
br label %756
756: ; preds = %755
%757 = load ptr, ptr %3, align 8
%758 = call i64 @strcmp(ptr noundef %757, ptr noundef @.str.94)
%759 = icmp eq i64 0, %758
br i1 %759, label %760, label %762
760: ; preds = %756
%761 = load i32, ptr @SO_RCVTIMEO, align 4
store i32 %761, ptr %2, align 4
br label %931
762: ; preds = %756
br label %763
763: ; preds = %762
br label %764
764: ; preds = %763
%765 = load ptr, ptr %3, align 8
%766 = call i64 @strcmp(ptr noundef %765, ptr noundef @.str.95)
%767 = icmp eq i64 0, %766
br i1 %767, label %768, label %770
768: ; preds = %764
%769 = load i32, ptr @SO_SNDTIMEO, align 4
store i32 %769, ptr %2, align 4
br label %931
770: ; preds = %764
br label %771
771: ; preds = %770
br label %772
772: ; preds = %771
%773 = load ptr, ptr %3, align 8
%774 = call i64 @strcmp(ptr noundef %773, ptr noundef @.str.96)
%775 = icmp eq i64 0, %774
br i1 %775, label %776, label %778
776: ; preds = %772
%777 = load i32, ptr @SO_REUSEADDR, align 4
store i32 %777, ptr %2, align 4
br label %931
778: ; preds = %772
br label %779
779: ; preds = %778
br label %780
780: ; preds = %779
%781 = load ptr, ptr %3, align 8
%782 = call i64 @strcmp(ptr noundef %781, ptr noundef @.str.97)
%783 = icmp eq i64 0, %782
br i1 %783, label %784, label %786
784: ; preds = %780
%785 = load i32, ptr @SO_SNDBUF, align 4
store i32 %785, ptr %2, align 4
br label %931
786: ; preds = %780
br label %787
787: ; preds = %786
br label %788
788: ; preds = %787
%789 = load ptr, ptr %3, align 8
%790 = call i64 @strcmp(ptr noundef %789, ptr noundef @.str.98)
%791 = icmp eq i64 0, %790
br i1 %791, label %792, label %794
792: ; preds = %788
%793 = load i32, ptr @SO_TIMESTAMP, align 4
store i32 %793, ptr %2, align 4
br label %931
794: ; preds = %788
br label %795
795: ; preds = %794
br label %796
796: ; preds = %795
%797 = load ptr, ptr %3, align 8
%798 = call i64 @strcmp(ptr noundef %797, ptr noundef @.str.99)
%799 = icmp eq i64 0, %798
br i1 %799, label %800, label %802
800: ; preds = %796
%801 = load i32, ptr @SO_TYPE, align 4
store i32 %801, ptr %2, align 4
br label %931
802: ; preds = %796
br label %803
803: ; preds = %802
br label %804
804: ; preds = %803
%805 = load ptr, ptr %3, align 8
%806 = call i64 @strcmp(ptr noundef %805, ptr noundef @.str.100)
%807 = icmp eq i64 0, %806
br i1 %807, label %808, label %810
808: ; preds = %804
%809 = load i32, ptr @TCP_NODELAY, align 4
store i32 %809, ptr %2, align 4
br label %931
810: ; preds = %804
br label %811
811: ; preds = %810
br label %812
812: ; preds = %811
%813 = load ptr, ptr %3, align 8
%814 = call i64 @strcmp(ptr noundef %813, ptr noundef @.str.101)
%815 = icmp eq i64 0, %814
br i1 %815, label %816, label %818
816: ; preds = %812
%817 = load i32, ptr @TCP_MAXSEG, align 4
store i32 %817, ptr %2, align 4
br label %931
818: ; preds = %812
br label %819
819: ; preds = %818
br label %820
820: ; preds = %819
%821 = load ptr, ptr %3, align 8
%822 = call i64 @strcmp(ptr noundef %821, ptr noundef @.str.102)
%823 = icmp eq i64 0, %822
br i1 %823, label %824, label %826
824: ; preds = %820
%825 = load i32, ptr @IP_MULTICAST_IF, align 4
store i32 %825, ptr %2, align 4
br label %931
826: ; preds = %820
br label %827
827: ; preds = %826
br label %828
828: ; preds = %827
%829 = load ptr, ptr %3, align 8
%830 = call i64 @strcmp(ptr noundef %829, ptr noundef @.str.103)
%831 = icmp eq i64 0, %830
br i1 %831, label %832, label %834
832: ; preds = %828
%833 = load i32, ptr @IP_MULTICAST_TTL, align 4
store i32 %833, ptr %2, align 4
br label %931
834: ; preds = %828
br label %835
835: ; preds = %834
br label %836
836: ; preds = %835
%837 = load ptr, ptr %3, align 8
%838 = call i64 @strcmp(ptr noundef %837, ptr noundef @.str.104)
%839 = icmp eq i64 0, %838
br i1 %839, label %840, label %842
840: ; preds = %836
%841 = load i32, ptr @IP_MULTICAST_LOOP, align 4
store i32 %841, ptr %2, align 4
br label %931
842: ; preds = %836
br label %843
843: ; preds = %842
br label %844
844: ; preds = %843
%845 = load ptr, ptr %3, align 8
%846 = call i64 @strcmp(ptr noundef %845, ptr noundef @.str.105)
%847 = icmp eq i64 0, %846
br i1 %847, label %848, label %850
848: ; preds = %844
%849 = load i32, ptr @IP_ADD_MEMBERSHIP, align 4
store i32 %849, ptr %2, align 4
br label %931
850: ; preds = %844
br label %851
851: ; preds = %850
br label %852
852: ; preds = %851
%853 = load ptr, ptr %3, align 8
%854 = call i64 @strcmp(ptr noundef %853, ptr noundef @.str.106)
%855 = icmp eq i64 0, %854
br i1 %855, label %856, label %858
856: ; preds = %852
%857 = load i32, ptr @IP_DROP_MEMBERSHIP, align 4
store i32 %857, ptr %2, align 4
br label %931
858: ; preds = %852
br label %859
859: ; preds = %858
br label %860
860: ; preds = %859
%861 = load ptr, ptr %3, align 8
%862 = call i64 @strcmp(ptr noundef %861, ptr noundef @.str.107)
%863 = icmp eq i64 0, %862
br i1 %863, label %864, label %866
864: ; preds = %860
%865 = load i32, ptr @INADDR_ANY, align 4
store i32 %865, ptr %2, align 4
br label %931
866: ; preds = %860
br label %867
867: ; preds = %866
br label %868
868: ; preds = %867
%869 = load ptr, ptr %3, align 8
%870 = call i64 @strcmp(ptr noundef %869, ptr noundef @.str.108)
%871 = icmp eq i64 0, %870
br i1 %871, label %872, label %874
872: ; preds = %868
%873 = load i32, ptr @INADDR_NONE, align 4
store i32 %873, ptr %2, align 4
br label %931
874: ; preds = %868
br label %875
875: ; preds = %874
br label %876
876: ; preds = %875
%877 = load ptr, ptr %3, align 8
%878 = call i64 @strcmp(ptr noundef %877, ptr noundef @.str.109)
%879 = icmp eq i64 0, %878
br i1 %879, label %880, label %882
880: ; preds = %876
%881 = load i32, ptr @INADDR_BROADCAST, align 4
store i32 %881, ptr %2, align 4
br label %931
882: ; preds = %876
br label %883
883: ; preds = %882
br label %884
884: ; preds = %883
%885 = load ptr, ptr %3, align 8
%886 = call i64 @strcmp(ptr noundef %885, ptr noundef @.str.110)
%887 = icmp eq i64 0, %886
br i1 %887, label %888, label %890
888: ; preds = %884
%889 = load i32, ptr @MSG_OOB, align 4
store i32 %889, ptr %2, align 4
br label %931
890: ; preds = %884
br label %891
891: ; preds = %890
br label %892
892: ; preds = %891
%893 = load ptr, ptr %3, align 8
%894 = call i64 @strcmp(ptr noundef %893, ptr noundef @.str.111)
%895 = icmp eq i64 0, %894
br i1 %895, label %896, label %898
896: ; preds = %892
%897 = load i32, ptr @MSG_PEEK, align 4
store i32 %897, ptr %2, align 4
br label %931
898: ; preds = %892
br label %899
899: ; preds = %898
br label %900
900: ; preds = %899
%901 = load ptr, ptr %3, align 8
%902 = call i64 @strcmp(ptr noundef %901, ptr noundef @.str.112)
%903 = icmp eq i64 0, %902
br i1 %903, label %904, label %906
904: ; preds = %900
%905 = load i32, ptr @MSG_DONTWAIT, align 4
store i32 %905, ptr %2, align 4
br label %931
906: ; preds = %900
br label %907
907: ; preds = %906
br label %908
908: ; preds = %907
%909 = load ptr, ptr %3, align 8
%910 = call i64 @strcmp(ptr noundef %909, ptr noundef @.str.113)
%911 = icmp eq i64 0, %910
br i1 %911, label %912, label %914
912: ; preds = %908
%913 = load i32, ptr @SHUT_RD, align 4
store i32 %913, ptr %2, align 4
br label %931
914: ; preds = %908
br label %915
915: ; preds = %914
br label %916
916: ; preds = %915
%917 = load ptr, ptr %3, align 8
%918 = call i64 @strcmp(ptr noundef %917, ptr noundef @.str.114)
%919 = icmp eq i64 0, %918
br i1 %919, label %920, label %922
920: ; preds = %916
%921 = load i32, ptr @SHUT_WR, align 4
store i32 %921, ptr %2, align 4
br label %931
922: ; preds = %916
br label %923
923: ; preds = %922
br label %924
924: ; preds = %923
%925 = load ptr, ptr %3, align 8
%926 = call i64 @strcmp(ptr noundef %925, ptr noundef @.str.115)
%927 = icmp eq i64 0, %926
br i1 %927, label %928, label %930
928: ; preds = %924
%929 = load i32, ptr @SHUT_RDWR, align 4
store i32 %929, ptr %2, align 4
br label %931
930: ; preds = %924
br label %931
931: ; preds = %930, %928, %920, %912, %904, %896, %888, %880, %872, %864, %856, %848, %840, %832, %824, %816, %808, %800, %792, %784, %776, %768, %760, %752, %744, %736, %728, %720, %712, %704, %696, %688, %680, %672, %664, %656, %648, %640, %632, %624, %616, %608, %600, %592, %584, %576, %568, %560, %552, %544, %536, %528, %520, %512, %504, %496, %488, %480, %472, %464, %456, %448, %440, %432, %424, %416, %408, %400, %392, %384, %376, %368, %360, %352, %344, %336, %328, %320, %312, %304, %296, %288, %280, %272, %264, %256, %248, %240, %232, %224, %216, %208, %200, %192, %184, %176, %168, %160, %152, %144, %136, %128, %120, %112, %104, %96, %88, %80, %72, %64, %56, %48, %40, %32, %24, %16, %8
%932 = load i32, ptr %2, align 4
ret i32 %932
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1frolknp.c'
source_filename = "/tmp/tmp1frolknp.c"
target datalayout = "e-m:e-p270: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/tmp1frolknp.c"
target datalayout = "e-m:e-p270: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/tmpfqe0xacm.c'
source_filename = "/tmp/tmpfqe0xacm.c"
target datalayout = "e-m:e-p270: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/tmpfqe0xacm.c"
target datalayout = "e-m:e-p270: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/tmpfz1wyxtm.c'
source_filename = "/tmp/tmpfz1wyxtm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"primos %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%d es numero primo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @primes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %35, %1
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %38
12: ; preds = %8
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
br label %13
13: ; preds = %25, %12
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = sdiv i32 %15, 2
%17 = icmp sle i32 %14, %16
br i1 %17, label %18, label %28
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = srem i32 %19, %20
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %18
store i32 0, ptr %5, align 4
br label %24
24: ; preds = %23, %18
br label %25
25: ; preds = %24
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %34
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
br label %34
34: ; preds = %31, %28
br label %35
35: ; preds = %34
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
br label %8, !llvm.loop !8
38: ; preds = %8
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz1wyxtm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"primos %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"%d es numero primo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @primes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph2, label %43
.lr.ph2: ; preds = %1
br label %11
11: ; preds = %.lr.ph2, %37
store i32 1, ptr %5, align 4
store i32 2, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = sdiv i32 %13, 2
%15 = icmp sle i32 %12, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %23
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = srem i32 %17, %18
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %16
store i32 0, ptr %5, align 4
br label %22
22: ; preds = %21, %16
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = sdiv i32 %27, 2
%29 = icmp sle i32 %26, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %11
%31 = load i32, ptr %5, align 4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr %3, align 4
%35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %33, %30
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnbcw6gcn.c'
source_filename = "/tmp/tmpnbcw6gcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"out\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @retreive_data_SHT11() #0 {
%1 = alloca i32, align 4
%2 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str)
%3 = call i32 @gpio_set_mode(i32 noundef 40, ptr noundef @.str.1)
%4 = call i32 @shiftIn(i32 noundef 1, i32 noundef 8)
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = mul nsw i32 %5, 256
store i32 %6, ptr %1, align 4
%7 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str.1)
%8 = call i32 @gpio_set_value(i32 noundef 38, i32 noundef 1)
%9 = call i32 @gpio_set_value(i32 noundef 38, i32 noundef 0)
%10 = call i32 @gpio_set_value(i32 noundef 40, i32 noundef 1)
%11 = call i32 @gpio_set_value(i32 noundef 40, i32 noundef 0)
%12 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str)
%13 = call i32 @shiftIn(i32 noundef 1, i32 noundef 8)
%14 = load i32, ptr %1, align 4
%15 = or i32 %14, %13
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @gpio_set_mode(i32 noundef, ptr noundef) #1
declare i32 @shiftIn(i32 noundef, i32 noundef) #1
declare i32 @gpio_set_value(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/tmpnbcw6gcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"in\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"out\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @retreive_data_SHT11() #0 {
%1 = alloca i32, align 4
%2 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str)
%3 = call i32 @gpio_set_mode(i32 noundef 40, ptr noundef @.str.1)
%4 = call i32 @shiftIn(i32 noundef 1, i32 noundef 8)
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = mul nsw i32 %5, 256
store i32 %6, ptr %1, align 4
%7 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str.1)
%8 = call i32 @gpio_set_value(i32 noundef 38, i32 noundef 1)
%9 = call i32 @gpio_set_value(i32 noundef 38, i32 noundef 0)
%10 = call i32 @gpio_set_value(i32 noundef 40, i32 noundef 1)
%11 = call i32 @gpio_set_value(i32 noundef 40, i32 noundef 0)
%12 = call i32 @gpio_set_mode(i32 noundef 38, ptr noundef @.str)
%13 = call i32 @shiftIn(i32 noundef 1, i32 noundef 8)
%14 = load i32, ptr %1, align 4
%15 = or i32 %14, %13
store i32 %15, ptr %1, align 4
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @gpio_set_mode(i32 noundef, ptr noundef) #1
declare i32 @shiftIn(i32 noundef, i32 noundef) #1
declare i32 @gpio_set_value(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/tmpvjehaim_.c'
source_filename = "/tmp/tmpvjehaim_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c" smbusb_bq8030flasher\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHeader() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = 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/tmpvjehaim_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c" smbusb_bq8030flasher\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printHeader() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = 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/tmp27hw8xpp.c'
source_filename = "/tmp/tmp27hw8xpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 1 for 0x22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x22() #0 {
%1 = call i32 @isprint(i32 noundef 34) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 175, 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 @isprint(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/tmp27hw8xpp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 1 for 0x22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x22() #0 {
%1 = call i32 @isprint(i32 noundef 34) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 175, 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 @isprint(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/tmpn6kat1vk.c'
source_filename = "/tmp/tmpn6kat1vk.c"
target datalayout = "e-m:e-p270: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/tmpn6kat1vk.c"
target datalayout = "e-m:e-p270: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/tmp110xo3rr.c'
source_filename = "/tmp/tmp110xo3rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK7FFF8000000000000000, ptr %3, align 16
%4 = load x86_fp80, ptr %3, align 16
%5 = fcmp oeq x86_fp80 %4, 0xK7FFF8000000000000000
%6 = zext i1 %5 to i32
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %0
ret i32 0
10: ; preds = %0
%11 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmp110xo3rr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK7FFF8000000000000000, ptr %3, align 16
%4 = load x86_fp80, ptr %3, align 16
%5 = fcmp oeq x86_fp80 %4, 0xK7FFF8000000000000000
%6 = zext i1 %5 to i32
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %0
ret i32 0
10: ; preds = %0
%11 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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/tmpgpqyzodr.c'
source_filename = "/tmp/tmpgpqyzodr.c"
target datalayout = "e-m:e-p270: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/tmpgpqyzodr.c"
target datalayout = "e-m:e-p270: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/tmp727y37ks.c'
source_filename = "/tmp/tmp727y37ks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pki_write_privatekey_in_mem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = call i32 (...) @BIO_s_mem()
%9 = call ptr @BIO_new(i32 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %10, ptr noundef %11, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef null)
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %5, align 8
%15 = call i64 @BIO_get_mem_data(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %6, align 8
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr @BIO_NOCLOSE, align 4
%24 = call i32 @BIO_set_close(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = call i32 @BIO_free(ptr noundef %25)
ret void
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @BIO_get_mem_data(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_close(ptr noundef, i32 noundef) #1
declare i32 @BIO_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/tmp727y37ks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pki_write_privatekey_in_mem(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store ptr null, ptr %7, align 8
%8 = call i32 (...) @BIO_s_mem()
%9 = call ptr @BIO_new(i32 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @PEM_write_bio_PrivateKey(ptr noundef %10, ptr noundef %11, ptr noundef null, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef null)
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %5, align 8
%15 = call i64 @BIO_get_mem_data(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %6, align 8
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
%23 = load i32, ptr @BIO_NOCLOSE, align 4
%24 = call i32 @BIO_set_close(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = call i32 @BIO_free(ptr noundef %25)
ret void
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i32 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @BIO_get_mem_data(ptr noundef, ptr noundef) #1
declare i32 @BIO_set_close(ptr noundef, i32 noundef) #1
declare i32 @BIO_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/tmpt60eak9k.c'
source_filename = "/tmp/tmpt60eak9k.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
@.str = private unnamed_addr constant [22 x i8] c"war_of_the_worlds.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [137 x i8] c"Missing war of the worlds text, you can download the text here: http://www.gutenberg.org/ebooks/36 and save it as war_of_the_worlds.txt\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"Processing %d bytes, %d times\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"time = %u.%06u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bench_old_smaz() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca %struct.timeval, align 8
%9 = alloca i32, align 4
store i32 1000, ptr %6, align 4
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load ptr, ptr %1, align 8
%18 = load i32, ptr @SEEK_END, align 4
%19 = call i32 @fseek(ptr noundef %17, i64 noundef 0, i32 noundef %18)
%20 = load ptr, ptr %1, align 8
%21 = call i64 @ftell(ptr noundef %20)
store i64 %21, ptr %5, align 8
%22 = load i64, ptr %5, align 8
%23 = trunc i64 %22 to i32
%24 = load i32, ptr %6, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23, i32 noundef %24)
%26 = load ptr, ptr %1, align 8
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %26, i64 noundef 0, i32 noundef %27)
%29 = load i64, ptr %5, align 8
%30 = call i64 @calloc(i64 noundef %29, i32 noundef 1)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %2, align 8
%32 = load i64, ptr %5, align 8
%33 = call i64 @calloc(i64 noundef %32, i32 noundef 1)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %3, align 8
%35 = load i64, ptr %5, align 8
%36 = call i64 @calloc(i64 noundef %35, i32 noundef 1)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %2, align 8
%39 = load i64, ptr %5, align 8
%40 = load ptr, ptr %1, align 8
%41 = call i64 @fread(ptr noundef %38, i32 noundef 1, i64 noundef %39, ptr noundef %40)
store i64 %41, ptr %5, align 8
%42 = load ptr, ptr %1, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
store i32 0, ptr %9, align 4
br label %45
45: ; preds = %55, %16
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %58
49: ; preds = %45
%50 = load ptr, ptr %2, align 8
%51 = load i64, ptr %5, align 8
%52 = load ptr, ptr %3, align 8
%53 = load i64, ptr %5, align 8
%54 = call i32 @smaz_compress_ref(ptr noundef %50, i64 noundef %51, ptr noundef %52, i64 noundef %53)
br label %55
55: ; preds = %49
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
br label %45, !llvm.loop !6
58: ; preds = %45
%59 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null)
%60 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%61 = load i64, ptr %60, align 8
%62 = trunc i64 %61 to i32
%63 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%64 = load i64, ptr %63, align 8
%65 = trunc i64 %64 to i32
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %62, i32 noundef %65)
%67 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1
%68 = load i64, ptr %67, align 8
%69 = trunc i64 %68 to i32
%70 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%71 = load i64, ptr %70, align 8
%72 = trunc i64 %71 to i32
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69, i32 noundef %72)
%74 = load ptr, ptr %2, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %3, align 8
%77 = call i32 @free(ptr noundef %76)
%78 = load ptr, ptr %4, align 8
%79 = call i32 @free(ptr noundef %78)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @smaz_compress_ref(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt60eak9k.c"
target datalayout = "e-m:e-p270: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 { i64, i64 }
@.str = private unnamed_addr constant [22 x i8] c"war_of_the_worlds.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [137 x i8] c"Missing war of the worlds text, you can download the text here: http://www.gutenberg.org/ebooks/36 and save it as war_of_the_worlds.txt\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [31 x i8] c"Processing %d bytes, %d times\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"time = %u.%06u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bench_old_smaz() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca %struct.timeval, align 8
%9 = alloca i32, align 4
store i32 1000, ptr %6, align 4
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load ptr, ptr %1, align 8
%18 = load i32, ptr @SEEK_END, align 4
%19 = call i32 @fseek(ptr noundef %17, i64 noundef 0, i32 noundef %18)
%20 = load ptr, ptr %1, align 8
%21 = call i64 @ftell(ptr noundef %20)
store i64 %21, ptr %5, align 8
%22 = load i64, ptr %5, align 8
%23 = trunc i64 %22 to i32
%24 = load i32, ptr %6, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %23, i32 noundef %24)
%26 = load ptr, ptr %1, align 8
%27 = load i32, ptr @SEEK_SET, align 4
%28 = call i32 @fseek(ptr noundef %26, i64 noundef 0, i32 noundef %27)
%29 = load i64, ptr %5, align 8
%30 = call i64 @calloc(i64 noundef %29, i32 noundef 1)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %2, align 8
%32 = load i64, ptr %5, align 8
%33 = call i64 @calloc(i64 noundef %32, i32 noundef 1)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %3, align 8
%35 = load i64, ptr %5, align 8
%36 = call i64 @calloc(i64 noundef %35, i32 noundef 1)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %2, align 8
%39 = load i64, ptr %5, align 8
%40 = load ptr, ptr %1, align 8
%41 = call i64 @fread(ptr noundef %38, i32 noundef 1, i64 noundef %39, ptr noundef %40)
store i64 %41, ptr %5, align 8
%42 = load ptr, ptr %1, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
store i32 0, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph, label %60
.lr.ph: ; preds = %16
br label %48
48: ; preds = %.lr.ph, %54
%49 = load ptr, ptr %2, align 8
%50 = load i64, ptr %5, align 8
%51 = load ptr, ptr %3, align 8
%52 = load i64, ptr %5, align 8
%53 = call i32 @smaz_compress_ref(ptr noundef %49, i64 noundef %50, ptr noundef %51, i64 noundef %52)
br label %54
54: ; preds = %48
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %16
%61 = call i32 @gettimeofday(ptr noundef %8, ptr noundef null)
%62 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%63 = load i64, ptr %62, align 8
%64 = trunc i64 %63 to i32
%65 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%66 = load i64, ptr %65, align 8
%67 = trunc i64 %66 to i32
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %64, i32 noundef %67)
%69 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 1
%70 = load i64, ptr %69, align 8
%71 = trunc i64 %70 to i32
%72 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%73 = load i64, ptr %72, align 8
%74 = trunc i64 %73 to i32
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %71, i32 noundef %74)
%76 = load ptr, ptr %2, align 8
%77 = call i32 @free(ptr noundef %76)
%78 = load ptr, ptr %3, align 8
%79 = call i32 @free(ptr noundef %78)
%80 = load ptr, ptr %4, align 8
%81 = call i32 @free(ptr noundef %80)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @calloc(i64 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @smaz_compress_ref(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfnitrzwv.c'
source_filename = "/tmp/tmpfnitrzwv.c"
target datalayout = "e-m:e-p270: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/tmpfnitrzwv.c"
target datalayout = "e-m:e-p270: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/tmpak8hhx76.c'
source_filename = "/tmp/tmpak8hhx76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @mbtowc(ptr noundef null, ptr noundef %5, i64 noundef %6)
ret i32 %7
}
declare i32 @mbtowc(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/tmpak8hhx76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @mbtowc(ptr noundef null, ptr noundef %5, i64 noundef %6)
ret i32 %7
}
declare i32 @mbtowc(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/tmpc81bpr0m.c'
source_filename = "/tmp/tmpc81bpr0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_uint64_t_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %37, %5
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %40
16: ; preds = %12
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i64, ptr %17, i64 %19
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %11, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i64, ptr %22, i64 %24
%26 = load i64, ptr %25, align 8
%27 = add nsw i64 %26, %21
store i64 %27, ptr %25, align 8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %11, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 %32, ptr %36, align 4
br label %37
37: ; preds = %16
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
br label %12, !llvm.loop !6
40: ; preds = %12
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc81bpr0m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_uint64_t_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %42
.lr.ph: ; preds = %5
br label %15
15: ; preds = %.lr.ph, %36
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i64, ptr %16, i64 %18
%20 = load i64, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %11, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i64, ptr %21, i64 %23
%25 = load i64, ptr %24, align 8
%26 = add nsw i64 %25, %20
store i64 %26, ptr %24, align 8
%27 = load ptr, ptr %9, align 8
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load ptr, ptr %8, align 8
%33 = load i32, ptr %11, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %15
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %10, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %5
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4z83rf2p.c'
source_filename = "/tmp/tmp4z83rf2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"*** Enter your number ***\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"*** YOU WON ***\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"*** Aim lower ***\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"*** Aim higher ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 16, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %24, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %27
7: ; preds = %4
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %15
13: ; preds = %7
%14 = call i32 @printf(ptr noundef @.str.2)
br label %27
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %1, align 4
%18 = icmp sgt i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @printf(ptr noundef @.str.3)
br label %23
21: ; preds = %15
%22 = call i32 @printf(ptr noundef @.str.4)
br label %23
23: ; preds = %21, %19
br label %24
24: ; preds = %23
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %4, !llvm.loop !6
27: ; preds = %13, %4
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4z83rf2p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"*** Enter your number ***\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"*** YOU WON ***\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"*** Aim lower ***\0A\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"*** Aim higher ***\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 16, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %23
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %1, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %6
%13 = call i32 @printf(ptr noundef @.str.2)
br label %28
14: ; preds = %6
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp sgt i32 %15, %16
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.3)
br label %22
20: ; preds = %14
%21 = call i32 @printf(ptr noundef @.str.4)
br label %22
22: ; preds = %20, %18
br label %23
23: ; preds = %22
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 10
br i1 %27, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %23
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %28
28: ; preds = %.loopexit, %12
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkeaqv05j.c'
source_filename = "/tmp/tmpkeaqv05j.c"
target datalayout = "e-m:e-p270: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/tmpkeaqv05j.c"
target datalayout = "e-m:e-p270: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/tmpoct84dri.c'
source_filename = "/tmp/tmpoct84dri.c"
target datalayout = "e-m:e-p270: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/tmpoct84dri.c"
target datalayout = "e-m:e-p270: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/tmpremt_3jo.c'
source_filename = "/tmp/tmpremt_3jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"int\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"u_int\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"u_long\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"u_short\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @c_initialize() #0 {
%1 = call i32 @add_type(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.1)
%3 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.2)
%4 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.3)
%5 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.4)
%6 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.5)
%7 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.6)
ret void
}
declare i32 @add_type(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/tmpremt_3jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"int\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"long\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"short\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"u_int\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"u_long\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"u_short\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @c_initialize() #0 {
%1 = call i32 @add_type(i32 noundef 1, ptr noundef @.str)
%2 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.1)
%3 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.2)
%4 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.3)
%5 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.4)
%6 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.5)
%7 = call i32 @add_type(i32 noundef 1, ptr noundef @.str.6)
ret void
}
declare i32 @add_type(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/tmp6r_sxzj2.c'
source_filename = "/tmp/tmp6r_sxzj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { ptr, ptr }
%struct.sockaddr = type { ptr }
@.str = private unnamed_addr constant [4 x i8] c" %u\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 @multi_dns_seq(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i64 0, ptr %7, align 8
br label %13
13: ; preds = %65, %3
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %68
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %18, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %7, align 8
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = call i64 @getaddrinfo(ptr noundef %21, ptr noundef null, ptr noundef null, ptr noundef %24)
%26 = icmp eq i64 0, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load ptr, ptr %6, align 8
%30 = load i64, ptr %7, align 8
%31 = getelementptr inbounds ptr, ptr %29, i64 %30
%32 = load ptr, ptr %31, align 8
store ptr %32, ptr %8, align 8
br label %33
33: ; preds = %60, %17
%34 = load ptr, ptr %8, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %64
36: ; preds = %33
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 0
%39 = load ptr, ptr %38, align 8
store ptr %39, ptr %9, align 8
store i64 1, ptr %11, align 8
store i64 0, ptr %10, align 8
br label %40
40: ; preds = %55, %36
%41 = load i64, ptr %10, align 8
%42 = load i64, ptr %11, align 8
%43 = icmp ult i64 %41, %42
br i1 %43, label %44, label %58
44: ; preds = %40
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds %struct.sockaddr, ptr %45, i32 0, i32 0
%47 = load ptr, ptr %46, align 8
%48 = load i64, ptr %10, align 8
%49 = getelementptr inbounds i64, ptr %47, i64 %48
%50 = load i64, ptr %49, align 8
%51 = trunc i64 %50 to i8
%52 = zext i8 %51 to i32
store i32 %52, ptr %12, align 4
%53 = load i32, ptr %12, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %53)
br label %55
55: ; preds = %44
%56 = load i64, ptr %10, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %10, align 8
br label %40, !llvm.loop !6
58: ; preds = %40
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %60
60: ; preds = %58
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds %struct.addrinfo, ptr %61, i32 0, i32 1
%63 = load ptr, ptr %62, align 8
store ptr %63, ptr %8, align 8
br label %33, !llvm.loop !8
64: ; preds = %33
br label %65
65: ; preds = %64
%66 = load i64, ptr %7, align 8
%67 = add i64 %66, 1
store i64 %67, ptr %7, align 8
br label %13, !llvm.loop !9
68: ; preds = %13
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6r_sxzj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.addrinfo = type { ptr, ptr }
%struct.sockaddr = type { ptr }
@.str = private unnamed_addr constant [4 x i8] c" %u\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 @multi_dns_seq(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i64 0, ptr %7, align 8
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %4, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph5, label %73
.lr.ph5: ; preds = %3
br label %16
16: ; preds = %.lr.ph5, %67
%17 = load ptr, ptr %5, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i64, ptr %7, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = call i64 @getaddrinfo(ptr noundef %20, ptr noundef null, ptr noundef null, ptr noundef %23)
%25 = icmp eq i64 0, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = getelementptr inbounds ptr, ptr %28, i64 %29
%31 = load ptr, ptr %30, align 8
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %.lr.ph2, label %66
.lr.ph2: ; preds = %16
br label %34
34: ; preds = %.lr.ph2, %60
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds %struct.addrinfo, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
store ptr %37, ptr %9, align 8
store i64 1, ptr %11, align 8
store i64 0, ptr %10, align 8
%38 = load i64, ptr %10, align 8
%39 = load i64, ptr %11, align 8
%40 = icmp ult i64 %38, %39
br i1 %40, label %.lr.ph, label %58
.lr.ph: ; preds = %34
br label %41
41: ; preds = %.lr.ph, %52
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds %struct.sockaddr, ptr %42, i32 0, i32 0
%44 = load ptr, ptr %43, align 8
%45 = load i64, ptr %10, align 8
%46 = getelementptr inbounds i64, ptr %44, i64 %45
%47 = load i64, ptr %46, align 8
%48 = trunc i64 %47 to i8
%49 = zext i8 %48 to i32
store i32 %49, ptr %12, align 4
%50 = load i32, ptr %12, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %50)
br label %52
52: ; preds = %41
%53 = load i64, ptr %10, align 8
%54 = add i64 %53, 1
store i64 %54, ptr %10, align 8
%55 = load i64, ptr %10, align 8
%56 = load i64, ptr %11, align 8
%57 = icmp ult i64 %55, %56
br i1 %57, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %34
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %60
60: ; preds = %58
%61 = load ptr, ptr %8, align 8
%62 = getelementptr inbounds %struct.addrinfo, ptr %61, i32 0, i32 1
%63 = load ptr, ptr %62, align 8
store ptr %63, ptr %8, align 8
%64 = load ptr, ptr %8, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %16
br label %67
67: ; preds = %66
%68 = load i64, ptr %7, align 8
%69 = add i64 %68, 1
store i64 %69, ptr %7, align 8
%70 = load i64, ptr %7, align 8
%71 = load i64, ptr %4, align 8
%72 = icmp ult i64 %70, %71
br i1 %72, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %67
br label %73
73: ; preds = %._crit_edge6, %3
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp33wbl75_.c'
source_filename = "/tmp/tmp33wbl75_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PANIC:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @kputs(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @kputs(ptr noundef %4)
br label %6
6: ; preds = %1, %6
br label %6
}
declare i32 @kputs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp33wbl75_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PANIC:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @panic(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @kputs(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @kputs(ptr noundef %4)
br label %6
6: ; preds = %6, %1
br label %6
}
declare i32 @kputs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpihn5l552.c'
source_filename = "/tmp/tmpihn5l552.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rainbowWithGlitter() #0 {
%1 = call i32 (...) @rainbow()
%2 = call i32 @addGlitter(i32 noundef 80)
ret void
}
declare i32 @rainbow(...) #1
declare i32 @addGlitter(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/tmpihn5l552.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rainbowWithGlitter() #0 {
%1 = call i32 (...) @rainbow()
%2 = call i32 @addGlitter(i32 noundef 80)
ret void
}
declare i32 @rainbow(...) #1
declare i32 @addGlitter(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/tmppeafft8a.c'
source_filename = "/tmp/tmppeafft8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"%p icerisinde %d degeri var.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4096 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16384, i1 false)
%3 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0
%5 = load i32, ptr %4, align 16
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppeafft8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"%p icerisinde %d degeri var.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4096 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16384, i1 false)
%3 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 0
%5 = load i32, ptr %4, align 16
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %5)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphmfhqdiv.c'
source_filename = "/tmp/tmphmfhqdiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"[*] fork() == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = alloca i32, align 4
%2 = call i32 @fork()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphmfhqdiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"[*] fork() == %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fork() #0 {
%1 = alloca i32, align 4
%2 = call i32 @fork()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppiv1wnzg.c'
source_filename = "/tmp/tmppiv1wnzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppiv1wnzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzxq3woiw.c'
source_filename = "/tmp/tmpzxq3woiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPS_Math_Utime_To_Gtime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 %3, 631065600
ret i64 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzxq3woiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPS_Math_Utime_To_Gtime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = sub nsw i64 %3, 631065600
ret i64 %4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyih1c9jr.c'
source_filename = "/tmp/tmpyih1c9jr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @setgroups(i32 noundef 1, ptr noundef %2)
ret i32 0
}
declare i32 @setgroups(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/tmpyih1c9jr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @setgroups(i32 noundef 1, ptr noundef %2)
ret i32 0
}
declare i32 @setgroups(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/tmp46485ikq.c'
source_filename = "/tmp/tmp46485ikq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Caught SIGPIPE!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resume(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = 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/tmp46485ikq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Caught SIGPIPE!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @resume(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = 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/tmp7g7xifck.c'
source_filename = "/tmp/tmp7g7xifck.c"
target datalayout = "e-m:e-p270: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/tmp7g7xifck.c"
target datalayout = "e-m:e-p270: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/tmp0es4ljcm.c'
source_filename = "/tmp/tmp0es4ljcm.c"
target datalayout = "e-m:e-p270: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/tmp0es4ljcm.c"
target datalayout = "e-m:e-p270: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/tmppeychwp9.c'
source_filename = "/tmp/tmppeychwp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Luck!\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"I am your father!\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Nooo!\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"You lie!\00", align 1
@__const.main.str = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [19 x i8] c"Can't create pipe\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Can't create fork\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Father says son: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [67 x i8] c"-----------------------------------------------------------------\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"Son says father: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [2 x i32], align 4
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca [4 x ptr], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [64 x i8], align 16
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.str, i64 32, i1 false)
store i32 0, ptr %14, align 4
%16 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%17 = call i64 @pipe(ptr noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = call i32 @exit(i32 noundef -1) #4
unreachable
22: ; preds = %3
%23 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%24 = call i64 @pipe(ptr noundef %23)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%28 = call i32 @exit(i32 noundef -1) #4
unreachable
29: ; preds = %22
%30 = call i32 (...) @fork()
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 @exit(i32 noundef -1) #4
unreachable
36: ; preds = %29
%37 = load i32, ptr %10, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %84
39: ; preds = %36
store i32 0, ptr %13, align 4
%40 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%44 = load i32, ptr %43, align 4
%45 = call i32 @close(i32 noundef %44)
br label %46
46: ; preds = %73, %39
%47 = load i32, ptr %14, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %76
49: ; preds = %46
%50 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%51 = load i32, ptr %50, align 4
%52 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 0
%53 = call i64 (i32, ...) @write(i32 noundef %51, ptr noundef %52, i32 noundef 64)
store i64 %53, ptr %11, align 8
br label %54
54: ; preds = %63, %49
%55 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%56 = load i32, ptr %55, align 4
%57 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%58 = call i64 @read(i32 noundef %56, ptr noundef %57, i32 noundef 64)
%59 = icmp slt i64 %58, 0
%60 = zext i1 %59 to i32
%61 = sext i32 %60 to i64
store i64 %61, ptr %11, align 8
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %54
br label %54, !llvm.loop !6
64: ; preds = %54
%65 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65)
%67 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%68 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 1
%69 = load ptr, ptr %68, align 8
%70 = call i64 @strcmp(ptr noundef %67, ptr noundef %69)
%71 = icmp eq i64 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %64
store i32 1, ptr %14, align 4
br label %73
73: ; preds = %72, %64
%74 = load i32, ptr %13, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %13, align 4
br label %46, !llvm.loop !8
76: ; preds = %46
%77 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%78 = load i32, ptr %77, align 4
%79 = call i32 @close(i32 noundef %78)
%80 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%81 = load i32, ptr %80, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %84
84: ; preds = %76, %36
%85 = load i32, ptr %10, align 4
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %135
87: ; preds = %84
store i32 2, ptr %13, align 4
%88 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%89 = load i32, ptr %88, align 4
%90 = call i32 @close(i32 noundef %89)
%91 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%92 = load i32, ptr %91, align 4
%93 = call i32 @close(i32 noundef %92)
br label %94
94: ; preds = %124, %87
%95 = load i32, ptr %14, align 4
%96 = icmp eq i32 %95, 0
br i1 %96, label %97, label %127
97: ; preds = %94
br label %98
98: ; preds = %107, %97
%99 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%100 = load i32, ptr %99, align 4
%101 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%102 = call i64 @read(i32 noundef %100, ptr noundef %101, i32 noundef 64)
%103 = icmp slt i64 %102, 0
%104 = zext i1 %103 to i32
%105 = sext i32 %104 to i64
store i64 %105, ptr %11, align 8
%106 = icmp ne i64 %105, 0
br i1 %106, label %107, label %108
107: ; preds = %98
br label %98, !llvm.loop !9
108: ; preds = %98
%109 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%110 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %109)
%111 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%112 = load i32, ptr %111, align 4
%113 = load i32, ptr %13, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 %114
%116 = load ptr, ptr %115, align 8
%117 = call i64 (i32, ...) @write(i32 noundef %112, ptr noundef %116, i32 noundef 64)
store i64 %117, ptr %11, align 8
%118 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%119 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 3
%120 = load ptr, ptr %119, align 8
%121 = call i64 @strcmp(ptr noundef %118, ptr noundef %120)
%122 = icmp eq i64 %121, 0
br i1 %122, label %123, label %124
123: ; preds = %108
store i32 1, ptr %14, align 4
br label %124
124: ; preds = %123, %108
%125 = load i32, ptr %13, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %13, align 4
br label %94, !llvm.loop !10
127: ; preds = %94
%128 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%129 = load i32, ptr %128, align 4
%130 = call i32 @close(i32 noundef %129)
%131 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%132 = load i32, ptr %131, align 4
%133 = call i32 @close(i32 noundef %132)
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %135
135: ; preds = %127, %84
%136 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @pipe(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fork(...) #2
declare i32 @close(i32 noundef) #2
declare i64 @write(i32 noundef, ...) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppeychwp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"Luck!\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"I am your father!\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"Nooo!\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"You lie!\00", align 1
@__const.main.str = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [19 x i8] c"Can't create pipe\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Can't create fork\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c"Father says son: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [67 x i8] c"-----------------------------------------------------------------\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"Son says father: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [56 x i8] c"------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [2 x i32], align 4
%9 = alloca [2 x i32], align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca [4 x ptr], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [64 x i8], align 16
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.str, i64 32, i1 false)
store i32 0, ptr %14, align 4
%16 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%17 = call i64 @pipe(ptr noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %3
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = call i32 @exit(i32 noundef -1) #4
unreachable
22: ; preds = %3
%23 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%24 = call i64 @pipe(ptr noundef %23)
%25 = icmp slt i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %22
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%28 = call i32 @exit(i32 noundef -1) #4
unreachable
29: ; preds = %22
%30 = call i32 (...) @fork()
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 @exit(i32 noundef -1) #4
unreachable
36: ; preds = %29
%37 = load i32, ptr %10, align 4
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %84
39: ; preds = %36
store i32 0, ptr %13, align 4
%40 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%41 = load i32, ptr %40, align 4
%42 = call i32 @close(i32 noundef %41)
%43 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%44 = load i32, ptr %43, align 4
%45 = call i32 @close(i32 noundef %44)
%46 = load i32, ptr %14, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %.lr.ph, label %76
.lr.ph: ; preds = %39
br label %48
48: ; preds = %.lr.ph, %71
%49 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%50 = load i32, ptr %49, align 4
%51 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 0
%52 = call i64 (i32, ...) @write(i32 noundef %50, ptr noundef %51, i32 noundef 64)
store i64 %52, ptr %11, align 8
br label %53
53: ; preds = %53, %48
%54 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%55 = load i32, ptr %54, align 4
%56 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%57 = call i64 @read(i32 noundef %55, ptr noundef %56, i32 noundef 64)
%58 = icmp slt i64 %57, 0
%59 = zext i1 %58 to i32
%60 = sext i32 %59 to i64
store i64 %60, ptr %11, align 8
%61 = icmp ne i64 %60, 0
br i1 %61, label %53, label %62, !llvm.loop !6
62: ; preds = %53
%63 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %63)
%65 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%66 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 1
%67 = load ptr, ptr %66, align 8
%68 = call i64 @strcmp(ptr noundef %65, ptr noundef %67)
%69 = icmp eq i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %62
store i32 1, ptr %14, align 4
br label %71
71: ; preds = %70, %62
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
%74 = load i32, ptr %14, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %48, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %71
br label %76
76: ; preds = %._crit_edge, %39
%77 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%78 = load i32, ptr %77, align 4
%79 = call i32 @close(i32 noundef %78)
%80 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%81 = load i32, ptr %80, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %84
84: ; preds = %76, %36
%85 = load i32, ptr %10, align 4
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %135
87: ; preds = %84
store i32 2, ptr %13, align 4
%88 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
%89 = load i32, ptr %88, align 4
%90 = call i32 @close(i32 noundef %89)
%91 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 0
%92 = load i32, ptr %91, align 4
%93 = call i32 @close(i32 noundef %92)
%94 = load i32, ptr %14, align 4
%95 = icmp eq i32 %94, 0
br i1 %95, label %.lr.ph2, label %127
.lr.ph2: ; preds = %87
br label %96
96: ; preds = %.lr.ph2, %122
br label %97
97: ; preds = %97, %96
%98 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%99 = load i32, ptr %98, align 4
%100 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%101 = call i64 @read(i32 noundef %99, ptr noundef %100, i32 noundef 64)
%102 = icmp slt i64 %101, 0
%103 = zext i1 %102 to i32
%104 = sext i32 %103 to i64
store i64 %104, ptr %11, align 8
%105 = icmp ne i64 %104, 0
br i1 %105, label %97, label %106, !llvm.loop !9
106: ; preds = %97
%107 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %107)
%109 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%110 = load i32, ptr %109, align 4
%111 = load i32, ptr %13, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = call i64 (i32, ...) @write(i32 noundef %110, ptr noundef %114, i32 noundef 64)
store i64 %115, ptr %11, align 8
%116 = getelementptr inbounds [64 x i8], ptr %15, i64 0, i64 0
%117 = getelementptr inbounds [4 x ptr], ptr %12, i64 0, i64 3
%118 = load ptr, ptr %117, align 8
%119 = call i64 @strcmp(ptr noundef %116, ptr noundef %118)
%120 = icmp eq i64 %119, 0
br i1 %120, label %121, label %122
121: ; preds = %106
store i32 1, ptr %14, align 4
br label %122
122: ; preds = %121, %106
%123 = load i32, ptr %13, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %13, align 4
%125 = load i32, ptr %14, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %96, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %122
br label %127
127: ; preds = %._crit_edge3, %87
%128 = getelementptr inbounds [2 x i32], ptr %8, i64 0, i64 1
%129 = load i32, ptr %128, align 4
%130 = call i32 @close(i32 noundef %129)
%131 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%132 = load i32, ptr %131, align 4
%133 = call i32 @close(i32 noundef %132)
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %135
135: ; preds = %127, %84
%136 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @pipe(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @fork(...) #2
declare i32 @close(i32 noundef) #2
declare i64 @write(i32 noundef, ...) #2
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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}
|
; ModuleID = '/tmp/tmp3iqr7dkg.c'
source_filename = "/tmp/tmp3iqr7dkg.c"
target datalayout = "e-m:e-p270: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/tmp3iqr7dkg.c"
target datalayout = "e-m:e-p270: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/tmp3ecqt_9t.c'
source_filename = "/tmp/tmp3ecqt_9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"x = %d, y = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun_call_base_2(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
%11 = add nsw i32 %10, 5
ret i32 %11
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ecqt_9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"x = %d, y = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fun_call_base_2(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 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
%11 = add nsw i32 %10, 5
ret i32 %11
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2loq8s0z.c'
source_filename = "/tmp/tmp2loq8s0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_unixwrite(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2loq8s0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_unixwrite(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @write(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp0oel69y.c'
source_filename = "/tmp/tmpp0oel69y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_itoa(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = call i64 @malloc(i32 noundef 512)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %46
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store i8 0, ptr %10, align 1
%11 = load i64, ptr %3, align 8
%12 = icmp sge i64 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %9
br label %14
14: ; preds = %17, %13
%15 = load i64, ptr %3, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i64, ptr %3, align 8
%19 = srem i64 %18, 10
%20 = add nsw i64 48, %19
%21 = trunc i64 %20 to i8
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %4, align 8
store i8 %21, ptr %23, align 1
%24 = load i64, ptr %3, align 8
%25 = sdiv i64 %24, 10
store i64 %25, ptr %3, align 8
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %2, align 8
br label %46
28: ; preds = %9
br label %29
29: ; preds = %32, %28
%30 = load i64, ptr %3, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = load i64, ptr %3, align 8
%34 = srem i64 %33, 10
%35 = sub nsw i64 48, %34
%36 = trunc i64 %35 to i8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 -1
store ptr %38, ptr %4, align 8
store i8 %36, ptr %38, align 1
%39 = load i64, ptr %3, align 8
%40 = sdiv i64 %39, 10
store i64 %40, ptr %3, align 8
br label %29, !llvm.loop !8
41: ; preds = %29
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 -1
store ptr %43, ptr %4, align 8
store i8 45, ptr %43, align 1
br label %44
44: ; preds = %41
%45 = load ptr, ptr %4, align 8
store ptr %45, ptr %2, align 8
br label %46
46: ; preds = %44, %26, %8
%47 = load ptr, ptr %2, align 8
ret ptr %47
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp0oel69y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_itoa(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = call i64 @malloc(i32 noundef 512)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %48
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store i8 0, ptr %10, align 1
%11 = load i64, ptr %3, align 8
%12 = icmp sge i64 %11, 0
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load i64, ptr %3, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph2, label %27
.lr.ph2: ; preds = %13
br label %16
16: ; preds = %.lr.ph2, %16
%17 = load i64, ptr %3, align 8
%18 = srem i64 %17, 10
%19 = add nsw i64 48, %18
%20 = trunc i64 %19 to i8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 -1
store ptr %22, ptr %4, align 8
store i8 %20, ptr %22, align 1
%23 = load i64, ptr %3, align 8
%24 = sdiv i64 %23, 10
store i64 %24, ptr %3, align 8
%25 = load i64, ptr %3, align 8
%26 = icmp ne i64 %25, 0
br i1 %26, label %16, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %16
br label %27
27: ; preds = %._crit_edge3, %13
%28 = load ptr, ptr %4, align 8
store ptr %28, ptr %2, align 8
br label %48
29: ; preds = %9
%30 = load i64, ptr %3, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %.lr.ph, label %43
.lr.ph: ; preds = %29
br label %32
32: ; preds = %.lr.ph, %32
%33 = load i64, ptr %3, align 8
%34 = srem i64 %33, 10
%35 = sub nsw i64 48, %34
%36 = trunc i64 %35 to i8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 -1
store ptr %38, ptr %4, align 8
store i8 %36, ptr %38, align 1
%39 = load i64, ptr %3, align 8
%40 = sdiv i64 %39, 10
store i64 %40, ptr %3, align 8
%41 = load i64, ptr %3, align 8
%42 = icmp ne i64 %41, 0
br i1 %42, label %32, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %32
br label %43
43: ; preds = %._crit_edge, %29
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 -1
store ptr %45, ptr %4, align 8
store i8 45, ptr %45, align 1
br label %46
46: ; preds = %43
%47 = load ptr, ptr %4, align 8
store ptr %47, ptr %2, align 8
br label %48
48: ; preds = %46, %27, %8
%49 = load ptr, ptr %2, align 8
ret ptr %49
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpunxhv9lr.c'
source_filename = "/tmp/tmpunxhv9lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @estimateE(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store i32 %0, ptr %2, align 4
store float 2.000000e+00, ptr %3, align 4
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 1
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = call i64 @factorial(i32 noundef %8)
%10 = sitofp i64 %9 to float
%11 = fpext float %10 to double
%12 = fdiv double 1.000000e+00, %11
%13 = load float, ptr %3, align 4
%14 = fpext float %13 to double
%15 = fadd double %14, %12
%16 = fptrunc double %15 to float
store float %16, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %2, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
%20 = load float, ptr %3, align 4
ret float %20
}
declare i64 @factorial(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/tmpunxhv9lr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @estimateE(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store i32 %0, ptr %2, align 4
store float 2.000000e+00, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 1
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = call i64 @factorial(i32 noundef %7)
%9 = sitofp i64 %8 to float
%10 = fpext float %9 to double
%11 = fdiv double 1.000000e+00, %10
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = fadd double %13, %11
%15 = fptrunc double %14 to float
store float %15, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, -1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp sgt i32 %18, 1
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %20
20: ; preds = %._crit_edge, %1
%21 = load float, ptr %3, align 4
ret float %21
}
declare i64 @factorial(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/tmpnw3tba6x.c'
source_filename = "/tmp/tmpnw3tba6x.c"
target datalayout = "e-m:e-p270: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/tmpnw3tba6x.c"
target datalayout = "e-m:e-p270: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/tmpjop2u8zg.c'
source_filename = "/tmp/tmpjop2u8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketClose(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = load i32, ptr @SHUT_RDWR, align 4
%5 = call i32 @shutdown(i16 noundef signext %3, i32 noundef %4)
%6 = load i16, ptr %2, align 2
%7 = call i32 @close(i16 noundef signext %6)
ret i32 %7
}
declare i32 @shutdown(i16 noundef signext, i32 noundef) #1
declare i32 @close(i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjop2u8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socketClose(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = load i32, ptr @SHUT_RDWR, align 4
%5 = call i32 @shutdown(i16 noundef signext %3, i32 noundef %4)
%6 = load i16, ptr %2, align 2
%7 = call i32 @close(i16 noundef signext %6)
ret i32 %7
}
declare i32 @shutdown(i16 noundef signext, i32 noundef) #1
declare i32 @close(i16 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcsddyz4c.c'
source_filename = "/tmp/tmpcsddyz4c.c"
target datalayout = "e-m:e-p270: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/tmpcsddyz4c.c"
target datalayout = "e-m:e-p270: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/tmphqu6pwut.c'
source_filename = "/tmp/tmphqu6pwut.c"
target datalayout = "e-m:e-p270: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/tmphqu6pwut.c"
target datalayout = "e-m:e-p270: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/tmpkwwn_3qp.c'
source_filename = "/tmp/tmpkwwn_3qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Sys_Pwd.pwd = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Sys_Pwd() #0 {
%1 = alloca ptr, align 8
%2 = load i8, ptr @Sys_Pwd.pwd, align 16
%3 = icmp ne i8 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
5: ; preds = %0
%6 = call i32 @readlink(ptr noundef @.str, ptr noundef @Sys_Pwd.pwd, i32 noundef 255)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %5
store i8 0, ptr getelementptr inbounds ([256 x i8], ptr @Sys_Pwd.pwd, i64 0, i64 255), align 1
%9 = call i32 @dirname(ptr noundef @Sys_Pwd.pwd)
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
10: ; preds = %5
%11 = call i32 @getcwd(ptr noundef @Sys_Pwd.pwd, i32 noundef 256)
%12 = icmp ne i32 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10
store i8 0, ptr @Sys_Pwd.pwd, align 16
br label %14
14: ; preds = %13, %10
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
15: ; preds = %14, %8, %4
%16 = load ptr, ptr %1, align 8
ret ptr %16
}
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @dirname(ptr noundef) #1
declare i32 @getcwd(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/tmpkwwn_3qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Sys_Pwd.pwd = internal global [256 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [15 x i8] c"/proc/self/exe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @Sys_Pwd() #0 {
%1 = alloca ptr, align 8
%2 = load i8, ptr @Sys_Pwd.pwd, align 16
%3 = icmp ne i8 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %0
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
5: ; preds = %0
%6 = call i32 @readlink(ptr noundef @.str, ptr noundef @Sys_Pwd.pwd, i32 noundef 255)
%7 = icmp ne i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %5
store i8 0, ptr getelementptr inbounds ([256 x i8], ptr @Sys_Pwd.pwd, i64 0, i64 255), align 1
%9 = call i32 @dirname(ptr noundef @Sys_Pwd.pwd)
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
10: ; preds = %5
%11 = call i32 @getcwd(ptr noundef @Sys_Pwd.pwd, i32 noundef 256)
%12 = icmp ne i32 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %10
store i8 0, ptr @Sys_Pwd.pwd, align 16
br label %14
14: ; preds = %13, %10
store ptr @Sys_Pwd.pwd, ptr %1, align 8
br label %15
15: ; preds = %14, %8, %4
%16 = load ptr, ptr %1, align 8
ret ptr %16
}
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @dirname(ptr noundef) #1
declare i32 @getcwd(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/tmpbxb4znc9.c'
source_filename = "/tmp/tmpbxb4znc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnxptiee(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [8 x i8], align 1
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %8, align 8
store ptr %15, ptr %11, align 8
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %4
%19 = call i32 (...) @get_native()
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %18, %4
%21 = load i32, ptr %7, align 4
switch i32 %21, label %46 [
i32 3, label %22
i32 2, label %45
i32 1, label %45
]
22: ; preds = %20
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %26
25: ; preds = %22
br label %47
26: ; preds = %22
store i32 7, ptr %13, align 4
br label %27
27: ; preds = %40, %26
%28 = load i32, ptr %13, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %43
30: ; preds = %27
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %13, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load i32, ptr %13, align 4
%37 = sub nsw i32 7, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 %38
store i8 %35, ptr %39, align 1
br label %40
40: ; preds = %30
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %13, align 4
br label %27, !llvm.loop !6
43: ; preds = %27
%44 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0
store ptr %44, ptr %10, align 8
store i32 2, ptr %7, align 4
br label %45
45: ; preds = %20, %20, %43
br label %47
46: ; preds = %20
store i32 -1, ptr %5, align 4
br label %107
47: ; preds = %45, %25
%48 = load i32, ptr %9, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 (...) @get_native()
store i32 %51, ptr %9, align 4
br label %52
52: ; preds = %50, %47
%53 = load i32, ptr %9, align 4
switch i32 %53, label %55 [
i32 1, label %54
i32 2, label %54
i32 3, label %54
]
54: ; preds = %52, %52, %52
br label %56
55: ; preds = %52
store i32 -2, ptr %5, align 4
br label %107
56: ; preds = %54
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %9, align 4
%59 = icmp eq i32 %57, %58
br i1 %59, label %60, label %64
60: ; preds = %56
%61 = load ptr, ptr %11, align 8
%62 = load ptr, ptr %10, align 8
%63 = call i32 @memcpy(ptr noundef %61, ptr noundef %62, i32 noundef 8)
store i32 0, ptr %5, align 4
br label %107
64: ; preds = %56
%65 = load i32, ptr %7, align 4
switch i32 %65, label %82 [
i32 2, label %66
i32 1, label %78
]
66: ; preds = %64
%67 = load i32, ptr %9, align 4
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = load ptr, ptr %10, align 8
%71 = load ptr, ptr %11, align 8
%72 = call i32 @ieee2xpt(ptr noundef %70, ptr noundef %71)
br label %77
73: ; preds = %66
%74 = load ptr, ptr %11, align 8
%75 = load ptr, ptr %10, align 8
%76 = call i32 @memcpy(ptr noundef %74, ptr noundef %75, i32 noundef 8)
br label %77
77: ; preds = %73, %69
br label %82
78: ; preds = %64
%79 = load ptr, ptr %10, align 8
%80 = load ptr, ptr %11, align 8
%81 = call i32 @xpt2ieee(ptr noundef %79, ptr noundef %80)
br label %82
82: ; preds = %64, %78, %77
%83 = load i32, ptr %9, align 4
%84 = icmp eq i32 %83, 3
br i1 %84, label %85, label %106
85: ; preds = %82
%86 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0
%87 = load ptr, ptr %11, align 8
%88 = call i32 @memcpy(ptr noundef %86, ptr noundef %87, i32 noundef 8)
store i32 7, ptr %13, align 4
br label %89
89: ; preds = %102, %85
%90 = load i32, ptr %13, align 4
%91 = icmp sge i32 %90, 0
br i1 %91, label %92, label %105
92: ; preds = %89
%93 = load i32, ptr %13, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = load ptr, ptr %11, align 8
%98 = load i32, ptr %13, align 4
%99 = sub nsw i32 7, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %97, i64 %100
store i8 %96, ptr %101, align 1
br label %102
102: ; preds = %92
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, -1
store i32 %104, ptr %13, align 4
br label %89, !llvm.loop !8
105: ; preds = %89
br label %106
106: ; preds = %105, %82
store i32 0, ptr %5, align 4
br label %107
107: ; preds = %106, %60, %55, %46
%108 = load i32, ptr %5, align 4
ret i32 %108
}
declare i32 @get_native(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ieee2xpt(ptr noundef, ptr noundef) #1
declare i32 @xpt2ieee(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbxb4znc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cnxptiee(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [8 x i8], align 1
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %8, align 8
store ptr %15, ptr %11, align 8
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %4
%19 = call i32 (...) @get_native()
store i32 %19, ptr %7, align 4
br label %20
20: ; preds = %18, %4
%21 = load i32, ptr %7, align 4
switch i32 %21, label %47 [
i32 3, label %22
i32 2, label %46
i32 1, label %46
]
22: ; preds = %20
%23 = load i32, ptr %9, align 4
%24 = icmp eq i32 %23, 3
br i1 %24, label %25, label %26
25: ; preds = %22
br label %48
26: ; preds = %22
store i32 7, ptr %13, align 4
%27 = load i32, ptr %13, align 4
%28 = icmp sge i32 %27, 0
br i1 %28, label %.lr.ph, label %44
.lr.ph: ; preds = %26
br label %29
29: ; preds = %.lr.ph, %39
%30 = load ptr, ptr %10, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = load i32, ptr %13, align 4
%36 = sub nsw i32 7, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 %37
store i8 %34, ptr %38, align 1
br label %39
39: ; preds = %29
%40 = load i32, ptr %13, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp sge i32 %42, 0
br i1 %43, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %44
44: ; preds = %._crit_edge, %26
%45 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0
store ptr %45, ptr %10, align 8
store i32 2, ptr %7, align 4
br label %46
46: ; preds = %44, %20, %20
br label %48
47: ; preds = %20
store i32 -1, ptr %5, align 4
br label %109
48: ; preds = %46, %25
%49 = load i32, ptr %9, align 4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = call i32 (...) @get_native()
store i32 %52, ptr %9, align 4
br label %53
53: ; preds = %51, %48
%54 = load i32, ptr %9, align 4
switch i32 %54, label %56 [
i32 1, label %55
i32 2, label %55
i32 3, label %55
]
55: ; preds = %53, %53, %53
br label %57
56: ; preds = %53
store i32 -2, ptr %5, align 4
br label %109
57: ; preds = %55
%58 = load i32, ptr %7, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load ptr, ptr %11, align 8
%63 = load ptr, ptr %10, align 8
%64 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef 8)
store i32 0, ptr %5, align 4
br label %109
65: ; preds = %57
%66 = load i32, ptr %7, align 4
switch i32 %66, label %83 [
i32 2, label %67
i32 1, label %79
]
67: ; preds = %65
%68 = load i32, ptr %9, align 4
%69 = icmp eq i32 %68, 1
br i1 %69, label %70, label %74
70: ; preds = %67
%71 = load ptr, ptr %10, align 8
%72 = load ptr, ptr %11, align 8
%73 = call i32 @ieee2xpt(ptr noundef %71, ptr noundef %72)
br label %78
74: ; preds = %67
%75 = load ptr, ptr %11, align 8
%76 = load ptr, ptr %10, align 8
%77 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i32 noundef 8)
br label %78
78: ; preds = %74, %70
br label %83
79: ; preds = %65
%80 = load ptr, ptr %10, align 8
%81 = load ptr, ptr %11, align 8
%82 = call i32 @xpt2ieee(ptr noundef %80, ptr noundef %81)
br label %83
83: ; preds = %79, %78, %65
%84 = load i32, ptr %9, align 4
%85 = icmp eq i32 %84, 3
br i1 %85, label %86, label %108
86: ; preds = %83
%87 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0
%88 = load ptr, ptr %11, align 8
%89 = call i32 @memcpy(ptr noundef %87, ptr noundef %88, i32 noundef 8)
store i32 7, ptr %13, align 4
%90 = load i32, ptr %13, align 4
%91 = icmp sge i32 %90, 0
br i1 %91, label %.lr.ph2, label %107
.lr.ph2: ; preds = %86
br label %92
92: ; preds = %.lr.ph2, %102
%93 = load i32, ptr %13, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = load ptr, ptr %11, align 8
%98 = load i32, ptr %13, align 4
%99 = sub nsw i32 7, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %97, i64 %100
store i8 %96, ptr %101, align 1
br label %102
102: ; preds = %92
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, -1
store i32 %104, ptr %13, align 4
%105 = load i32, ptr %13, align 4
%106 = icmp sge i32 %105, 0
br i1 %106, label %92, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %102
br label %107
107: ; preds = %._crit_edge3, %86
br label %108
108: ; preds = %107, %83
store i32 0, ptr %5, align 4
br label %109
109: ; preds = %108, %61, %56, %47
%110 = load i32, ptr %5, align 4
ret i32 %110
}
declare i32 @get_native(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @ieee2xpt(ptr noundef, ptr noundef) #1
declare i32 @xpt2ieee(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpo0uadq5o.c'
source_filename = "/tmp/tmpo0uadq5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @chartobinf(i8 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i64 8, ptr %5, align 8
br label %6
6: ; preds = %10, %2
%7 = load i64, ptr %5, align 8
%8 = add i64 %7, -1
store i64 %8, ptr %5, align 8
%9 = icmp ugt i64 %7, 0
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = load i64, ptr %5, align 8
%14 = trunc i64 %13 to i32
%15 = ashr i32 %12, %14
%16 = and i32 %15, 1
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, ptr @.str, ptr @.str.1
%20 = load ptr, ptr %4, align 8
%21 = call i32 @fputs(ptr noundef %19, ptr noundef %20)
br label %6, !llvm.loop !6
22: ; preds = %6
ret void
}
declare i32 @fputs(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo0uadq5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @chartobinf(i8 noundef zeroext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i64 8, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = add i64 %6, -1
store i64 %7, ptr %5, align 8
%8 = icmp ugt i64 %6, 0
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i8, ptr %3, align 1
%11 = zext i8 %10 to i32
%12 = load i64, ptr %5, align 8
%13 = trunc i64 %12 to i32
%14 = ashr i32 %11, %13
%15 = and i32 %14, 1
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, ptr @.str, ptr @.str.1
%19 = load ptr, ptr %4, align 8
%20 = call i32 @fputs(ptr noundef %18, ptr noundef %19)
%21 = load i64, ptr %5, align 8
%22 = add i64 %21, -1
store i64 %22, ptr %5, align 8
%23 = icmp ugt i64 %21, 0
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %24
24: ; preds = %._crit_edge, %2
ret void
}
declare i32 @fputs(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpklh11hz2.c'
source_filename = "/tmp/tmpklh11hz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @puts(ptr noundef @.str)
ret i32 %2
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpklh11hz2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hi\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @puts(ptr noundef @.str)
ret i32 %2
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwvnrozuw.c'
source_filename = "/tmp/tmpwvnrozuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1011 x i8] c"Usage:\0Asemtest <options>\0A\0A-a --affinity bind tasks to cores explicitly\0A-A --no_affinity do not set affinity, let the scheduler move tasks\0A-i ITER --iterations run threads for ITER iterations\0A-I INTER --interval time between each semaphore-iteration\0A-F --feather let each task-pair have a cpu-pair exclusively\0A-g --graph dump output eatable by a graphing tool\0A-G --group Group semaphore master and slave on same core\0A-h --help show this help\0A-n CPUS --num_cpus test on number of cores\0A-N CPUS --ignore_cpus ignore the (commaseparated) list of cpus, 0-indexed\0A-p PRIO --priority run with given (real-time) priority\0A-P --pid print pid (or tid) of all marco-polo pair\0A-r --policy_rr use SCHED_RR instead of the default SCHED_FIFO for rt-priorities\0A-t LIMIT --event_trace enable event-tracing when running, tag occurences exceeding LIMIT us\0A-q\09\09 --quiet\09 limit output to summary only\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #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/tmpwvnrozuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1011 x i8] c"Usage:\0Asemtest <options>\0A\0A-a --affinity bind tasks to cores explicitly\0A-A --no_affinity do not set affinity, let the scheduler move tasks\0A-i ITER --iterations run threads for ITER iterations\0A-I INTER --interval time between each semaphore-iteration\0A-F --feather let each task-pair have a cpu-pair exclusively\0A-g --graph dump output eatable by a graphing tool\0A-G --group Group semaphore master and slave on same core\0A-h --help show this help\0A-n CPUS --num_cpus test on number of cores\0A-N CPUS --ignore_cpus ignore the (commaseparated) list of cpus, 0-indexed\0A-p PRIO --priority run with given (real-time) priority\0A-P --pid print pid (or tid) of all marco-polo pair\0A-r --policy_rr use SCHED_RR instead of the default SCHED_FIFO for rt-priorities\0A-t LIMIT --event_trace enable event-tracing when running, tag occurences exceeding LIMIT us\0A-q\09\09 --quiet\09 limit output to summary only\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_help() #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/tmpdsry__zn.c'
source_filename = "/tmp/tmpdsry__zn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Not developed yet\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tapRename(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = 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/tmpdsry__zn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Not developed yet\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tapRename(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = 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/tmpzgh1dozf.c'
source_filename = "/tmp/tmpzgh1dozf.c"
target datalayout = "e-m:e-p270: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/tmpzgh1dozf.c"
target datalayout = "e-m:e-p270: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/tmp7_c9xry9.c'
source_filename = "/tmp/tmp7_c9xry9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type in the number of days in the month: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Type in the starting day of the week of the month: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printCalendar(i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printCalendar(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/tmp7_c9xry9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Type in the number of days in the month: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"Type in the starting day of the week of the month: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @printCalendar(i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printCalendar(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/tmpthejbeme.c'
source_filename = "/tmp/tmpthejbeme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Usage for %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" -a Does something\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c" -b Does something else\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c" -f value OR -fvalue Sets a value. The value is required\0A\00", align 1
@.str.4 = private unnamed_addr constant [95 x i8] c" -o OR -ovalue Sets a different value. The value is optional. '-o value' will not work\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_and_exit(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
}
declare i32 @printf(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/tmpthejbeme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Usage for %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" -a Does something\0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c" -b Does something else\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c" -f value OR -fvalue Sets a value. The value is required\0A\00", align 1
@.str.4 = private unnamed_addr constant [95 x i8] c" -o OR -ovalue Sets a different value. The value is optional. '-o value' will not work\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help_and_exit(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
}
declare i32 @printf(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/tmpsfhh00x3.c'
source_filename = "/tmp/tmpsfhh00x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @palette_feu() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x [3 x i8]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (...) @cng_clear_screen()
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %24, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 256
br i1 %10, label %11, label %27
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %13
%15 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0
store i8 0, ptr %15, align 1
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %17
%19 = getelementptr inbounds [3 x i8], ptr %18, i64 0, i64 1
store i8 0, ptr %19, align 1
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %21
%23 = getelementptr inbounds [3 x i8], ptr %22, i64 0, i64 2
store i8 0, ptr %23, align 1
br label %24
24: ; preds = %11
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %8, !llvm.loop !6
27: ; preds = %8
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %48, %27
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 64
br i1 %30, label %31, label %51
31: ; preds = %28
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %33
%35 = getelementptr inbounds [3 x i8], ptr %34, i64 0, i64 0
store i8 -1, ptr %35, align 1
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %37
%39 = getelementptr inbounds [3 x i8], ptr %38, i64 0, i64 1
store i8 -1, ptr %39, align 1
%40 = load i32, ptr %3, align 4
%41 = mul nsw i32 %40, 4
%42 = sub nsw i32 255, %41
%43 = trunc i32 %42 to i8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %45
%47 = getelementptr inbounds [3 x i8], ptr %46, i64 0, i64 2
store i8 %43, ptr %47, align 1
br label %48
48: ; preds = %31
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
br label %28, !llvm.loop !8
51: ; preds = %28
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %75, %51
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %53, 64
br i1 %54, label %55, label %78
55: ; preds = %52
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 64
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %58
%60 = getelementptr inbounds [3 x i8], ptr %59, i64 0, i64 0
store i8 -1, ptr %60, align 1
%61 = load i32, ptr %3, align 4
%62 = mul nsw i32 %61, 2
%63 = sub nsw i32 255, %62
%64 = trunc i32 %63 to i8
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 64
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %67
%69 = getelementptr inbounds [3 x i8], ptr %68, i64 0, i64 1
store i8 %64, ptr %69, align 1
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 64
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %72
%74 = getelementptr inbounds [3 x i8], ptr %73, i64 0, i64 2
store i8 0, ptr %74, align 1
br label %75
75: ; preds = %55
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %3, align 4
br label %52, !llvm.loop !9
78: ; preds = %52
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %102, %78
%80 = load i32, ptr %3, align 4
%81 = icmp slt i32 %80, 64
br i1 %81, label %82, label %105
82: ; preds = %79
%83 = load i32, ptr %3, align 4
%84 = add nsw i32 %83, 128
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %85
%87 = getelementptr inbounds [3 x i8], ptr %86, i64 0, i64 0
store i8 -1, ptr %87, align 1
%88 = load i32, ptr %3, align 4
%89 = mul nsw i32 %88, 2
%90 = sub nsw i32 128, %89
%91 = trunc i32 %90 to i8
%92 = load i32, ptr %3, align 4
%93 = add nsw i32 %92, 128
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %94
%96 = getelementptr inbounds [3 x i8], ptr %95, i64 0, i64 1
store i8 %91, ptr %96, align 1
%97 = load i32, ptr %3, align 4
%98 = add nsw i32 %97, 128
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %99
%101 = getelementptr inbounds [3 x i8], ptr %100, i64 0, i64 2
store i8 0, ptr %101, align 1
br label %102
102: ; preds = %82
%103 = load i32, ptr %3, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %3, align 4
br label %79, !llvm.loop !10
105: ; preds = %79
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %129, %105
%107 = load i32, ptr %3, align 4
%108 = icmp slt i32 %107, 64
br i1 %108, label %109, label %132
109: ; preds = %106
%110 = load i32, ptr %3, align 4
%111 = mul nsw i32 %110, 4
%112 = sub nsw i32 255, %111
%113 = trunc i32 %112 to i8
%114 = load i32, ptr %3, align 4
%115 = add nsw i32 %114, 192
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %116
%118 = getelementptr inbounds [3 x i8], ptr %117, i64 0, i64 0
store i8 %113, ptr %118, align 1
%119 = load i32, ptr %3, align 4
%120 = add nsw i32 %119, 192
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %121
%123 = getelementptr inbounds [3 x i8], ptr %122, i64 0, i64 1
store i8 0, ptr %123, align 1
%124 = load i32, ptr %3, align 4
%125 = add nsw i32 %124, 192
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %126
%128 = getelementptr inbounds [3 x i8], ptr %127, i64 0, i64 2
store i8 0, ptr %128, align 1
br label %129
129: ; preds = %109
%130 = load i32, ptr %3, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %3, align 4
br label %106, !llvm.loop !11
132: ; preds = %106
%133 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 0
%134 = call i32 @cng_palette(ptr noundef %133)
%135 = call i32 @cng_current_color_index(i32 noundef 0)
%136 = call i32 (...) @cng_clear_screen()
store i32 0, ptr %3, align 4
br label %137
137: ; preds = %146, %132
%138 = load i32, ptr %3, align 4
%139 = icmp slt i32 %138, 256
br i1 %139, label %140, label %149
140: ; preds = %137
%141 = load i32, ptr %3, align 4
%142 = call i32 @cng_current_color_index(i32 noundef %141)
%143 = load i32, ptr %3, align 4
%144 = load i32, ptr %3, align 4
%145 = call i32 @cng_line(i32 noundef 0, i32 noundef %143, i32 noundef 640, i32 noundef %144)
br label %146
146: ; preds = %140
%147 = load i32, ptr %3, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %3, align 4
br label %137, !llvm.loop !12
149: ; preds = %137
%150 = call i32 (...) @cng_refresh_window()
%151 = call i32 @cng_delay(i32 noundef 2000)
%152 = call i32 (...) @menu()
%153 = load i32, ptr %1, align 4
ret i32 %153
}
declare i32 @cng_clear_screen(...) #1
declare i32 @cng_palette(ptr noundef) #1
declare i32 @cng_current_color_index(i32 noundef) #1
declare i32 @cng_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @cng_refresh_window(...) #1
declare i32 @cng_delay(i32 noundef) #1
declare i32 @menu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsfhh00x3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @palette_feu() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x [3 x i8]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (...) @cng_clear_screen()
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 256
br i1 %9, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %23
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %12
%14 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0
store i8 0, ptr %14, align 1
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %16
%18 = getelementptr inbounds [3 x i8], ptr %17, i64 0, i64 1
store i8 0, ptr %18, align 1
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %20
%22 = getelementptr inbounds [3 x i8], ptr %21, i64 0, i64 2
store i8 0, ptr %22, align 1
br label %23
23: ; preds = %10
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 256
br i1 %27, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 64
br i1 %30, label %.lr.ph2, label %53
.lr.ph2: ; preds = %28
br label %31
31: ; preds = %.lr.ph2, %48
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %33
%35 = getelementptr inbounds [3 x i8], ptr %34, i64 0, i64 0
store i8 -1, ptr %35, align 1
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %37
%39 = getelementptr inbounds [3 x i8], ptr %38, i64 0, i64 1
store i8 -1, ptr %39, align 1
%40 = load i32, ptr %3, align 4
%41 = mul nsw i32 %40, 4
%42 = sub nsw i32 255, %41
%43 = trunc i32 %42 to i8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %45
%47 = getelementptr inbounds [3 x i8], ptr %46, i64 0, i64 2
store i8 %43, ptr %47, align 1
br label %48
48: ; preds = %31
%49 = load i32, ptr %3, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %3, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp slt i32 %51, 64
br i1 %52, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %53
53: ; preds = %._crit_edge3, %28
store i32 0, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = icmp slt i32 %54, 64
br i1 %55, label %.lr.ph5, label %81
.lr.ph5: ; preds = %53
br label %56
56: ; preds = %.lr.ph5, %76
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 64
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %59
%61 = getelementptr inbounds [3 x i8], ptr %60, i64 0, i64 0
store i8 -1, ptr %61, align 1
%62 = load i32, ptr %3, align 4
%63 = mul nsw i32 %62, 2
%64 = sub nsw i32 255, %63
%65 = trunc i32 %64 to i8
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 64
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %68
%70 = getelementptr inbounds [3 x i8], ptr %69, i64 0, i64 1
store i8 %65, ptr %70, align 1
%71 = load i32, ptr %3, align 4
%72 = add nsw i32 %71, 64
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %73
%75 = getelementptr inbounds [3 x i8], ptr %74, i64 0, i64 2
store i8 0, ptr %75, align 1
br label %76
76: ; preds = %56
%77 = load i32, ptr %3, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %3, align 4
%79 = load i32, ptr %3, align 4
%80 = icmp slt i32 %79, 64
br i1 %80, label %56, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %81
81: ; preds = %._crit_edge6, %53
store i32 0, ptr %3, align 4
%82 = load i32, ptr %3, align 4
%83 = icmp slt i32 %82, 64
br i1 %83, label %.lr.ph8, label %109
.lr.ph8: ; preds = %81
br label %84
84: ; preds = %.lr.ph8, %104
%85 = load i32, ptr %3, align 4
%86 = add nsw i32 %85, 128
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %87
%89 = getelementptr inbounds [3 x i8], ptr %88, i64 0, i64 0
store i8 -1, ptr %89, align 1
%90 = load i32, ptr %3, align 4
%91 = mul nsw i32 %90, 2
%92 = sub nsw i32 128, %91
%93 = trunc i32 %92 to i8
%94 = load i32, ptr %3, align 4
%95 = add nsw i32 %94, 128
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %96
%98 = getelementptr inbounds [3 x i8], ptr %97, i64 0, i64 1
store i8 %93, ptr %98, align 1
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, 128
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %101
%103 = getelementptr inbounds [3 x i8], ptr %102, i64 0, i64 2
store i8 0, ptr %103, align 1
br label %104
104: ; preds = %84
%105 = load i32, ptr %3, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %3, align 4
%107 = load i32, ptr %3, align 4
%108 = icmp slt i32 %107, 64
br i1 %108, label %84, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %104
br label %109
109: ; preds = %._crit_edge9, %81
store i32 0, ptr %3, align 4
%110 = load i32, ptr %3, align 4
%111 = icmp slt i32 %110, 64
br i1 %111, label %.lr.ph11, label %137
.lr.ph11: ; preds = %109
br label %112
112: ; preds = %.lr.ph11, %132
%113 = load i32, ptr %3, align 4
%114 = mul nsw i32 %113, 4
%115 = sub nsw i32 255, %114
%116 = trunc i32 %115 to i8
%117 = load i32, ptr %3, align 4
%118 = add nsw i32 %117, 192
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %119
%121 = getelementptr inbounds [3 x i8], ptr %120, i64 0, i64 0
store i8 %116, ptr %121, align 1
%122 = load i32, ptr %3, align 4
%123 = add nsw i32 %122, 192
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %124
%126 = getelementptr inbounds [3 x i8], ptr %125, i64 0, i64 1
store i8 0, ptr %126, align 1
%127 = load i32, ptr %3, align 4
%128 = add nsw i32 %127, 192
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 %129
%131 = getelementptr inbounds [3 x i8], ptr %130, i64 0, i64 2
store i8 0, ptr %131, align 1
br label %132
132: ; preds = %112
%133 = load i32, ptr %3, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %3, align 4
%135 = load i32, ptr %3, align 4
%136 = icmp slt i32 %135, 64
br i1 %136, label %112, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %132
br label %137
137: ; preds = %._crit_edge12, %109
%138 = getelementptr inbounds [256 x [3 x i8]], ptr %2, i64 0, i64 0
%139 = call i32 @cng_palette(ptr noundef %138)
%140 = call i32 @cng_current_color_index(i32 noundef 0)
%141 = call i32 (...) @cng_clear_screen()
store i32 0, ptr %3, align 4
%142 = load i32, ptr %3, align 4
%143 = icmp slt i32 %142, 256
br i1 %143, label %.lr.ph14, label %155
.lr.ph14: ; preds = %137
br label %144
144: ; preds = %.lr.ph14, %150
%145 = load i32, ptr %3, align 4
%146 = call i32 @cng_current_color_index(i32 noundef %145)
%147 = load i32, ptr %3, align 4
%148 = load i32, ptr %3, align 4
%149 = call i32 @cng_line(i32 noundef 0, i32 noundef %147, i32 noundef 640, i32 noundef %148)
br label %150
150: ; preds = %144
%151 = load i32, ptr %3, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %3, align 4
%153 = load i32, ptr %3, align 4
%154 = icmp slt i32 %153, 256
br i1 %154, label %144, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %150
br label %155
155: ; preds = %._crit_edge15, %137
%156 = call i32 (...) @cng_refresh_window()
%157 = call i32 @cng_delay(i32 noundef 2000)
%158 = call i32 (...) @menu()
%159 = load i32, ptr %1, align 4
ret i32 %159
}
declare i32 @cng_clear_screen(...) #1
declare i32 @cng_palette(ptr noundef) #1
declare i32 @cng_current_color_index(i32 noundef) #1
declare i32 @cng_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @cng_refresh_window(...) #1
declare i32 @cng_delay(i32 noundef) #1
declare i32 @menu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpm6g9o3kf.c'
source_filename = "/tmp/tmpm6g9o3kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ToHTML(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = mul nsw i32 %7, 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
br label %86
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %2, align 8
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %78, %14
%18 = load ptr, ptr %2, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
br i1 %20, label %21, label %79
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = and i32 %24, 128
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %38
27: ; preds = %21
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %2, align 8
%30 = load i8, ptr %28, align 1
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 %30, ptr %31, align 1
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %2, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %4, align 8
store i8 %35, ptr %36, align 1
br label %78
38: ; preds = %21
%39 = load ptr, ptr %2, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 60
br i1 %42, label %43, label %54
43: ; preds = %38
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %4, align 8
store i8 38, ptr %44, align 1
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %4, align 8
store i8 108, ptr %46, align 1
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %4, align 8
store i8 116, ptr %48, align 1
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %4, align 8
store i8 59, ptr %50, align 1
%52 = load ptr, ptr %2, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %2, align 8
br label %77
54: ; preds = %38
%55 = load ptr, ptr %2, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 62
br i1 %58, label %59, label %70
59: ; preds = %54
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %4, align 8
store i8 38, ptr %60, align 1
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %4, align 8
store i8 103, ptr %62, align 1
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %4, align 8
store i8 116, ptr %64, align 1
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds i8, ptr %66, i32 1
store ptr %67, ptr %4, align 8
store i8 59, ptr %66, align 1
%68 = load ptr, ptr %2, align 8
%69 = getelementptr inbounds i8, ptr %68, i32 1
store ptr %69, ptr %2, align 8
br label %76
70: ; preds = %54
%71 = load ptr, ptr %2, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %2, align 8
%73 = load i8, ptr %71, align 1
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %4, align 8
store i8 %73, ptr %74, align 1
br label %76
76: ; preds = %70, %59
br label %77
77: ; preds = %76, %43
br label %78
78: ; preds = %77, %27
br label %17, !llvm.loop !6
79: ; preds = %17
%80 = load ptr, ptr %4, align 8
store i8 0, ptr %80, align 1
%81 = load ptr, ptr %5, align 8
%82 = load ptr, ptr %3, align 8
%83 = call i32 @strcpy(ptr noundef %81, ptr noundef %82)
%84 = load ptr, ptr %3, align 8
%85 = call i32 @free(ptr noundef %84)
br label %86
86: ; preds = %79, %13
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm6g9o3kf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ToHTML(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = mul nsw i32 %7, 4
%9 = call i64 @malloc(i32 noundef %8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
br label %88
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %2, align 8
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %.lr.ph, label %81
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %77
%21 = load ptr, ptr %2, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = and i32 %23, 128
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %37
26: ; preds = %20
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %2, align 8
%29 = load i8, ptr %27, align 1
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
store i8 %29, ptr %30, align 1
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %2, align 8
%34 = load i8, ptr %32, align 1
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
store i8 %34, ptr %35, align 1
br label %77
37: ; preds = %20
%38 = load ptr, ptr %2, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 60
br i1 %41, label %42, label %53
42: ; preds = %37
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %4, align 8
store i8 38, ptr %43, align 1
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %4, align 8
store i8 108, ptr %45, align 1
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %4, align 8
store i8 116, ptr %47, align 1
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %4, align 8
store i8 59, ptr %49, align 1
%51 = load ptr, ptr %2, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %2, align 8
br label %76
53: ; preds = %37
%54 = load ptr, ptr %2, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 62
br i1 %57, label %58, label %69
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %4, align 8
store i8 38, ptr %59, align 1
%61 = load ptr, ptr %4, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %4, align 8
store i8 103, ptr %61, align 1
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %4, align 8
store i8 116, ptr %63, align 1
%65 = load ptr, ptr %4, align 8
%66 = getelementptr inbounds i8, ptr %65, i32 1
store ptr %66, ptr %4, align 8
store i8 59, ptr %65, align 1
%67 = load ptr, ptr %2, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %2, align 8
br label %75
69: ; preds = %53
%70 = load ptr, ptr %2, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %2, align 8
%72 = load i8, ptr %70, align 1
%73 = load ptr, ptr %4, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %4, align 8
store i8 %72, ptr %73, align 1
br label %75
75: ; preds = %69, %58
br label %76
76: ; preds = %75, %42
br label %77
77: ; preds = %76, %26
%78 = load ptr, ptr %2, align 8
%79 = load i8, ptr %78, align 1
%80 = icmp ne i8 %79, 0
br i1 %80, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %81
81: ; preds = %._crit_edge, %14
%82 = load ptr, ptr %4, align 8
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %5, align 8
%84 = load ptr, ptr %3, align 8
%85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84)
%86 = load ptr, ptr %3, align 8
%87 = call i32 @free(ptr noundef %86)
br label %88
88: ; preds = %81, %13
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpklizcdl3.c'
source_filename = "/tmp/tmpklizcdl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Usage: %s [options] v w\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"For more information type: %s -h \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpklizcdl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Usage: %s [options] v w\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"For more information type: %s -h \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwj826x4u.c'
source_filename = "/tmp/tmpwj826x4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_partition(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br label %15
15: ; preds = %12, %4
%16 = phi i1 [ false, %4 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %7, align 8
store i32 1, ptr %19, align 4
store i32 1, ptr %9, align 4
br label %20
20: ; preds = %29, %15
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
store i32 1, ptr %28, align 4
br label %29
29: ; preds = %24
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %20, !llvm.loop !6
32: ; preds = %20
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 1
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 0, i32 -1
%37 = load ptr, ptr %8, align 8
store i32 %36, ptr %37, align 4
%38 = load i32, ptr %5, align 4
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 0
store i32 %38, ptr %40, align 4
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj826x4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_partition(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %4
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br label %15
15: ; preds = %12, %4
%16 = phi i1 [ false, %4 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load ptr, ptr %7, align 8
store i32 1, ptr %19, align 4
store i32 1, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %34
.lr.ph: ; preds = %15
br label %23
23: ; preds = %.lr.ph, %28
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 1, ptr %27, align 4
br label %28
28: ; preds = %23
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %15
%35 = load i32, ptr %5, align 4
%36 = icmp sgt i32 %35, 1
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 0, i32 -1
%39 = load ptr, ptr %8, align 8
store i32 %38, ptr %39, align 4
%40 = load i32, ptr %5, align 4
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i32, ptr %41, i64 0
store i32 %40, ptr %42, align 4
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp46ozi_6f.c'
source_filename = "/tmp/tmp46ozi_6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world, from C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @b_output(ptr noundef @.str)
ret i32 0
}
declare i32 @b_output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46ozi_6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world, from C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @b_output(ptr noundef @.str)
ret i32 0
}
declare i32 @b_output(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmper85ocew.c'
source_filename = "/tmp/tmper85ocew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%s = %s & %s;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__func_and_sint(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
ret void
}
declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmper85ocew.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"%s = %s & %s;\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__func_and_sint(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = call i32 @pA(ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
ret void
}
declare i32 @pA(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1j4fx_l8.c'
source_filename = "/tmp/tmp1j4fx_l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"libpt (c) 2016-2018 Ilya Kaliman\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Fast Coupled Cluster Triples Corrections\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"https://github.com/ilyak/libpt\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libpt_print_banner() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1j4fx_l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"libpt (c) 2016-2018 Ilya Kaliman\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Fast Coupled Cluster Triples Corrections\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"https://github.com/ilyak/libpt\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @libpt_print_banner() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxd3yohs3.c'
source_filename = "/tmp/tmpxd3yohs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gadd(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 = xor i32 %5, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxd3yohs3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gadd(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 = xor i32 %5, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp126uqzz0.c'
source_filename = "/tmp/tmp126uqzz0.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sf_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %2, align 4
%6 = call i32 @close(i32 noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i64, ptr @errno, align 8
%12 = load i64, ptr @EINTR, align 8
%13 = icmp eq i64 %11, %12
br label %14
14: ; preds = %10, %7
%15 = phi i1 [ false, %7 ], [ %13, %10 ]
br i1 %15, label %4, label %16, !llvm.loop !6
16: ; preds = %14
%17 = load i32, ptr %3, align 4
ret i32 %17
}
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/tmp126uqzz0.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sf_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %14, %1
%5 = load i32, ptr %2, align 4
%6 = call i32 @close(i32 noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load i64, ptr @errno, align 8
%12 = load i64, ptr @EINTR, align 8
%13 = icmp eq i64 %11, %12
br label %14
14: ; preds = %10, %7
%15 = phi i1 [ false, %7 ], [ %13, %10 ]
br i1 %15, label %4, label %16, !llvm.loop !6
16: ; preds = %14
%17 = load i32, ptr %3, align 4
ret i32 %17
}
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/tmpi1k6ybu9.c'
source_filename = "/tmp/tmpi1k6ybu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_printable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %6, %1
store i32 0, ptr %2, align 4
br label %28
12: ; preds = %6
br label %13
13: ; preds = %24, %12
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = call i32 @isprint(i8 noundef signext %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %17
store i32 0, ptr %2, align 4
br label %28
23: ; preds = %17
br label %24
24: ; preds = %23
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %3, align 8
br label %13, !llvm.loop !6
27: ; preds = %13
store i32 1, ptr %2, align 4
br label %28
28: ; preds = %27, %22, %11
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i32 @isprint(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1k6ybu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_printable(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %11, label %6
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %6, %1
store i32 0, ptr %2, align 4
br label %30
12: ; preds = %6
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %.lr.ph, label %29
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = call i32 @isprint(i8 noundef signext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %22, label %21
21: ; preds = %16
store i32 0, ptr %2, align 4
br label %30
22: ; preds = %16
br label %23
23: ; preds = %22
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = icmp ne i8 %27, 0
br i1 %28, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %12
store i32 1, ptr %2, align 4
br label %30
30: ; preds = %29, %21, %11
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i32 @isprint(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu4r3aet7.c'
source_filename = "/tmp/tmpu4r3aet7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hawkc_number_of_digits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 10
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu4r3aet7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hawkc_number_of_digits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = sdiv i32 %7, 10
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0jzuh25r.c'
source_filename = "/tmp/tmp0jzuh25r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"0stopping tssrv\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"killall tssrv\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"killall adbd\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"/sys/class/usb_composite/adb/enable\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"/sys/class/usb_composite/rndis/enable\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"0unmounting base volumes\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"media\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"root\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"0unmounting base partitions\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"0 - /mnt/boot\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"/mnt/boot\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"0 - /mnt/firmware\00", align 1
@.str.13 = private unnamed_addr constant [14 x i8] c"/mnt/firmware\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c"0disabling framebuffer\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"0disabling input\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"0unmounting all volumes\00", align 1
@.str.17 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"/proc/sysrq-trigger\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"u\00", align 1
@.str.20 = private unnamed_addr constant [9 x i8] c"0syncing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_shutdown() #0 {
%1 = call i32 @logprintf(ptr noundef @.str)
%2 = call i32 @system_logged(ptr noundef @.str.1)
%3 = call i32 @system_logged(ptr noundef @.str.2)
%4 = call i32 @qfprintf(ptr noundef @.str.3, ptr noundef @.str.4)
%5 = call i32 @qfprintf(ptr noundef @.str.5, ptr noundef @.str.4)
%6 = call i32 @logprintf(ptr noundef @.str.6)
%7 = call i32 @umount_lv(ptr noundef @.str.7)
%8 = call i32 @umount_lv(ptr noundef @.str.8)
%9 = call i32 @logprintf(ptr noundef @.str.9)
%10 = call i32 @logprintf(ptr noundef @.str.10)
%11 = call i32 @umount(ptr noundef @.str.11)
%12 = call i32 @logprintf(ptr noundef @.str.12)
%13 = call i32 @umount(ptr noundef @.str.13)
%14 = call i32 @logprintf(ptr noundef @.str.14)
%15 = call i64 (...) @is_fb_available()
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (...) @fb_close()
br label %19
19: ; preds = %17, %0
%20 = call i32 @logprintf(ptr noundef @.str.15)
%21 = call i32 (...) @input_close()
%22 = call i32 @logprintf(ptr noundef @.str.16)
%23 = call i32 @chdir(ptr noundef @.str.17)
%24 = call i32 (...) @sync()
%25 = call i32 @qfprintf(ptr noundef @.str.18, ptr noundef @.str.19)
%26 = call i32 @logprintf(ptr noundef @.str.20)
%27 = call i32 (...) @sync()
ret void
}
declare i32 @logprintf(ptr noundef) #1
declare i32 @system_logged(ptr noundef) #1
declare i32 @qfprintf(ptr noundef, ptr noundef) #1
declare i32 @umount_lv(ptr noundef) #1
declare i32 @umount(ptr noundef) #1
declare i64 @is_fb_available(...) #1
declare i32 @fb_close(...) #1
declare i32 @input_close(...) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @sync(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jzuh25r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"0stopping tssrv\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"killall tssrv\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"killall adbd\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"/sys/class/usb_composite/adb/enable\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"/sys/class/usb_composite/rndis/enable\00", align 1
@.str.6 = private unnamed_addr constant [25 x i8] c"0unmounting base volumes\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"media\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"root\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"0unmounting base partitions\00", align 1
@.str.10 = private unnamed_addr constant [14 x i8] c"0 - /mnt/boot\00", align 1
@.str.11 = private unnamed_addr constant [10 x i8] c"/mnt/boot\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"0 - /mnt/firmware\00", align 1
@.str.13 = private unnamed_addr constant [14 x i8] c"/mnt/firmware\00", align 1
@.str.14 = private unnamed_addr constant [23 x i8] c"0disabling framebuffer\00", align 1
@.str.15 = private unnamed_addr constant [17 x i8] c"0disabling input\00", align 1
@.str.16 = private unnamed_addr constant [24 x i8] c"0unmounting all volumes\00", align 1
@.str.17 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.18 = private unnamed_addr constant [20 x i8] c"/proc/sysrq-trigger\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c"u\00", align 1
@.str.20 = private unnamed_addr constant [9 x i8] c"0syncing\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_shutdown() #0 {
%1 = call i32 @logprintf(ptr noundef @.str)
%2 = call i32 @system_logged(ptr noundef @.str.1)
%3 = call i32 @system_logged(ptr noundef @.str.2)
%4 = call i32 @qfprintf(ptr noundef @.str.3, ptr noundef @.str.4)
%5 = call i32 @qfprintf(ptr noundef @.str.5, ptr noundef @.str.4)
%6 = call i32 @logprintf(ptr noundef @.str.6)
%7 = call i32 @umount_lv(ptr noundef @.str.7)
%8 = call i32 @umount_lv(ptr noundef @.str.8)
%9 = call i32 @logprintf(ptr noundef @.str.9)
%10 = call i32 @logprintf(ptr noundef @.str.10)
%11 = call i32 @umount(ptr noundef @.str.11)
%12 = call i32 @logprintf(ptr noundef @.str.12)
%13 = call i32 @umount(ptr noundef @.str.13)
%14 = call i32 @logprintf(ptr noundef @.str.14)
%15 = call i64 (...) @is_fb_available()
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 (...) @fb_close()
br label %19
19: ; preds = %17, %0
%20 = call i32 @logprintf(ptr noundef @.str.15)
%21 = call i32 (...) @input_close()
%22 = call i32 @logprintf(ptr noundef @.str.16)
%23 = call i32 @chdir(ptr noundef @.str.17)
%24 = call i32 (...) @sync()
%25 = call i32 @qfprintf(ptr noundef @.str.18, ptr noundef @.str.19)
%26 = call i32 @logprintf(ptr noundef @.str.20)
%27 = call i32 (...) @sync()
ret void
}
declare i32 @logprintf(ptr noundef) #1
declare i32 @system_logged(ptr noundef) #1
declare i32 @qfprintf(ptr noundef, ptr noundef) #1
declare i32 @umount_lv(ptr noundef) #1
declare i32 @umount(ptr noundef) #1
declare i64 @is_fb_available(...) #1
declare i32 @fb_close(...) #1
declare i32 @input_close(...) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @sync(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwpdip6xu.c'
source_filename = "/tmp/tmpwpdip6xu.c"
target datalayout = "e-m:e-p270: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/tmpwpdip6xu.c"
target datalayout = "e-m:e-p270: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/tmpv5mzlryn.c'
source_filename = "/tmp/tmpv5mzlryn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tokenize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strtok(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %30
12: ; preds = %2
%13 = load ptr, ptr %7, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %29
23: ; preds = %12
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 0, ptr %28, align 1
br label %29
29: ; preds = %23, %12
br label %30
30: ; preds = %29, %2
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds [64 x i8], ptr %31, i64 0
%33 = getelementptr inbounds [64 x i8], ptr %32, i64 0, i64 0
%34 = load ptr, ptr %7, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %70, %30
%37 = load ptr, ptr %7, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %71
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %7, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %70
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = call i32 @strlen(ptr noundef %46)
store i32 %47, ptr %6, align 4
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 10
br i1 %55, label %56, label %62
56: ; preds = %45
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %6, align 4
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
store i8 0, ptr %61, align 1
br label %62
62: ; preds = %56, %45
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [64 x i8], ptr %63, i64 %65
%67 = getelementptr inbounds [64 x i8], ptr %66, i64 0, i64 0
%68 = load ptr, ptr %7, align 8
%69 = call i32 @strcpy(ptr noundef %67, ptr noundef %68)
br label %70
70: ; preds = %62, %39
br label %36, !llvm.loop !6
71: ; preds = %36
%72 = load i32, ptr %5, align 4
ret i32 %72
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv5mzlryn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tokenize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strtok(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %30
12: ; preds = %2
%13 = load ptr, ptr %7, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %29
23: ; preds = %12
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 0, ptr %28, align 1
br label %29
29: ; preds = %23, %12
br label %30
30: ; preds = %29, %2
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds [64 x i8], ptr %31, i64 0
%33 = getelementptr inbounds [64 x i8], ptr %32, i64 0, i64 0
%34 = load ptr, ptr %7, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %.lr.ph, label %72
.lr.ph: ; preds = %30
br label %38
38: ; preds = %.lr.ph, %69
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %41, ptr %7, align 8
%42 = load ptr, ptr %7, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %44, label %69
44: ; preds = %38
%45 = load ptr, ptr %7, align 8
%46 = call i32 @strlen(ptr noundef %45)
store i32 %46, ptr %6, align 4
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %6, align 4
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 10
br i1 %54, label %55, label %61
55: ; preds = %44
%56 = load ptr, ptr %7, align 8
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
store i8 0, ptr %60, align 1
br label %61
61: ; preds = %55, %44
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [64 x i8], ptr %62, i64 %64
%66 = getelementptr inbounds [64 x i8], ptr %65, i64 0, i64 0
%67 = load ptr, ptr %7, align 8
%68 = call i32 @strcpy(ptr noundef %66, ptr noundef %67)
br label %69
69: ; preds = %61, %38
%70 = load ptr, ptr %7, align 8
%71 = icmp ne ptr %70, null
br i1 %71, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %72
72: ; preds = %._crit_edge, %30
%73 = load i32, ptr %5, align 4
ret i32 %73
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp85z2k928.c'
source_filename = "/tmp/tmp85z2k928.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.0f\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 float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x3F947AE140000000, ptr %6, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%11 = load float, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to float
%14 = fmul float %11, %13
store float %14, ptr %7, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %15, %16
store i32 %17, ptr %2, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %6, align 4
%20 = fmul float %18, %19
store float %20, ptr %5, align 4
br label %21
21: ; preds = %26, %0
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %22, %23
%25 = icmp sge i32 %24, 0
br i1 %25, label %26, label %38
26: ; preds = %21
%27 = load float, ptr %3, align 4
%28 = load float, ptr %5, align 4
%29 = fsub float %27, %28
store float %29, ptr %3, align 4
%30 = load float, ptr %7, align 4
%31 = load i32, ptr %4, align 4
%32 = sitofp i32 %31 to float
%33 = load float, ptr %3, align 4
%34 = call float @llvm.fmuladd.f32(float %32, float %33, float %30)
store float %34, ptr %7, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %4, align 4
%37 = sub nsw i32 %35, %36
store i32 %37, ptr %2, align 4
br label %21, !llvm.loop !6
38: ; preds = %21
%39 = load i32, ptr %2, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %51
41: ; preds = %38
%42 = load i32, ptr %2, align 4
%43 = sitofp i32 %42 to float
%44 = load float, ptr %3, align 4
%45 = load float, ptr %5, align 4
%46 = fsub float %44, %45
%47 = fmul float %43, %46
store float %47, ptr %5, align 4
%48 = load float, ptr %7, align 4
%49 = load float, ptr %5, align 4
%50 = fadd float %48, %49
store float %50, ptr %7, align 4
br label %51
51: ; preds = %41, %38
%52 = load float, ptr %7, align 4
%53 = call i32 @printf(ptr noundef @.str.2, float noundef %52)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85z2k928.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%.0f\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 float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x3F947AE140000000, ptr %6, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%11 = load float, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to float
%14 = fmul float %11, %13
store float %14, ptr %7, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %4, align 4
%17 = sub nsw i32 %15, %16
store i32 %17, ptr %2, align 4
%18 = load float, ptr %3, align 4
%19 = load float, ptr %6, align 4
%20 = fmul float %18, %19
store float %20, ptr %5, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %4, align 4
%23 = sub nsw i32 %21, %22
%24 = icmp sge i32 %23, 0
br i1 %24, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %25
25: ; preds = %.lr.ph, %25
%26 = load float, ptr %3, align 4
%27 = load float, ptr %5, align 4
%28 = fsub float %26, %27
store float %28, ptr %3, align 4
%29 = load float, ptr %7, align 4
%30 = load i32, ptr %4, align 4
%31 = sitofp i32 %30 to float
%32 = load float, ptr %3, align 4
%33 = call float @llvm.fmuladd.f32(float %31, float %32, float %29)
store float %33, ptr %7, align 4
%34 = load i32, ptr %2, align 4
%35 = load i32, ptr %4, align 4
%36 = sub nsw i32 %34, %35
store i32 %36, ptr %2, align 4
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %4, align 4
%39 = sub nsw i32 %37, %38
%40 = icmp sge i32 %39, 0
br i1 %40, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %41
41: ; preds = %._crit_edge, %0
%42 = load i32, ptr %2, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %54
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = sitofp i32 %45 to float
%47 = load float, ptr %3, align 4
%48 = load float, ptr %5, align 4
%49 = fsub float %47, %48
%50 = fmul float %46, %49
store float %50, ptr %5, align 4
%51 = load float, ptr %7, align 4
%52 = load float, ptr %5, align 4
%53 = fadd float %51, %52
store float %53, ptr %7, align 4
br label %54
54: ; preds = %44, %41
%55 = load float, ptr %7, align 4
%56 = call i32 @printf(ptr noundef @.str.2, float noundef %55)
ret i32 0
}
declare i32 @scanf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_vp3mppv.c'
source_filename = "/tmp/tmp_vp3mppv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup() #0 {
%1 = call i32 (...) @setup_reader()
%2 = call i32 (...) @setup_exec()
ret void
}
declare i32 @setup_reader(...) #1
declare i32 @setup_exec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_vp3mppv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup() #0 {
%1 = call i32 (...) @setup_reader()
%2 = call i32 (...) @setup_exec()
ret void
}
declare i32 @setup_reader(...) #1
declare i32 @setup_exec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp618vq4zm.c'
source_filename = "/tmp/tmp618vq4zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12, %1
%17 = load ptr, ptr %4, align 8
ret ptr %17
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp618vq4zm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %16
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %2, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
br label %16
16: ; preds = %12, %1
%17 = load ptr, ptr %4, align 8
ret ptr %17
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkdzpps4m.c'
source_filename = "/tmp/tmpkdzpps4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @GF_mul(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
store i32 7, ptr %5, align 4
store i8 0, ptr %6, align 1
br label %7
7: ; preds = %11, %2
%8 = load i32, ptr %5, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %5, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %11, label %29
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = load i8, ptr %4, align 1
%15 = zext i8 %14 to i32
%16 = and i32 %15, 128
%17 = ashr i32 %16, 7
%18 = mul nsw i32 %13, %17
%19 = load i8, ptr %6, align 1
%20 = zext i8 %19 to i32
%21 = xor i32 %20, %18
%22 = trunc i32 %21 to i8
store i8 %22, ptr %6, align 1
%23 = load i8, ptr %6, align 1
%24 = call zeroext i8 @GF_mulX(i8 noundef zeroext %23)
store i8 %24, ptr %6, align 1
%25 = load i8, ptr %4, align 1
%26 = zext i8 %25 to i32
%27 = shl i32 %26, 1
%28 = trunc i32 %27 to i8
store i8 %28, ptr %4, align 1
br label %7, !llvm.loop !6
29: ; preds = %7
%30 = load i8, ptr %3, align 1
%31 = zext i8 %30 to i32
%32 = load i8, ptr %4, align 1
%33 = zext i8 %32 to i32
%34 = and i32 %33, 128
%35 = ashr i32 %34, 7
%36 = mul nsw i32 %31, %35
%37 = load i8, ptr %6, align 1
%38 = zext i8 %37 to i32
%39 = xor i32 %38, %36
%40 = trunc i32 %39 to i8
store i8 %40, ptr %6, align 1
%41 = load i8, ptr %6, align 1
ret i8 %41
}
declare zeroext i8 @GF_mulX(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkdzpps4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @GF_mul(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
store i32 7, ptr %5, align 4
store i8 0, ptr %6, align 1
%7 = load i32, ptr %5, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %5, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
%13 = load i8, ptr %4, align 1
%14 = zext i8 %13 to i32
%15 = and i32 %14, 128
%16 = ashr i32 %15, 7
%17 = mul nsw i32 %12, %16
%18 = load i8, ptr %6, align 1
%19 = zext i8 %18 to i32
%20 = xor i32 %19, %17
%21 = trunc i32 %20 to i8
store i8 %21, ptr %6, align 1
%22 = load i8, ptr %6, align 1
%23 = call zeroext i8 @GF_mulX(i8 noundef zeroext %22)
store i8 %23, ptr %6, align 1
%24 = load i8, ptr %4, align 1
%25 = zext i8 %24 to i32
%26 = shl i32 %25, 1
%27 = trunc i32 %26 to i8
store i8 %27, ptr %4, align 1
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %5, align 4
%30 = icmp ne i32 %28, 0
br i1 %30, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %31
31: ; preds = %._crit_edge, %2
%32 = load i8, ptr %3, align 1
%33 = zext i8 %32 to i32
%34 = load i8, ptr %4, align 1
%35 = zext i8 %34 to i32
%36 = and i32 %35, 128
%37 = ashr i32 %36, 7
%38 = mul nsw i32 %33, %37
%39 = load i8, ptr %6, align 1
%40 = zext i8 %39 to i32
%41 = xor i32 %40, %38
%42 = trunc i32 %41 to i8
store i8 %42, ptr %6, align 1
%43 = load i8, ptr %6, align 1
ret i8 %43
}
declare zeroext i8 @GF_mulX(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ntok6nu.c'
source_filename = "/tmp/tmp_ntok6nu.c"
target datalayout = "e-m:e-p270: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 @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 (...) @getchar()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @getchar()
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %44, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br label %16
16: ; preds = %12, %8
%17 = phi i1 [ false, %8 ], [ %15, %12 ]
br i1 %17, label %18, label %47
18: ; preds = %16
%19 = load i32, ptr %2, align 4
%20 = call i32 @base16(i32 noundef %19)
%21 = shl i32 %20, 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @base16(i32 noundef %22)
%24 = or i32 %21, %23
%25 = load i32, ptr %5, align 4
%26 = shl i32 %24, %25
%27 = load i32, ptr %4, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 8
store i32 %30, ptr %5, align 4
br label %31
31: ; preds = %34, %18
%32 = load i32, ptr %5, align 4
%33 = icmp sge i32 %32, 7
br i1 %33, label %34, label %43
34: ; preds = %31
%35 = load i32, ptr %4, align 4
%36 = and i32 %35, 127
%37 = call i32 @gsm2ascii(i32 noundef %36)
%38 = call i32 @putchar(i32 noundef %37)
%39 = load i32, ptr %5, align 4
%40 = sub nsw i32 %39, 7
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %4, align 4
%42 = ashr i32 %41, 7
store i32 %42, ptr %4, align 4
br label %31, !llvm.loop !6
43: ; preds = %31
br label %44
44: ; preds = %43
%45 = call i32 (...) @getchar()
store i32 %45, ptr %2, align 4
%46 = call i32 (...) @getchar()
store i32 %46, ptr %3, align 4
br label %8, !llvm.loop !8
47: ; preds = %16
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @base16(i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @gsm2ascii(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ntok6nu.c"
target datalayout = "e-m:e-p270: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 @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 (...) @getchar()
store i32 %6, ptr %2, align 4
%7 = call i32 (...) @getchar()
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %45, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %8
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br label %16
16: ; preds = %12, %8
%17 = phi i1 [ false, %8 ], [ %15, %12 ]
br i1 %17, label %18, label %48
18: ; preds = %16
%19 = load i32, ptr %2, align 4
%20 = call i32 @base16(i32 noundef %19)
%21 = shl i32 %20, 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @base16(i32 noundef %22)
%24 = or i32 %21, %23
%25 = load i32, ptr %5, align 4
%26 = shl i32 %24, %25
%27 = load i32, ptr %4, align 4
%28 = or i32 %27, %26
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 8
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp sge i32 %31, 7
br i1 %32, label %.lr.ph, label %44
.lr.ph: ; preds = %18
br label %33
33: ; preds = %.lr.ph, %33
%34 = load i32, ptr %4, align 4
%35 = and i32 %34, 127
%36 = call i32 @gsm2ascii(i32 noundef %35)
%37 = call i32 @putchar(i32 noundef %36)
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 7
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %4, align 4
%41 = ashr i32 %40, 7
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp sge i32 %42, 7
br i1 %43, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %44
44: ; preds = %._crit_edge, %18
br label %45
45: ; preds = %44
%46 = call i32 (...) @getchar()
store i32 %46, ptr %2, align 4
%47 = call i32 (...) @getchar()
store i32 %47, ptr %3, align 4
br label %8, !llvm.loop !8
48: ; preds = %16
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @base16(i32 noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @gsm2ascii(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt9s1t42q.c'
source_filename = "/tmp/tmpt9s1t42q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LLI2C_output_clock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %1
%8 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 1)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %35
13: ; preds = %7
%14 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 0)
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %2, align 4
br label %35
19: ; preds = %13
%20 = call i32 @OS_udelay(i32 noundef 5)
br label %34
21: ; preds = %1
%22 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 3)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, ptr %4, align 4
store i32 %26, ptr %2, align 4
br label %35
27: ; preds = %21
%28 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 2)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr %4, align 4
store i32 %32, ptr %2, align 4
br label %35
33: ; preds = %27
br label %34
34: ; preds = %33, %19
store i32 0, ptr %2, align 4
br label %35
35: ; preds = %34, %31, %25, %17, %11
%36 = load i32, ptr %2, align 4
ret i32 %36
}
declare i32 @write_whitney(i32 noundef, i32 noundef) #1
declare i32 @OS_udelay(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/tmpt9s1t42q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LLI2C_output_clock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %21
7: ; preds = %1
%8 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 1)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = load i32, ptr %4, align 4
store i32 %12, ptr %2, align 4
br label %35
13: ; preds = %7
%14 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 0)
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %2, align 4
br label %35
19: ; preds = %13
%20 = call i32 @OS_udelay(i32 noundef 5)
br label %34
21: ; preds = %1
%22 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 3)
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, ptr %4, align 4
store i32 %26, ptr %2, align 4
br label %35
27: ; preds = %21
%28 = call i32 @write_whitney(i32 noundef 20500, i32 noundef 2)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr %4, align 4
store i32 %32, ptr %2, align 4
br label %35
33: ; preds = %27
br label %34
34: ; preds = %33, %19
store i32 0, ptr %2, align 4
br label %35
35: ; preds = %34, %31, %25, %17, %11
%36 = load i32, ptr %2, align 4
ret i32 %36
}
declare i32 @write_whitney(i32 noundef, i32 noundef) #1
declare i32 @OS_udelay(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/tmpi8x5wb56.c'
source_filename = "/tmp/tmpi8x5wb56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LC_ALL\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"LC_CTYPE\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @locale_charset() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %36
12: ; preds = %6, %0
%13 = call ptr @getenv(ptr noundef @.str)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %35
22: ; preds = %16, %12
%23 = call ptr @getenv(ptr noundef @.str.1)
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %32, label %26
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %26, %22
%33 = call ptr @getenv(ptr noundef @.str.2)
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %32, %26
br label %35
35: ; preds = %34, %16
br label %36
36: ; preds = %35, %6
%37 = load ptr, ptr %3, align 8
store ptr %37, ptr %1, align 8
%38 = load ptr, ptr %1, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %41
40: ; preds = %36
store ptr @.str.3, ptr %1, align 8
br label %41
41: ; preds = %40, %36
%42 = call ptr (...) @get_charset_aliases()
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %73, %41
%44 = load ptr, ptr %2, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %86
48: ; preds = %43
%49 = load ptr, ptr %1, align 8
%50 = load ptr, ptr %2, align 8
%51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %65, label %53
53: ; preds = %48
%54 = load ptr, ptr %2, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 0
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 42
br i1 %58, label %59, label %72
59: ; preds = %53
%60 = load ptr, ptr %2, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 1
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %72
65: ; preds = %59, %48
%66 = load ptr, ptr %2, align 8
%67 = load ptr, ptr %2, align 8
%68 = call i32 @strlen(ptr noundef %67)
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = getelementptr inbounds i8, ptr %70, i64 1
store ptr %71, ptr %1, align 8
br label %86
72: ; preds = %59, %53
br label %73
73: ; preds = %72
%74 = load ptr, ptr %2, align 8
%75 = call i32 @strlen(ptr noundef %74)
%76 = add nsw i32 %75, 1
%77 = load ptr, ptr %2, align 8
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %77, i64 %78
store ptr %79, ptr %2, align 8
%80 = load ptr, ptr %2, align 8
%81 = call i32 @strlen(ptr noundef %80)
%82 = add nsw i32 %81, 1
%83 = load ptr, ptr %2, align 8
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds i8, ptr %83, i64 %84
store ptr %85, ptr %2, align 8
br label %43, !llvm.loop !6
86: ; preds = %65, %43
%87 = load ptr, ptr %1, align 8
ret ptr %87
}
declare ptr @getenv(ptr noundef) #1
declare ptr @get_charset_aliases(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi8x5wb56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"LC_ALL\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"LC_CTYPE\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"LANG\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @locale_charset() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %12, label %6
6: ; preds = %0
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %36
12: ; preds = %6, %0
%13 = call ptr @getenv(ptr noundef @.str)
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %35
22: ; preds = %16, %12
%23 = call ptr @getenv(ptr noundef @.str.1)
store ptr %23, ptr %3, align 8
%24 = load ptr, ptr %3, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %32, label %26
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %26, %22
%33 = call ptr @getenv(ptr noundef @.str.2)
store ptr %33, ptr %3, align 8
br label %34
34: ; preds = %32, %26
br label %35
35: ; preds = %34, %16
br label %36
36: ; preds = %35, %6
%37 = load ptr, ptr %3, align 8
store ptr %37, ptr %1, align 8
%38 = load ptr, ptr %1, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %41
40: ; preds = %36
store ptr @.str.3, ptr %1, align 8
br label %41
41: ; preds = %40, %36
%42 = call ptr (...) @get_charset_aliases()
store ptr %42, ptr %2, align 8
%43 = load ptr, ptr %2, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %41
br label %47
47: ; preds = %.lr.ph, %72
%48 = load ptr, ptr %1, align 8
%49 = load ptr, ptr %2, align 8
%50 = call i64 @strcmp(ptr noundef %48, ptr noundef %49)
%51 = icmp eq i64 %50, 0
br i1 %51, label %64, label %52
52: ; preds = %47
%53 = load ptr, ptr %2, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 0
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 42
br i1 %57, label %58, label %71
58: ; preds = %52
%59 = load ptr, ptr %2, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %71
64: ; preds = %58, %47
%65 = load ptr, ptr %2, align 8
%66 = load ptr, ptr %2, align 8
%67 = call i32 @strlen(ptr noundef %66)
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
%70 = getelementptr inbounds i8, ptr %69, i64 1
store ptr %70, ptr %1, align 8
br label %89
71: ; preds = %58, %52
br label %72
72: ; preds = %71
%73 = load ptr, ptr %2, align 8
%74 = call i32 @strlen(ptr noundef %73)
%75 = add nsw i32 %74, 1
%76 = load ptr, ptr %2, align 8
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i8, ptr %76, i64 %77
store ptr %78, ptr %2, align 8
%79 = load ptr, ptr %2, align 8
%80 = call i32 @strlen(ptr noundef %79)
%81 = add nsw i32 %80, 1
%82 = load ptr, ptr %2, align 8
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i8, ptr %82, i64 %83
store ptr %84, ptr %2, align 8
%85 = load ptr, ptr %2, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 0
br i1 %88, label %47, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %72
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %41
br label %89
89: ; preds = %.loopexit, %64
%90 = load ptr, ptr %1, align 8
ret ptr %90
}
declare ptr @getenv(ptr noundef) #1
declare ptr @get_charset_aliases(...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptrss7cw2.c'
source_filename = "/tmp/tmptrss7cw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xml_iconv_release(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @iconv_close(ptr noundef %5)
ret void
}
declare i32 @iconv_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptrss7cw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xml_iconv_release(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @iconv_close(ptr noundef %5)
ret void
}
declare i32 @iconv_close(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsre2_fjp.c'
source_filename = "/tmp/tmpsre2_fjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @InitCursor() #0 {
%1 = call i32 @EnableCursor(i32 noundef 1)
%2 = call i32 @SetCursorLocation(i32 noundef 6, i32 noundef 4)
ret void
}
declare i32 @EnableCursor(i32 noundef) #1
declare i32 @SetCursorLocation(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/tmpsre2_fjp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @InitCursor() #0 {
%1 = call i32 @EnableCursor(i32 noundef 1)
%2 = call i32 @SetCursorLocation(i32 noundef 6, i32 noundef 4)
ret void
}
declare i32 @EnableCursor(i32 noundef) #1
declare i32 @SetCursorLocation(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/tmpkayzllg0.c'
source_filename = "/tmp/tmpkayzllg0.c"
target datalayout = "e-m:e-p270: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/tmpkayzllg0.c"
target datalayout = "e-m:e-p270: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/tmpywn0j9vk.c'
source_filename = "/tmp/tmpywn0j9vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OCSP_RESPBYTES_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OCSP_RESPBYTES_free(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 @ASN1_item_free(ptr noundef %3, ptr noundef @OCSP_RESPBYTES_it)
ret void
}
declare i32 @ASN1_item_free(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/tmpywn0j9vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@OCSP_RESPBYTES_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OCSP_RESPBYTES_free(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 @ASN1_item_free(ptr noundef %3, ptr noundef @OCSP_RESPBYTES_it)
ret void
}
declare i32 @ASN1_item_free(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/tmp8hgrqhgh.c'
source_filename = "/tmp/tmp8hgrqhgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias 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
%9 = 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
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %12
12: ; preds = %24, %3
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %16, label %27
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
store i8 %20, ptr %23, align 1
br label %24
24: ; preds = %16
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8hgrqhgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias 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
%9 = 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
%10 = load ptr, ptr %4, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
store i64 0, ptr %9, align 8
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %.lr.ph, label %29
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load ptr, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
store i8 %19, ptr %22, align 1
br label %23
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %3
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnnzts95m.c'
source_filename = "/tmp/tmpnnzts95m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_index_delete_all(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, 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
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store double %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 1
br i1 %24, label %25, label %27
25: ; preds = %7
%26 = load ptr, ptr %12, align 8
store i32 0, ptr %26, align 4
br label %227
27: ; preds = %7
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @i4vec_copy(i32 noundef %28, ptr noundef %29, ptr noundef %30)
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %9, align 8
%34 = load ptr, ptr %13, align 8
%35 = call i32 @r8vec_copy(i32 noundef %32, ptr noundef %33, ptr noundef %34)
%36 = load i32, ptr %8, align 4
%37 = load ptr, ptr %12, align 8
store i32 %36, ptr %37, align 4
%38 = load ptr, ptr %12, align 8
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %13, align 8
%41 = load ptr, ptr %14, align 8
%42 = load double, ptr %11, align 8
%43 = call i32 @r8vec_index_search(i32 noundef %39, ptr noundef %40, ptr noundef %41, double noundef %42, ptr noundef %20, ptr noundef %15, ptr noundef %21)
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %27
br label %227
47: ; preds = %27
%48 = load i32, ptr %15, align 4
store i32 %48, ptr %16, align 4
br label %49
49: ; preds = %68, %47
%50 = load i32, ptr %16, align 4
%51 = icmp sle i32 %50, 1
br i1 %51, label %52, label %53
52: ; preds = %49
br label %71
53: ; preds = %49
%54 = load ptr, ptr %13, align 8
%55 = load ptr, ptr %14, align 8
%56 = load i32, ptr %16, align 4
%57 = sub nsw i32 %56, 2
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %55, i64 %58
%60 = load i32, ptr %59, align 4
%61 = sub nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %54, i64 %62
%64 = load double, ptr %63, align 8
%65 = load double, ptr %11, align 8
%66 = fcmp une double %64, %65
br i1 %66, label %67, label %68
67: ; preds = %53
br label %71
68: ; preds = %53
%69 = load i32, ptr %16, align 4
%70 = sub nsw i32 %69, 1
store i32 %70, ptr %16, align 4
br label %49
71: ; preds = %67, %52
%72 = load i32, ptr %15, align 4
store i32 %72, ptr %17, align 4
br label %73
73: ; preds = %93, %71
%74 = load ptr, ptr %12, align 8
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %17, align 4
%77 = icmp sle i32 %75, %76
br i1 %77, label %78, label %79
78: ; preds = %73
br label %96
79: ; preds = %73
%80 = load ptr, ptr %13, align 8
%81 = load ptr, ptr %14, align 8
%82 = load i32, ptr %17, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %80, i64 %87
%89 = load double, ptr %88, align 8
%90 = load double, ptr %11, align 8
%91 = fcmp une double %89, %90
br i1 %91, label %92, label %93
92: ; preds = %79
br label %96
93: ; preds = %79
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %17, align 4
br label %73
96: ; preds = %92, %78
store i32 0, ptr %22, align 4
store i32 1, ptr %18, align 4
br label %97
97: ; preds = %126, %96
%98 = load i32, ptr %18, align 4
%99 = load ptr, ptr %12, align 8
%100 = load i32, ptr %99, align 4
%101 = icmp sle i32 %98, %100
br i1 %101, label %102, label %129
102: ; preds = %97
%103 = load ptr, ptr %13, align 8
%104 = load i32, ptr %18, align 4
%105 = sub nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %103, i64 %106
%108 = load double, ptr %107, align 8
%109 = load double, ptr %11, align 8
%110 = fcmp une double %108, %109
br i1 %110, label %111, label %125
111: ; preds = %102
%112 = load i32, ptr %22, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %22, align 4
%114 = load ptr, ptr %13, align 8
%115 = load i32, ptr %18, align 4
%116 = sub nsw i32 %115, 1
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %114, i64 %117
%119 = load double, ptr %118, align 8
%120 = load ptr, ptr %13, align 8
%121 = load i32, ptr %22, align 4
%122 = sub nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %120, i64 %123
store double %119, ptr %124, align 8
br label %125
125: ; preds = %111, %102
br label %126
126: ; preds = %125
%127 = load i32, ptr %18, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %18, align 4
br label %97, !llvm.loop !6
129: ; preds = %97
%130 = load i32, ptr %16, align 4
store i32 %130, ptr %15, align 4
br label %131
131: ; preds = %173, %129
%132 = load i32, ptr %15, align 4
%133 = load i32, ptr %17, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %135, label %176
135: ; preds = %131
store i32 1, ptr %19, align 4
br label %136
136: ; preds = %169, %135
%137 = load i32, ptr %19, align 4
%138 = load ptr, ptr %12, align 8
%139 = load i32, ptr %138, align 4
%140 = icmp sle i32 %137, %139
br i1 %140, label %141, label %172
141: ; preds = %136
%142 = load ptr, ptr %14, align 8
%143 = load i32, ptr %15, align 4
%144 = sub nsw i32 %143, 1
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i32, ptr %142, i64 %145
%147 = load i32, ptr %146, align 4
%148 = load ptr, ptr %14, align 8
%149 = load i32, ptr %19, align 4
%150 = sub nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %148, i64 %151
%153 = load i32, ptr %152, align 4
%154 = icmp slt i32 %147, %153
br i1 %154, label %155, label %168
155: ; preds = %141
%156 = load ptr, ptr %14, align 8
%157 = load i32, ptr %19, align 4
%158 = sub nsw i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %156, i64 %159
%161 = load i32, ptr %160, align 4
%162 = sub nsw i32 %161, 1
%163 = load ptr, ptr %14, align 8
%164 = load i32, ptr %19, align 4
%165 = sub nsw i32 %164, 1
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds i32, ptr %163, i64 %166
store i32 %162, ptr %167, align 4
br label %168
168: ; preds = %155, %141
br label %169
169: ; preds = %168
%170 = load i32, ptr %19, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %19, align 4
br label %136, !llvm.loop !8
172: ; preds = %136
br label %173
173: ; preds = %172
%174 = load i32, ptr %15, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %15, align 4
br label %131, !llvm.loop !9
176: ; preds = %131
store i32 0, ptr %19, align 4
br label %177
177: ; preds = %200, %176
%178 = load i32, ptr %19, align 4
%179 = load ptr, ptr %12, align 8
%180 = load i32, ptr %179, align 4
%181 = load i32, ptr %17, align 4
%182 = sub nsw i32 %180, %181
%183 = sub nsw i32 %182, 1
%184 = icmp sle i32 %178, %183
br i1 %184, label %185, label %203
185: ; preds = %177
%186 = load ptr, ptr %14, align 8
%187 = load i32, ptr %17, align 4
%188 = load i32, ptr %19, align 4
%189 = add nsw i32 %187, %188
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i32, ptr %186, i64 %190
%192 = load i32, ptr %191, align 4
%193 = load ptr, ptr %14, align 8
%194 = load i32, ptr %16, align 4
%195 = load i32, ptr %19, align 4
%196 = add nsw i32 %194, %195
%197 = sub nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds i32, ptr %193, i64 %198
store i32 %192, ptr %199, align 4
br label %200
200: ; preds = %185
%201 = load i32, ptr %19, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %19, align 4
br label %177, !llvm.loop !10
203: ; preds = %177
%204 = load ptr, ptr %12, align 8
%205 = load i32, ptr %204, align 4
%206 = load i32, ptr %16, align 4
%207 = add nsw i32 %205, %206
%208 = load i32, ptr %17, align 4
%209 = sub nsw i32 %207, %208
store i32 %209, ptr %19, align 4
br label %210
210: ; preds = %221, %203
%211 = load i32, ptr %19, align 4
%212 = load ptr, ptr %12, align 8
%213 = load i32, ptr %212, align 4
%214 = icmp sle i32 %211, %213
br i1 %214, label %215, label %224
215: ; preds = %210
%216 = load ptr, ptr %14, align 8
%217 = load i32, ptr %19, align 4
%218 = sub nsw i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i32, ptr %216, i64 %219
store i32 0, ptr %220, align 4
br label %221
221: ; preds = %215
%222 = load i32, ptr %19, align 4
%223 = add nsw i32 %222, 1
store i32 %223, ptr %19, align 4
br label %210, !llvm.loop !11
224: ; preds = %210
%225 = load i32, ptr %22, align 4
%226 = load ptr, ptr %12, align 8
store i32 %225, ptr %226, align 4
br label %227
227: ; preds = %224, %46, %25
ret void
}
declare i32 @i4vec_copy(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @r8vec_copy(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @r8vec_index_search(i32 noundef, ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnnzts95m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_index_delete_all(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, 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
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store double %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %23, 1
br i1 %24, label %25, label %27
25: ; preds = %7
%26 = load ptr, ptr %12, align 8
store i32 0, ptr %26, align 4
br label %248
27: ; preds = %7
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @i4vec_copy(i32 noundef %28, ptr noundef %29, ptr noundef %30)
%32 = load i32, ptr %8, align 4
%33 = load ptr, ptr %9, align 8
%34 = load ptr, ptr %13, align 8
%35 = call i32 @r8vec_copy(i32 noundef %32, ptr noundef %33, ptr noundef %34)
%36 = load i32, ptr %8, align 4
%37 = load ptr, ptr %12, align 8
store i32 %36, ptr %37, align 4
%38 = load ptr, ptr %12, align 8
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %13, align 8
%41 = load ptr, ptr %14, align 8
%42 = load double, ptr %11, align 8
%43 = call i32 @r8vec_index_search(i32 noundef %39, ptr noundef %40, ptr noundef %41, double noundef %42, ptr noundef %20, ptr noundef %15, ptr noundef %21)
%44 = load i32, ptr %15, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %27
br label %248
47: ; preds = %27
%48 = load i32, ptr %15, align 4
store i32 %48, ptr %16, align 4
%49 = load i32, ptr %16, align 4
%50 = icmp sle i32 %49, 1
br i1 %50, label %51, label %.lr.ph
.lr.ph: ; preds = %47
br label %52
._crit_edge: ; preds = %67
br label %51
51: ; preds = %._crit_edge, %47
br label %72
52: ; preds = %.lr.ph, %67
%53 = load ptr, ptr %13, align 8
%54 = load ptr, ptr %14, align 8
%55 = load i32, ptr %16, align 4
%56 = sub nsw i32 %55, 2
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %54, i64 %57
%59 = load i32, ptr %58, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %53, i64 %61
%63 = load double, ptr %62, align 8
%64 = load double, ptr %11, align 8
%65 = fcmp une double %63, %64
br i1 %65, label %66, label %67
66: ; preds = %52
br label %72
67: ; preds = %52
%68 = load i32, ptr %16, align 4
%69 = sub nsw i32 %68, 1
store i32 %69, ptr %16, align 4
%70 = load i32, ptr %16, align 4
%71 = icmp sle i32 %70, 1
br i1 %71, label %._crit_edge, label %52
72: ; preds = %66, %51
%73 = load i32, ptr %15, align 4
store i32 %73, ptr %17, align 4
%74 = load ptr, ptr %12, align 8
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %17, align 4
%77 = icmp sle i32 %75, %76
br i1 %77, label %78, label %.lr.ph2
.lr.ph2: ; preds = %72
br label %79
._crit_edge3: ; preds = %93
br label %78
78: ; preds = %._crit_edge3, %72
br label %100
79: ; preds = %.lr.ph2, %93
%80 = load ptr, ptr %13, align 8
%81 = load ptr, ptr %14, align 8
%82 = load i32, ptr %17, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %80, i64 %87
%89 = load double, ptr %88, align 8
%90 = load double, ptr %11, align 8
%91 = fcmp une double %89, %90
br i1 %91, label %92, label %93
92: ; preds = %79
br label %100
93: ; preds = %79
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %17, align 4
%96 = load ptr, ptr %12, align 8
%97 = load i32, ptr %96, align 4
%98 = load i32, ptr %17, align 4
%99 = icmp sle i32 %97, %98
br i1 %99, label %._crit_edge3, label %79
100: ; preds = %92, %78
store i32 0, ptr %22, align 4
store i32 1, ptr %18, align 4
%101 = load i32, ptr %18, align 4
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %102, align 4
%104 = icmp sle i32 %101, %103
br i1 %104, label %.lr.ph5, label %136
.lr.ph5: ; preds = %100
br label %105
105: ; preds = %.lr.ph5, %129
%106 = load ptr, ptr %13, align 8
%107 = load i32, ptr %18, align 4
%108 = sub nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %106, i64 %109
%111 = load double, ptr %110, align 8
%112 = load double, ptr %11, align 8
%113 = fcmp une double %111, %112
br i1 %113, label %114, label %128
114: ; preds = %105
%115 = load i32, ptr %22, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %22, align 4
%117 = load ptr, ptr %13, align 8
%118 = load i32, ptr %18, align 4
%119 = sub nsw i32 %118, 1
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %117, i64 %120
%122 = load double, ptr %121, align 8
%123 = load ptr, ptr %13, align 8
%124 = load i32, ptr %22, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %123, i64 %126
store double %122, ptr %127, align 8
br label %128
128: ; preds = %114, %105
br label %129
129: ; preds = %128
%130 = load i32, ptr %18, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %18, align 4
%132 = load i32, ptr %18, align 4
%133 = load ptr, ptr %12, align 8
%134 = load i32, ptr %133, align 4
%135 = icmp sle i32 %132, %134
br i1 %135, label %105, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %129
br label %136
136: ; preds = %._crit_edge6, %100
%137 = load i32, ptr %16, align 4
store i32 %137, ptr %15, align 4
%138 = load i32, ptr %15, align 4
%139 = load i32, ptr %17, align 4
%140 = icmp sle i32 %138, %139
br i1 %140, label %.lr.ph11, label %188
.lr.ph11: ; preds = %136
br label %141
141: ; preds = %.lr.ph11, %182
store i32 1, ptr %19, align 4
%142 = load i32, ptr %19, align 4
%143 = load ptr, ptr %12, align 8
%144 = load i32, ptr %143, align 4
%145 = icmp sle i32 %142, %144
br i1 %145, label %.lr.ph8, label %181
.lr.ph8: ; preds = %141
br label %146
146: ; preds = %.lr.ph8, %174
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %15, align 4
%149 = sub nsw i32 %148, 1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i32, ptr %147, i64 %150
%152 = load i32, ptr %151, align 4
%153 = load ptr, ptr %14, align 8
%154 = load i32, ptr %19, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %153, i64 %156
%158 = load i32, ptr %157, align 4
%159 = icmp slt i32 %152, %158
br i1 %159, label %160, label %173
160: ; preds = %146
%161 = load ptr, ptr %14, align 8
%162 = load i32, ptr %19, align 4
%163 = sub nsw i32 %162, 1
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i32, ptr %161, i64 %164
%166 = load i32, ptr %165, align 4
%167 = sub nsw i32 %166, 1
%168 = load ptr, ptr %14, align 8
%169 = load i32, ptr %19, align 4
%170 = sub nsw i32 %169, 1
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %168, i64 %171
store i32 %167, ptr %172, align 4
br label %173
173: ; preds = %160, %146
br label %174
174: ; preds = %173
%175 = load i32, ptr %19, align 4
%176 = add nsw i32 %175, 1
store i32 %176, ptr %19, align 4
%177 = load i32, ptr %19, align 4
%178 = load ptr, ptr %12, align 8
%179 = load i32, ptr %178, align 4
%180 = icmp sle i32 %177, %179
br i1 %180, label %146, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %174
br label %181
181: ; preds = %._crit_edge9, %141
br label %182
182: ; preds = %181
%183 = load i32, ptr %15, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %15, align 4
%185 = load i32, ptr %15, align 4
%186 = load i32, ptr %17, align 4
%187 = icmp sle i32 %185, %186
br i1 %187, label %141, label %._crit_edge12, !llvm.loop !9
._crit_edge12: ; preds = %182
br label %188
188: ; preds = %._crit_edge12, %136
store i32 0, ptr %19, align 4
%189 = load i32, ptr %19, align 4
%190 = load ptr, ptr %12, align 8
%191 = load i32, ptr %190, align 4
%192 = load i32, ptr %17, align 4
%193 = sub nsw i32 %191, %192
%194 = sub nsw i32 %193, 1
%195 = icmp sle i32 %189, %194
br i1 %195, label %.lr.ph14, label %221
.lr.ph14: ; preds = %188
br label %196
196: ; preds = %.lr.ph14, %211
%197 = load ptr, ptr %14, align 8
%198 = load i32, ptr %17, align 4
%199 = load i32, ptr %19, align 4
%200 = add nsw i32 %198, %199
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i32, ptr %197, i64 %201
%203 = load i32, ptr %202, align 4
%204 = load ptr, ptr %14, align 8
%205 = load i32, ptr %16, align 4
%206 = load i32, ptr %19, align 4
%207 = add nsw i32 %205, %206
%208 = sub nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i32, ptr %204, i64 %209
store i32 %203, ptr %210, align 4
br label %211
211: ; preds = %196
%212 = load i32, ptr %19, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %19, align 4
%214 = load i32, ptr %19, align 4
%215 = load ptr, ptr %12, align 8
%216 = load i32, ptr %215, align 4
%217 = load i32, ptr %17, align 4
%218 = sub nsw i32 %216, %217
%219 = sub nsw i32 %218, 1
%220 = icmp sle i32 %214, %219
br i1 %220, label %196, label %._crit_edge15, !llvm.loop !10
._crit_edge15: ; preds = %211
br label %221
221: ; preds = %._crit_edge15, %188
%222 = load ptr, ptr %12, align 8
%223 = load i32, ptr %222, align 4
%224 = load i32, ptr %16, align 4
%225 = add nsw i32 %223, %224
%226 = load i32, ptr %17, align 4
%227 = sub nsw i32 %225, %226
store i32 %227, ptr %19, align 4
%228 = load i32, ptr %19, align 4
%229 = load ptr, ptr %12, align 8
%230 = load i32, ptr %229, align 4
%231 = icmp sle i32 %228, %230
br i1 %231, label %.lr.ph17, label %245
.lr.ph17: ; preds = %221
br label %232
232: ; preds = %.lr.ph17, %238
%233 = load ptr, ptr %14, align 8
%234 = load i32, ptr %19, align 4
%235 = sub nsw i32 %234, 1
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds i32, ptr %233, i64 %236
store i32 0, ptr %237, align 4
br label %238
238: ; preds = %232
%239 = load i32, ptr %19, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %19, align 4
%241 = load i32, ptr %19, align 4
%242 = load ptr, ptr %12, align 8
%243 = load i32, ptr %242, align 4
%244 = icmp sle i32 %241, %243
br i1 %244, label %232, label %._crit_edge18, !llvm.loop !11
._crit_edge18: ; preds = %238
br label %245
245: ; preds = %._crit_edge18, %221
%246 = load i32, ptr %22, align 4
%247 = load ptr, ptr %12, align 8
store i32 %246, ptr %247, align 4
br label %248
248: ; preds = %245, %46, %25
ret void
}
declare i32 @i4vec_copy(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @r8vec_copy(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @r8vec_index_search(i32 noundef, ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpqmjy6mfq.c'
source_filename = "/tmp/tmpqmjy6mfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmjy6mfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt1rj5qzw.c'
source_filename = "/tmp/tmpt1rj5qzw.c"
target datalayout = "e-m:e-p270: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, ptr, i32 }
@.str = private unnamed_addr constant [54 x i8] c"usage: %s [<listening-port>] <dest-addr> <dest-port>\0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"set broadcast failed\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"128.1.1.1\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"inet_aton failed (%s)\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"bye\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 8
%10 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 4
br i1 %15, label %16, label %21
16: ; preds = %13, %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %19)
store i32 0, ptr %3, align 4
br label %121
21: ; preds = %13
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 4
br i1 %23, label %24, label %31
24: ; preds = %21
%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 @atoi(ptr noundef %27)
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i32 1
store ptr %30, ptr %5, align 8
br label %32
31: ; preds = %21
store i32 9999, ptr %8, align 4
br label %32
32: ; preds = %31, %24
%33 = load i32, ptr @PF_INET, align 4
%34 = load i32, ptr @SOCK_DGRAM, align 4
%35 = call i32 @socket(i32 noundef %33, i32 noundef %34, i32 noundef 0)
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %32
%39 = call i32 (ptr, ...) @panic(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %32
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @SOL_SOCKET, align 4
%43 = load i32, ptr @SO_BROADCAST, align 4
%44 = call i64 @setsockopt(i32 noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef %6, i32 noundef 4)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = call i32 (ptr, ...) @panic(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %40
%49 = call i32 @bzero(ptr noundef %9, i32 noundef 24)
%50 = load i32, ptr @AF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %50, ptr %51, align 8
%52 = load i32, ptr %8, align 4
%53 = call ptr @htons(i32 noundef %52)
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store ptr %53, ptr %54, align 8
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%56 = call i64 @inet_aton(ptr noundef @.str.3, ptr noundef %55)
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %48
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 1
%61 = load ptr, ptr %60, align 8
%62 = call i32 (ptr, ...) @panic(ptr noundef @.str.4, ptr noundef %61)
br label %63
63: ; preds = %58, %48
%64 = load i32, ptr %7, align 4
%65 = call i64 @bind(i32 noundef %64, ptr noundef %9, i32 noundef 24)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (ptr, ...) @panic(ptr noundef @.str.5)
br label %69
69: ; preds = %67, %63
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 2
%72 = load ptr, ptr %71, align 8
%73 = call i32 @atoi(ptr noundef %72)
%74 = call ptr @htons(i32 noundef %73)
%75 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store ptr %74, ptr %75, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 1
%78 = load ptr, ptr %77, align 8
%79 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%80 = call i64 @inet_aton(ptr noundef %78, ptr noundef %79)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %69
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 1
%85 = load ptr, ptr %84, align 8
%86 = call i32 (ptr, ...) @panic(ptr noundef @.str.4, ptr noundef %85)
br label %87
87: ; preds = %82, %69
%88 = call i64 (...) @fork()
%89 = icmp ne i64 %88, 0
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load i32, ptr %7, align 4
%92 = call i32 @Receiver(i32 noundef %91)
br label %96
93: ; preds = %87
%94 = load i32, ptr %7, align 4
%95 = call i32 @shutdown(i32 noundef %94, i32 noundef 0)
br label %96
96: ; preds = %93, %90
br label %97
97: ; preds = %113, %96
%98 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%99 = load i32, ptr @stdin, align 4
%100 = call i32 @fgets(ptr noundef %98, i32 noundef 1024, i32 noundef %99)
%101 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%102 = call i32 @strtrim(ptr noundef %101)
%103 = load i32, ptr %7, align 4
%104 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%105 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%106 = call i64 @strlen(ptr noundef %105)
%107 = add nsw i64 %106, 1
%108 = call i64 @sendto(i32 noundef %103, ptr noundef %104, i64 noundef %107, i32 noundef 0, ptr noundef %9, i32 noundef 24)
%109 = icmp slt i64 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %97
%111 = call i32 @perror(ptr noundef @.str.6)
br label %112
112: ; preds = %110, %97
br label %113
113: ; preds = %112
%114 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%115 = call i64 @strcmp(ptr noundef %114, ptr noundef @.str.7)
%116 = icmp ne i64 %115, 0
br i1 %116, label %97, label %117, !llvm.loop !6
117: ; preds = %113
%118 = call i32 @wait(i32 noundef 0)
%119 = load i32, ptr %7, align 4
%120 = call i32 @close(i32 noundef %119)
store i32 0, ptr %3, align 4
br label %121
121: ; preds = %117, %16
%122 = load i32, ptr %3, align 4
ret i32 %122
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @panic(ptr noundef, ...) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @Receiver(i32 noundef) #1
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strtrim(ptr noundef) #1
declare i64 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @wait(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/tmpt1rj5qzw.c"
target datalayout = "e-m:e-p270: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, ptr, i32 }
@.str = private unnamed_addr constant [54 x i8] c"usage: %s [<listening-port>] <dest-addr> <dest-port>\0A\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [21 x i8] c"set broadcast failed\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"128.1.1.1\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"inet_aton failed (%s)\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"bind failed\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"sendto\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"bye\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 8
%10 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %16, label %13
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 4
br i1 %15, label %16, label %21
16: ; preds = %13, %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @printf(ptr noundef @.str, ptr noundef %19)
store i32 0, ptr %3, align 4
br label %121
21: ; preds = %13
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 4
br i1 %23, label %24, label %31
24: ; preds = %21
%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 @atoi(ptr noundef %27)
store i32 %28, ptr %8, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i32 1
store ptr %30, ptr %5, align 8
br label %32
31: ; preds = %21
store i32 9999, ptr %8, align 4
br label %32
32: ; preds = %31, %24
%33 = load i32, ptr @PF_INET, align 4
%34 = load i32, ptr @SOCK_DGRAM, align 4
%35 = call i32 @socket(i32 noundef %33, i32 noundef %34, i32 noundef 0)
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %32
%39 = call i32 (ptr, ...) @panic(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %32
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @SOL_SOCKET, align 4
%43 = load i32, ptr @SO_BROADCAST, align 4
%44 = call i64 @setsockopt(i32 noundef %41, i32 noundef %42, i32 noundef %43, ptr noundef %6, i32 noundef 4)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = call i32 (ptr, ...) @panic(ptr noundef @.str.2)
br label %48
48: ; preds = %46, %40
%49 = call i32 @bzero(ptr noundef %9, i32 noundef 24)
%50 = load i32, ptr @AF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %50, ptr %51, align 8
%52 = load i32, ptr %8, align 4
%53 = call ptr @htons(i32 noundef %52)
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store ptr %53, ptr %54, align 8
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%56 = call i64 @inet_aton(ptr noundef @.str.3, ptr noundef %55)
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %63
58: ; preds = %48
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 1
%61 = load ptr, ptr %60, align 8
%62 = call i32 (ptr, ...) @panic(ptr noundef @.str.4, ptr noundef %61)
br label %63
63: ; preds = %58, %48
%64 = load i32, ptr %7, align 4
%65 = call i64 @bind(i32 noundef %64, ptr noundef %9, i32 noundef 24)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (ptr, ...) @panic(ptr noundef @.str.5)
br label %69
69: ; preds = %67, %63
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 2
%72 = load ptr, ptr %71, align 8
%73 = call i32 @atoi(ptr noundef %72)
%74 = call ptr @htons(i32 noundef %73)
%75 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store ptr %74, ptr %75, align 8
%76 = load ptr, ptr %5, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 1
%78 = load ptr, ptr %77, align 8
%79 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%80 = call i64 @inet_aton(ptr noundef %78, ptr noundef %79)
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %87
82: ; preds = %69
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 1
%85 = load ptr, ptr %84, align 8
%86 = call i32 (ptr, ...) @panic(ptr noundef @.str.4, ptr noundef %85)
br label %87
87: ; preds = %82, %69
%88 = call i64 (...) @fork()
%89 = icmp ne i64 %88, 0
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load i32, ptr %7, align 4
%92 = call i32 @Receiver(i32 noundef %91)
br label %96
93: ; preds = %87
%94 = load i32, ptr %7, align 4
%95 = call i32 @shutdown(i32 noundef %94, i32 noundef 0)
br label %96
96: ; preds = %93, %90
%97 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
br label %98
98: ; preds = %114, %96
%99 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%100 = load i32, ptr @stdin, align 4
%101 = call i32 @fgets(ptr noundef %99, i32 noundef 1024, i32 noundef %100)
%102 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%103 = call i32 @strtrim(ptr noundef %102)
%104 = load i32, ptr %7, align 4
%105 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%106 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0
%107 = call i64 @strlen(ptr noundef %106)
%108 = add nsw i64 %107, 1
%109 = call i64 @sendto(i32 noundef %104, ptr noundef %105, i64 noundef %108, i32 noundef 0, ptr noundef %9, i32 noundef 24)
%110 = icmp slt i64 %109, 0
br i1 %110, label %111, label %113
111: ; preds = %98
%112 = call i32 @perror(ptr noundef @.str.6)
br label %113
113: ; preds = %111, %98
br label %114
114: ; preds = %113
%115 = call i64 @strcmp(ptr noundef %97, ptr noundef @.str.7)
%116 = icmp ne i64 %115, 0
br i1 %116, label %98, label %117, !llvm.loop !6
117: ; preds = %114
%118 = call i32 @wait(i32 noundef 0)
%119 = load i32, ptr %7, align 4
%120 = call i32 @close(i32 noundef %119)
store i32 0, ptr %3, align 4
br label %121
121: ; preds = %117, %16
%122 = load i32, ptr %3, align 4
ret i32 %122
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @panic(ptr noundef, ...) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare ptr @htons(i32 noundef) #1
declare i64 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @Receiver(i32 noundef) #1
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strtrim(ptr noundef) #1
declare i64 @sendto(i32 noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @wait(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/tmpm7rss1pp.c'
source_filename = "/tmp/tmpm7rss1pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_GET_NAME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@PR_SET_NAME = 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 [80 x i8], align 16
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PR_GET_NAME, align 4
%4 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%5 = ptrtoint ptr %4 to i64
%6 = call i32 @xprctl(i32 noundef %3, i64 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%7 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @PR_SET_NAME, align 4
%12 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%13 = ptrtoint ptr %12 to i64
%14 = call i32 @xprctl(i32 noundef %11, i64 noundef %13, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%15 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %17, %0
br label %17
}
declare i32 @xprctl(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm7rss1pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PR_GET_NAME = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@PR_SET_NAME = 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 [80 x i8], align 16
store i32 0, ptr %1, align 4
%3 = load i32, ptr @PR_GET_NAME, align 4
%4 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%5 = ptrtoint ptr %4 to i64
%6 = call i32 @xprctl(i32 noundef %3, i64 noundef %5, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%7 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @strcpy(ptr noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @PR_SET_NAME, align 4
%12 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%13 = ptrtoint ptr %12 to i64
%14 = call i32 @xprctl(i32 noundef %11, i64 noundef %13, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%15 = getelementptr inbounds [80 x i8], ptr %2, i64 0, i64 0
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %17, %0
br label %17
}
declare i32 @xprctl(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp10wb0n9b.c'
source_filename = "/tmp/tmp10wb0n9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mlnL(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%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 i32, align 4
%11 = alloca double, align 8
%12 = alloca double, 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 %3, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = fadd double %17, %22
%24 = call double @log(double noundef 5.000000e-01) #3
%25 = fmul double %23, %24
store double %25, ptr %11, align 8
store i32 1, ptr %9, align 4
br label %26
26: ; preds = %50, %4
%27 = load i32, ptr %9, align 4
%28 = sitofp i32 %27 to double
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 0
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds double, ptr %31, i64 0
%33 = load double, ptr %32, align 8
%34 = fcmp ole double %28, %33
br i1 %34, label %35, label %53
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds ptr, ptr %37, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %8, align 4
%43 = call double @rxn_coor(ptr noundef %36, ptr noundef %41, i32 noundef %42)
store double %43, ptr %12, align 8
%44 = load double, ptr %11, align 8
%45 = load double, ptr %12, align 8
%46 = call double @tanh(double noundef %45) #3
%47 = fsub double 1.000000e+00, %46
%48 = call double @log(double noundef %47) #3
%49 = fadd double %44, %48
store double %49, ptr %11, align 8
br label %50
50: ; preds = %35
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
br label %26, !llvm.loop !6
53: ; preds = %26
store i32 1, ptr %9, align 4
br label %54
54: ; preds = %78, %53
%55 = load i32, ptr %9, align 4
%56 = sitofp i32 %55 to double
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 0
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds double, ptr %59, i64 0
%61 = load double, ptr %60, align 8
%62 = fcmp ole double %56, %61
br i1 %62, label %63, label %81
63: ; preds = %54
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %8, align 4
%71 = call double @rxn_coor(ptr noundef %64, ptr noundef %69, i32 noundef %70)
store double %71, ptr %12, align 8
%72 = load double, ptr %11, align 8
%73 = load double, ptr %12, align 8
%74 = call double @tanh(double noundef %73) #3
%75 = fadd double 1.000000e+00, %74
%76 = call double @log(double noundef %75) #3
%77 = fadd double %72, %76
store double %77, ptr %11, align 8
br label %78
78: ; preds = %63
%79 = load i32, ptr %9, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %9, align 4
br label %54, !llvm.loop !8
81: ; preds = %54
%82 = load double, ptr %11, align 8
%83 = fneg double %82
ret double %83
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @rxn_coor(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nounwind
declare double @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp10wb0n9b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mlnL(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%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 i32, align 4
%11 = alloca double, align 8
%12 = alloca double, 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 %3, ptr %8, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = getelementptr inbounds double, ptr %20, i64 0
%22 = load double, ptr %21, align 8
%23 = fadd double %17, %22
%24 = call double @log(double noundef 5.000000e-01) #3
%25 = fmul double %23, %24
store double %25, ptr %11, align 8
store i32 1, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = sitofp i32 %26 to double
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %28, align 8
%30 = load double, ptr %29, align 8
%31 = fcmp ole double %27, %30
br i1 %31, label %.lr.ph, label %58
.lr.ph: ; preds = %4
br label %32
32: ; preds = %.lr.ph, %47
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %8, align 4
%40 = call double @rxn_coor(ptr noundef %33, ptr noundef %38, i32 noundef %39)
store double %40, ptr %12, align 8
%41 = load double, ptr %11, align 8
%42 = load double, ptr %12, align 8
%43 = call double @tanh(double noundef %42) #3
%44 = fsub double 1.000000e+00, %43
%45 = call double @log(double noundef %44) #3
%46 = fadd double %41, %45
store double %46, ptr %11, align 8
br label %47
47: ; preds = %32
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = sitofp i32 %50 to double
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 0
%54 = load ptr, ptr %53, align 8
%55 = getelementptr inbounds double, ptr %54, i64 0
%56 = load double, ptr %55, align 8
%57 = fcmp ole double %51, %56
br i1 %57, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %58
58: ; preds = %._crit_edge, %4
store i32 1, ptr %9, align 4
%59 = load i32, ptr %9, align 4
%60 = sitofp i32 %59 to double
%61 = load ptr, ptr %7, align 8
%62 = load ptr, ptr %61, align 8
%63 = load double, ptr %62, align 8
%64 = fcmp ole double %60, %63
br i1 %64, label %.lr.ph2, label %91
.lr.ph2: ; preds = %58
br label %65
65: ; preds = %.lr.ph2, %80
%66 = load ptr, ptr %5, align 8
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %8, align 4
%73 = call double @rxn_coor(ptr noundef %66, ptr noundef %71, i32 noundef %72)
store double %73, ptr %12, align 8
%74 = load double, ptr %11, align 8
%75 = load double, ptr %12, align 8
%76 = call double @tanh(double noundef %75) #3
%77 = fadd double 1.000000e+00, %76
%78 = call double @log(double noundef %77) #3
%79 = fadd double %74, %78
store double %79, ptr %11, align 8
br label %80
80: ; preds = %65
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %9, align 4
%83 = load i32, ptr %9, align 4
%84 = sitofp i32 %83 to double
%85 = load ptr, ptr %7, align 8
%86 = getelementptr inbounds ptr, ptr %85, i64 0
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds double, ptr %87, i64 0
%89 = load double, ptr %88, align 8
%90 = fcmp ole double %84, %89
br i1 %90, label %65, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %91
91: ; preds = %._crit_edge3, %58
%92 = load double, ptr %11, align 8
%93 = fneg double %92
ret double %93
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
declare double @rxn_coor(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nounwind
declare double @tanh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsdl9uh3_.c'
source_filename = "/tmp/tmpsdl9uh3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca double, align 8
store volatile float 0x3FF4CCCCC0000000, ptr %1, align 4
store volatile double 2.500000e+00, ptr %2, align 8
store volatile float 3.500000e+00, ptr %3, align 4
store volatile double 4.500000e+00, ptr %4, align 8
%5 = load volatile float, ptr %1, align 4
%6 = call i32 @v_f(float noundef %5)
%7 = load volatile float, ptr %3, align 4
%8 = call i32 @v_f(float noundef %7)
%9 = load volatile double, ptr %2, align 8
%10 = call i32 @v_d(double noundef %9)
%11 = load volatile double, ptr %4, align 8
%12 = call i32 @v_d(double noundef %11)
%13 = load volatile float, ptr %1, align 4
%14 = load volatile float, ptr %3, align 4
%15 = call i32 @v_ff(float noundef %13, float noundef %14)
%16 = load volatile float, ptr %1, align 4
%17 = load volatile double, ptr %2, align 8
%18 = call i32 @v_fd(float noundef %16, double noundef %17)
%19 = load volatile double, ptr %4, align 8
%20 = load volatile float, ptr %1, align 4
%21 = call i32 @v_df(double noundef %19, float noundef %20)
%22 = load volatile double, ptr %2, align 8
%23 = load volatile double, ptr %4, align 8
%24 = call i32 @v_dd(double noundef %22, double noundef %23)
%25 = load volatile float, ptr %1, align 4
%26 = call i32 @i_f(float noundef %25)
%27 = load volatile float, ptr %3, align 4
%28 = call i32 @i_f(float noundef %27)
%29 = load volatile double, ptr %2, align 8
%30 = call i32 @i_d(double noundef %29)
%31 = load volatile double, ptr %4, align 8
%32 = call i32 @i_d(double noundef %31)
%33 = load volatile float, ptr %1, align 4
%34 = load volatile float, ptr %3, align 4
%35 = call i32 @i_ff(float noundef %33, float noundef %34)
%36 = load volatile float, ptr %1, align 4
%37 = load volatile double, ptr %2, align 8
%38 = call i32 @i_fd(float noundef %36, double noundef %37)
%39 = load volatile double, ptr %4, align 8
%40 = load volatile float, ptr %1, align 4
%41 = call i32 @i_df(double noundef %39, float noundef %40)
%42 = load volatile double, ptr %2, align 8
%43 = load volatile double, ptr %4, align 8
%44 = call i32 @i_dd(double noundef %42, double noundef %43)
ret i32 0
}
declare i32 @v_f(float noundef) #1
declare i32 @v_d(double noundef) #1
declare i32 @v_ff(float noundef, float noundef) #1
declare i32 @v_fd(float noundef, double noundef) #1
declare i32 @v_df(double noundef, float noundef) #1
declare i32 @v_dd(double noundef, double noundef) #1
declare i32 @i_f(float noundef) #1
declare i32 @i_d(double noundef) #1
declare i32 @i_ff(float noundef, float noundef) #1
declare i32 @i_fd(float noundef, double noundef) #1
declare i32 @i_df(double noundef, float noundef) #1
declare i32 @i_dd(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsdl9uh3_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 float, align 4
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca double, align 8
store volatile float 0x3FF4CCCCC0000000, ptr %1, align 4
store volatile double 2.500000e+00, ptr %2, align 8
store volatile float 3.500000e+00, ptr %3, align 4
store volatile double 4.500000e+00, ptr %4, align 8
%5 = load volatile float, ptr %1, align 4
%6 = call i32 @v_f(float noundef %5)
%7 = load volatile float, ptr %3, align 4
%8 = call i32 @v_f(float noundef %7)
%9 = load volatile double, ptr %2, align 8
%10 = call i32 @v_d(double noundef %9)
%11 = load volatile double, ptr %4, align 8
%12 = call i32 @v_d(double noundef %11)
%13 = load volatile float, ptr %1, align 4
%14 = load volatile float, ptr %3, align 4
%15 = call i32 @v_ff(float noundef %13, float noundef %14)
%16 = load volatile float, ptr %1, align 4
%17 = load volatile double, ptr %2, align 8
%18 = call i32 @v_fd(float noundef %16, double noundef %17)
%19 = load volatile double, ptr %4, align 8
%20 = load volatile float, ptr %1, align 4
%21 = call i32 @v_df(double noundef %19, float noundef %20)
%22 = load volatile double, ptr %2, align 8
%23 = load volatile double, ptr %4, align 8
%24 = call i32 @v_dd(double noundef %22, double noundef %23)
%25 = load volatile float, ptr %1, align 4
%26 = call i32 @i_f(float noundef %25)
%27 = load volatile float, ptr %3, align 4
%28 = call i32 @i_f(float noundef %27)
%29 = load volatile double, ptr %2, align 8
%30 = call i32 @i_d(double noundef %29)
%31 = load volatile double, ptr %4, align 8
%32 = call i32 @i_d(double noundef %31)
%33 = load volatile float, ptr %1, align 4
%34 = load volatile float, ptr %3, align 4
%35 = call i32 @i_ff(float noundef %33, float noundef %34)
%36 = load volatile float, ptr %1, align 4
%37 = load volatile double, ptr %2, align 8
%38 = call i32 @i_fd(float noundef %36, double noundef %37)
%39 = load volatile double, ptr %4, align 8
%40 = load volatile float, ptr %1, align 4
%41 = call i32 @i_df(double noundef %39, float noundef %40)
%42 = load volatile double, ptr %2, align 8
%43 = load volatile double, ptr %4, align 8
%44 = call i32 @i_dd(double noundef %42, double noundef %43)
ret i32 0
}
declare i32 @v_f(float noundef) #1
declare i32 @v_d(double noundef) #1
declare i32 @v_ff(float noundef, float noundef) #1
declare i32 @v_fd(float noundef, double noundef) #1
declare i32 @v_df(double noundef, float noundef) #1
declare i32 @v_dd(double noundef, double noundef) #1
declare i32 @i_f(float noundef) #1
declare i32 @i_d(double noundef) #1
declare i32 @i_ff(float noundef, float noundef) #1
declare i32 @i_fd(float noundef, double noundef) #1
declare i32 @i_df(double noundef, float noundef) #1
declare i32 @i_dd(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnb_8cvr3.c'
source_filename = "/tmp/tmpnb_8cvr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%ld.%ld.%ld.%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ipv4_print_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = lshr i32 %4, 0
%6 = load i32, ptr %2, align 4
%7 = and i32 %6, 65280
%8 = lshr i32 %7, 8
%9 = load i32, ptr %2, align 4
%10 = and i32 %9, 16711680
%11 = lshr i32 %10, 16
%12 = load i32, ptr %2, align 4
%13 = and i32 %12, -16777216
%14 = lshr i32 %13, 24
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14)
ret void
}
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/tmpnb_8cvr3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"%ld.%ld.%ld.%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ipv4_print_address(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = lshr i32 %4, 0
%6 = load i32, ptr %2, align 4
%7 = and i32 %6, 65280
%8 = lshr i32 %7, 8
%9 = load i32, ptr %2, align 4
%10 = and i32 %9, 16711680
%11 = lshr i32 %10, 16
%12 = load i32, ptr %2, align 4
%13 = and i32 %12, -16777216
%14 = lshr i32 %13, 24
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %8, i32 noundef %11, i32 noundef %14)
ret void
}
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/tmp0h84mqvz.c'
source_filename = "/tmp/tmp0h84mqvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"status_pipe\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Error opening named pipe\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Error reading named pipe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @action() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err(i32 noundef 6, ptr noundef @.str.1)
br label %8
8: ; preds = %6, %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @read(i32 noundef %9, ptr noundef %1, i32 noundef 1)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @err(i32 noundef 7, ptr noundef @.str.2)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load i8, ptr %1, align 1
ret i8 %17
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0h84mqvz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"status_pipe\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Error opening named pipe\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Error reading named pipe\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @action() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
%3 = load i32, ptr @O_RDONLY, align 4
%4 = call i32 @open(ptr noundef @.str, i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @err(i32 noundef 6, ptr noundef @.str.1)
br label %8
8: ; preds = %6, %0
%9 = load i32, ptr %2, align 4
%10 = call i32 @read(i32 noundef %9, ptr noundef %1, i32 noundef 1)
%11 = icmp eq i32 %10, -1
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @err(i32 noundef 7, ptr noundef @.str.2)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %2, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load i8, ptr %1, align 1
ret i8 %17
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwxz66087.c'
source_filename = "/tmp/tmpwxz66087.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doublerand() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = call i64 (...) @rand()
store i64 %7, ptr %3, align 8
%8 = call i64 (...) @rand()
store i64 %8, ptr %4, align 8
%9 = call i64 (...) @rand()
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %3, align 8
%11 = sub nsw i64 %10, 1073741824
%12 = sitofp i64 %11 to double
%13 = load i64, ptr %4, align 8
%14 = ashr i64 %13, 8
%15 = sitofp i64 %14 to double
%16 = call double @llvm.fmuladd.f64(double %12, double 0x4160000000000000, double %15)
store double %16, ptr %1, align 8
store i64 512, ptr %6, align 8
store double 2.000000e+00, ptr %2, align 8
br label %17
17: ; preds = %30, %0
%18 = load i64, ptr %6, align 8
%19 = icmp sle i64 %18, 131072
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = load i64, ptr %5, align 8
%22 = load i64, ptr %6, align 8
%23 = and i64 %21, %22
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = load double, ptr %2, align 8
%27 = load double, ptr %1, align 8
%28 = fmul double %27, %26
store double %28, ptr %1, align 8
br label %29
29: ; preds = %25, %20
br label %30
30: ; preds = %29
%31 = load i64, ptr %6, align 8
%32 = mul nsw i64 %31, 2
store i64 %32, ptr %6, align 8
%33 = load double, ptr %2, align 8
%34 = load double, ptr %2, align 8
%35 = fmul double %33, %34
store double %35, ptr %2, align 8
br label %17, !llvm.loop !6
36: ; preds = %17
%37 = load double, ptr %1, align 8
ret double %37
}
declare i64 @rand(...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwxz66087.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doublerand() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = call i64 (...) @rand()
store i64 %7, ptr %3, align 8
%8 = call i64 (...) @rand()
store i64 %8, ptr %4, align 8
%9 = call i64 (...) @rand()
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %3, align 8
%11 = sub nsw i64 %10, 1073741824
%12 = sitofp i64 %11 to double
%13 = load i64, ptr %4, align 8
%14 = ashr i64 %13, 8
%15 = sitofp i64 %14 to double
%16 = call double @llvm.fmuladd.f64(double %12, double 0x4160000000000000, double %15)
store double %16, ptr %1, align 8
store i64 512, ptr %6, align 8
store double 2.000000e+00, ptr %2, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp sle i64 %17, 131072
br i1 %18, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %29
%20 = load i64, ptr %5, align 8
%21 = load i64, ptr %6, align 8
%22 = and i64 %20, %21
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load double, ptr %2, align 8
%26 = load double, ptr %1, align 8
%27 = fmul double %26, %25
store double %27, ptr %1, align 8
br label %28
28: ; preds = %24, %19
br label %29
29: ; preds = %28
%30 = load i64, ptr %6, align 8
%31 = mul nsw i64 %30, 2
store i64 %31, ptr %6, align 8
%32 = load double, ptr %2, align 8
%33 = load double, ptr %2, align 8
%34 = fmul double %32, %33
store double %34, ptr %2, align 8
%35 = load i64, ptr %6, align 8
%36 = icmp sle i64 %35, 131072
br i1 %36, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %37
37: ; preds = %._crit_edge, %0
%38 = load double, ptr %1, align 8
ret double %38
}
declare i64 @rand(...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp60p2ioyp.c'
source_filename = "/tmp/tmp60p2ioyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"http:\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strrchr(ptr noundef %12, i8 noundef signext 47)
%14 = getelementptr inbounds i8, ptr %13, i64 1
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %8, align 8
store i32 80, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str, i32 noundef 7)
%21 = icmp ne i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %5
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 7
store ptr %24, ptr %6, align 8
br label %33
25: ; preds = %5
%26 = load ptr, ptr %6, align 8
%27 = call i32 @strncmp(ptr noundef %26, ptr noundef @.str.1, i32 noundef 5)
%28 = icmp ne i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 5
store ptr %31, ptr %6, align 8
br label %32
32: ; preds = %29, %25
br label %33
33: ; preds = %32, %22
%34 = load ptr, ptr %6, align 8
%35 = call ptr @strchr(ptr noundef %34, i8 noundef signext 47)
store ptr %35, ptr %11, align 8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %33
%39 = load ptr, ptr %9, align 8
%40 = load ptr, ptr %11, align 8
%41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %11, align 8
store i8 0, ptr %42, align 1
br label %46
43: ; preds = %33
%44 = load ptr, ptr %9, align 8
%45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.2)
br label %46
46: ; preds = %43, %38
%47 = load ptr, ptr %6, align 8
%48 = call ptr @strchr(ptr noundef %47, i8 noundef signext 58)
store ptr %48, ptr %11, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %58
51: ; preds = %46
%52 = load ptr, ptr %11, align 8
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %11, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %11, align 8
%55 = load ptr, ptr %11, align 8
%56 = call i32 @atoi(ptr noundef %55)
%57 = load ptr, ptr %8, align 8
store i32 %56, ptr %57, align 4
br label %58
58: ; preds = %51, %46
%59 = load ptr, ptr %7, align 8
%60 = load ptr, ptr %6, align 8
%61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60)
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp60p2ioyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"http://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"http:\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @strrchr(ptr noundef %12, i8 noundef signext 47)
%14 = getelementptr inbounds i8, ptr %13, i64 1
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %8, align 8
store i32 80, ptr %18, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str, i32 noundef 7)
%21 = icmp ne i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %5
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 7
store ptr %24, ptr %6, align 8
br label %33
25: ; preds = %5
%26 = load ptr, ptr %6, align 8
%27 = call i32 @strncmp(ptr noundef %26, ptr noundef @.str.1, i32 noundef 5)
%28 = icmp ne i32 %27, 0
br i1 %28, label %32, label %29
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 5
store ptr %31, ptr %6, align 8
br label %32
32: ; preds = %29, %25
br label %33
33: ; preds = %32, %22
%34 = load ptr, ptr %6, align 8
%35 = call ptr @strchr(ptr noundef %34, i8 noundef signext 47)
store ptr %35, ptr %11, align 8
%36 = load ptr, ptr %11, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %43
38: ; preds = %33
%39 = load ptr, ptr %9, align 8
%40 = load ptr, ptr %11, align 8
%41 = call i32 @strcpy(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %11, align 8
store i8 0, ptr %42, align 1
br label %46
43: ; preds = %33
%44 = load ptr, ptr %9, align 8
%45 = call i32 @strcpy(ptr noundef %44, ptr noundef @.str.2)
br label %46
46: ; preds = %43, %38
%47 = load ptr, ptr %6, align 8
%48 = call ptr @strchr(ptr noundef %47, i8 noundef signext 58)
store ptr %48, ptr %11, align 8
%49 = load ptr, ptr %11, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %58
51: ; preds = %46
%52 = load ptr, ptr %11, align 8
store i8 0, ptr %52, align 1
%53 = load ptr, ptr %11, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %11, align 8
%55 = load ptr, ptr %11, align 8
%56 = call i32 @atoi(ptr noundef %55)
%57 = load ptr, ptr %8, align 8
store i32 %56, ptr %57, align 4
br label %58
58: ; preds = %51, %46
%59 = load ptr, ptr %7, align 8
%60 = load ptr, ptr %6, align 8
%61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60)
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppvsk3y3z.c'
source_filename = "/tmp/tmppvsk3y3z.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"PANIC: not enough memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @android_alloc0(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = call ptr @calloc(i32 noundef 1, i64 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %2, align 8
br label %19
15: ; preds = %8
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @calloc(i32 noundef, i64 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/tmppvsk3y3z.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"PANIC: not enough memory\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @android_alloc0(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = call ptr @calloc(i32 noundef 1, i64 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %2, align 8
br label %19
15: ; preds = %8
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %13, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @calloc(i32 noundef, i64 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/tmpdry8a_c_.c'
source_filename = "/tmp/tmpdry8a_c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @enable_broadcast(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SOL_SOCKET, align 4
%6 = load i32, ptr @SO_BROADCAST, align 4
%7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdry8a_c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @enable_broadcast(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @SOL_SOCKET, align 4
%6 = load i32, ptr @SO_BROADCAST, align 4
%7 = call i32 @setsockopt(i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %3, i32 noundef 4)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1o0h8ear.c'
source_filename = "/tmp/tmp1o0h8ear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"trigraph ??! trigraph\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1o0h8ear.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"trigraph ??! trigraph\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5j6cffgd.c'
source_filename = "/tmp/tmp5j6cffgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"---now printing 2---\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printTwo(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %9
9: ; preds = %12, %3
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 64
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load i64, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = mul nsw i64 %13, %15
store i64 %16, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %17)
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %7, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
%22 = load i32, ptr %4, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5j6cffgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"---now printing 2---\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printTwo(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 64
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i64, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = mul nsw i64 %12, %14
store i64 %15, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %16)
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 64
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %22
22: ; preds = %._crit_edge, %3
%23 = load i32, ptr %4, align 4
ret i32 %23
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbymyj41j.c'
source_filename = "/tmp/tmpbymyj41j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1682120719, ptr %6, align 4
store i32 -1985229329, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 @desencode(i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @desencode(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/tmpbymyj41j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1682120719, ptr %6, align 4
store i32 -1985229329, ptr %7, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 @desencode(i32 noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @desencode(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/tmps4jxkvw0.c'
source_filename = "/tmp/tmps4jxkvw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mr1calccoulomb_tree__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load double, ptr %23, align 8
%25 = load ptr, ptr %14, align 8
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %15, align 8
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %16, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %17, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %18, align 8
%34 = call i32 @MR1calccoulomb_tree(ptr noundef %19, i32 noundef %21, ptr noundef %22, double noundef %24, i32 noundef %26, double noundef %28, i32 noundef %30, i32 noundef %32, ptr noundef %33)
ret void
}
declare i32 @MR1calccoulomb_tree(ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, double 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/tmps4jxkvw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mr1calccoulomb_tree__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store ptr %8, ptr %18, align 8
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load i32, ptr %20, align 4
%22 = load ptr, ptr %12, align 8
%23 = load ptr, ptr %13, align 8
%24 = load double, ptr %23, align 8
%25 = load ptr, ptr %14, align 8
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %15, align 8
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %16, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %17, align 8
%32 = load i32, ptr %31, align 4
%33 = load ptr, ptr %18, align 8
%34 = call i32 @MR1calccoulomb_tree(ptr noundef %19, i32 noundef %21, ptr noundef %22, double noundef %24, i32 noundef %26, double noundef %28, i32 noundef %30, i32 noundef %32, ptr noundef %33)
ret void
}
declare i32 @MR1calccoulomb_tree(ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef, double 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/tmp42jsl8mi.c'
source_filename = "/tmp/tmp42jsl8mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CloseWave() #0 {
%1 = call i32 (...) @FCEUI_EndWaveRecord()
ret i32 %1
}
declare i32 @FCEUI_EndWaveRecord(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp42jsl8mi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CloseWave() #0 {
%1 = call i32 (...) @FCEUI_EndWaveRecord()
ret i32 %1
}
declare i32 @FCEUI_EndWaveRecord(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprg_ufrcs.c'
source_filename = "/tmp/tmprg_ufrcs.c"
target datalayout = "e-m:e-p270: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/tmprg_ufrcs.c"
target datalayout = "e-m:e-p270: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/tmp2_p_x49s.c'
source_filename = "/tmp/tmp2_p_x49s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_PKEY_SM2 = 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/tmp2_p_x49s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_PKEY_SM2 = 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/tmpur0fy0qh.c'
source_filename = "/tmp/tmpur0fy0qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3001 x i32], align 16
%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
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %68, %0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %70
12: ; preds = %8
store i32 1, ptr %5, align 4
br label %13
13: ; preds = %21, %12
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %19
store i32 1, ptr %20, align 4
br label %21
21: ; preds = %17
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %13, !llvm.loop !6
24: ; preds = %13
%25 = load i32, ptr %3, align 4
store i32 %25, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %67, %24
%27 = load i32, ptr %6, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %68
29: ; preds = %26
store i32 1, ptr %5, align 4
br label %30
30: ; preds = %64, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %34, label %67
34: ; preds = %30
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %63
40: ; preds = %34
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %62
46: ; preds = %40
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %48
store i32 0, ptr %49, align 4
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %46
%54 = load i32, ptr %5, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54)
br label %59
56: ; preds = %46
%57 = load i32, ptr %5, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
br label %59
59: ; preds = %56, %53
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %62
62: ; preds = %59, %40
br label %63
63: ; preds = %62, %34
br label %64
64: ; preds = %63
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %30, !llvm.loop !8
67: ; preds = %30
br label %26, !llvm.loop !9
68: ; preds = %26
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %8, !llvm.loop !10
70: ; preds = %8
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpur0fy0qh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3001 x i32], align 16
%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
store i32 0, ptr %1, align 4
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph8, label %77
.lr.ph8: ; preds = %0
br label %11
11: ; preds = %.lr.ph8, %72
store i32 1, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %.lr.ph, label %25
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %17
store i32 1, ptr %18, align 4
br label %19
19: ; preds = %15
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %11
%26 = load i32, ptr %3, align 4
store i32 %26, ptr %6, align 4
store i32 0, ptr %7, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %.lr.ph5, label %72
.lr.ph5: ; preds = %25
br label %29
29: ; preds = %.lr.ph5, %69
store i32 1, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %.lr.ph2, label %69
.lr.ph2: ; preds = %29
br label %33
33: ; preds = %.lr.ph2, %63
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %62
39: ; preds = %33
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %61
45: ; preds = %39
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3001 x i32], ptr %2, i64 0, i64 %47
store i32 0, ptr %48, align 4
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %45
%53 = load i32, ptr %5, align 4
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %53)
br label %58
55: ; preds = %45
%56 = load i32, ptr %5, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56)
br label %58
58: ; preds = %55, %52
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %61
61: ; preds = %58, %39
br label %62
62: ; preds = %61, %33
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
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %3, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %29
%70 = load i32, ptr %6, align 4
%71 = icmp sgt i32 %70, 0
br i1 %71, label %29, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %69
br label %72
72: ; preds = %._crit_edge6, %25
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%74 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%75 = load i64, ptr @EOF, align 8
%76 = icmp ne i64 %74, %75
br i1 %76, label %11, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %72
br label %77
77: ; preds = %._crit_edge9, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp6idg9m0y.c'
source_filename = "/tmp/tmp6idg9m0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 109
br i1 %16, label %17, label %18
17: ; preds = %9
store i32 1, ptr %6, align 4
br label %18
18: ; preds = %17, %9, %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @server(i32 noundef %19)
ret i32 %20
}
declare i32 @server(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/tmp6idg9m0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp sge i32 %7, 2
br i1 %8, label %9, label %18
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 109
br i1 %16, label %17, label %18
17: ; preds = %9
store i32 1, ptr %6, align 4
br label %18
18: ; preds = %17, %9, %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @server(i32 noundef %19)
ret i32 %20
}
declare i32 @server(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/tmpmtoda87y.c'
source_filename = "/tmp/tmpmtoda87y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenPrintOperandSeparator() #0 {
%1 = call i32 @printf2(ptr noundef @.str)
ret void
}
declare i32 @printf2(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmtoda87y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c", \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenPrintOperandSeparator() #0 {
%1 = call i32 @printf2(ptr noundef @.str)
ret void
}
declare i32 @printf2(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7e1sy1n8.c'
source_filename = "/tmp/tmp7e1sy1n8.c"
target datalayout = "e-m:e-p270: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/tmp7e1sy1n8.c"
target datalayout = "e-m:e-p270: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/tmp1v6n_xc9.c'
source_filename = "/tmp/tmp1v6n_xc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{{3, 1}}\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"{{4501, 2250}}\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"{{4503, 2251}{903, 449}}\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"{{1128, 562}}\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"{{450003, 225001}{90003, 44999}}\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c"{{45000001, 22500000}{6428575, 3214284}{3461545, 1730766}{494551, 247230}}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @dotest(i32 noundef 5, ptr noundef @.str)
%2 = call i32 @dotest(i32 noundef 9001, ptr noundef @.str.1)
%3 = call i32 @dotest(i32 noundef 9005, ptr noundef @.str.2)
%4 = call i32 @dotest(i32 noundef 9008, ptr noundef @.str.3)
%5 = call i32 @dotest(i32 noundef 900005, ptr noundef @.str.4)
%6 = call i32 @dotest(i32 noundef 90000001, ptr noundef @.str.5)
ret i32 0
}
declare i32 @dotest(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/tmp1v6n_xc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{{3, 1}}\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"{{4501, 2250}}\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"{{4503, 2251}{903, 449}}\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"{{1128, 562}}\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"{{450003, 225001}{90003, 44999}}\00", align 1
@.str.5 = private unnamed_addr constant [75 x i8] c"{{45000001, 22500000}{6428575, 3214284}{3461545, 1730766}{494551, 247230}}\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @dotest(i32 noundef 5, ptr noundef @.str)
%2 = call i32 @dotest(i32 noundef 9001, ptr noundef @.str.1)
%3 = call i32 @dotest(i32 noundef 9005, ptr noundef @.str.2)
%4 = call i32 @dotest(i32 noundef 9008, ptr noundef @.str.3)
%5 = call i32 @dotest(i32 noundef 900005, ptr noundef @.str.4)
%6 = call i32 @dotest(i32 noundef 90000001, ptr noundef @.str.5)
ret i32 0
}
declare i32 @dotest(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/tmph7hrz49r.c'
source_filename = "/tmp/tmph7hrz49r.c"
target datalayout = "e-m:e-p270: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/tmph7hrz49r.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.