#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int cl_int;

/* Variables and functions */
int CL_SUCCESS;
int /*<<< orphan*/ printf(char *, int, char *, int);
void CheckOpenCLError(cl_int err, int line) {
  if (err != CL_SUCCESS) {
    char *errString;
    switch (err) {
    case 0:
      errString = "CL_SUCCESS";
      break;
    case -1:
      errString = "CL_DEVICE_NOT_FOUND";
      break;
    case -2:
      errString = "CL_DEVICE_NOT_AVAILABLE";
      break;
    case -3:
      errString = "CL_COMPILER_NOT_AVAILABLE";
      break;
    case -4:
      errString = "CL_MEM_OBJECT_ALLOCATION_FAILURE";
      break;
    case -5:
      errString = "CL_OUT_OF_RESOURCES";
      break;
    case -6:
      errString = "CL_OUT_OF_HOST_MEMORY";
      break;
    case -7:
      errString = "CL_PROFILING_INFO_NOT_AVAILABLE";
      break;
    case -8:
      errString = "CL_MEM_COPY_OVERLAP";
      break;
    case -9:
      errString = "CL_IMAGE_FORMAT_MISMATCH";
      break;
    case -10:
      errString = "CL_IMAGE_FORMAT_NOT_SUPPORTED";
      break;
    case -11:
      errString = "CL_BUILD_PROGRAM_FAILURE";
      break;
    case -12:
      errString = "CL_MAP_FAILURE";
      break;
    case -13:
      errString = "CL_MISALIGNED_SUB_BUFFER_OFFSET";
      break;
    case -14:
      errString = "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST";
      break;
    case -15:
      errString = "CL_COMPILE_PROGRAM_FAILURE";
      break;
    case -16:
      errString = "CL_LINKER_NOT_AVAILABLE";
      break;
    case -17:
      errString = "CL_LINK_PROGRAM_FAILURE";
      break;
    case -18:
      errString = "CL_DEVICE_PARTITION_FAILED";
      break;
    case -19:
      errString = "CL_KERNEL_ARG_INFO_NOT_AVAILABLE";
      break;
    case -30:
      errString = "CL_INVALID_VALUE";
      break;
    case -31:
      errString = "CL_INVALID_DEVICE_TYPE";
      break;
    case -32:
      errString = "CL_INVALID_PLATFORM";
      break;
    case -33:
      errString = "CL_INVALID_DEVICE";
      break;
    case -34:
      errString = "CL_INVALID_CONTEXT";
      break;
    case -35:
      errString = "CL_INVALID_QUEUE_PROPERTIES";
      break;
    case -36:
      errString = "CL_INVALID_COMMAND_QUEUE";
      break;
    case -37:
      errString = "CL_INVALID_HOST_PTR";
      break;
    case -38:
      errString = "CL_INVALID_MEM_OBJECT";
      break;
    case -39:
      errString = "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR";
      break;
    case -40:
      errString = "CL_INVALID_IMAGE_SIZE";
      break;
    case -41:
      errString = "CL_INVALID_SAMPLER";
      break;
    case -42:
      errString = "CL_INVALID_BINARY";
      break;
    case -43:
      errString = "CL_INVALID_BUILD_OPTIONS";
      break;
    case -44:
      errString = "CL_INVALID_PROGRAM";
      break;
    case -45:
      errString = "CL_INVALID_PROGRAM_EXECUTABLE";
      break;
    case -46:
      errString = "CL_INVALID_KERNEL_NAME";
      break;
    case -47:
      errString = "CL_INVALID_KERNEL_DEFINITION";
      break;
    case -48:
      errString = "CL_INVALID_KERNEL";
      break;
    case -49:
      errString = "CL_INVALID_ARG_INDEX";
      break;
    case -50:
      errString = "CL_INVALID_ARG_VALUE";
      break;
    case -51:
      errString = "CL_INVALID_ARG_SIZE";
      break;
    case -52:
      errString = "CL_INVALID_KERNEL_ARGS";
      break;
    case -53:
      errString = "CL_INVALID_WORK_DIMENSION";
      break;
    case -54:
      errString = "CL_INVALID_WORK_GROUP_SIZE";
      break;
    case -55:
      errString = "CL_INVALID_WORK_ITEM_SIZE";
      break;
    case -56:
      errString = "CL_INVALID_GLOBAL_OFFSET";
      break;
    case -57:
      errString = "CL_INVALID_EVENT_WAIT_LIST";
      break;
    case -58:
      errString = "CL_INVALID_EVENT";
      break;
    case -59:
      errString = "CL_INVALID_OPERATION";
      break;
    case -60:
      errString = "CL_INVALID_GL_OBJECT";
      break;
    case -61:
      errString = "CL_INVALID_BUFFER_SIZE";
      break;
    case -62:
      errString = "CL_INVALID_MIP_LEVEL";
      break;
    case -63:
      errString = "CL_INVALID_GLOBAL_WORK_SIZE";
      break;
    case -64:
      errString = "CL_INVALID_PROPERTY";
      break;
    case -65:
      errString = "CL_INVALID_IMAGE_DESCRIPTOR";
      break;
    case -66:
      errString = "CL_INVALID_COMPILER_OPTIONS";
      break;
    case -67:
      errString = "CL_INVALID_LINKER_OPTIONS";
      break;
    case -68:
      errString = "CL_INVALID_DEVICE_PARTITION_COUNT";
      break;
    case -1000:
      errString = "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR";
      break;
    case -1001:
      errString = "CL_PLATFORM_NOT_FOUND_KHR";
      break;
    case -1002:
      errString = "CL_INVALID_D3D10_DEVICE_KHR";
      break;
    case -1003:
      errString = "CL_INVALID_D3D10_RESOURCE_KHR";
      break;
    case -1004:
      errString = "CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR";
      break;
    case -1005:
      errString = "CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR";
      break;
    default:
      errString = "Unknown OpenCL error";
    }
    printf("OpenCL Error %d (%s), line %d\n", err, errString, line);
  }
}


x86 assembly (clang, -O0):
<CheckOpenCLError>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    -0x4(%rbp),%eax
mov    0x2eb8(%rip),%rcx
cmp    (%rcx),%eax
je     19c0 <CheckOpenCLError+0x8b0>
mov    -0x4(%rbp),%eax
mov    %eax,-0x14(%rbp)
sub    $0xfffffc13,%eax
je     198f <CheckOpenCLError+0x87f>
jmp    1146 <CheckOpenCLError+0x36>
mov    -0x14(%rbp),%eax
sub    $0xfffffc14,%eax
je     197f <CheckOpenCLError+0x86f>
jmp    1159 <CheckOpenCLError+0x49>
mov    -0x14(%rbp),%eax
sub    $0xfffffc15,%eax
je     196f <CheckOpenCLError+0x85f>
jmp    116c <CheckOpenCLError+0x5c>
mov    -0x14(%rbp),%eax
sub    $0xfffffc16,%eax
je     195f <CheckOpenCLError+0x84f>
jmp    117f <CheckOpenCLError+0x6f>
mov    -0x14(%rbp),%eax
sub    $0xfffffc17,%eax
je     194f <CheckOpenCLError+0x83f>
jmp    1192 <CheckOpenCLError+0x82>
mov    -0x14(%rbp),%eax
sub    $0xfffffc18,%eax
je     193f <CheckOpenCLError+0x82f>
jmp    11a5 <CheckOpenCLError+0x95>
mov    -0x14(%rbp),%eax
sub    $0xffffffbc,%eax
je     192f <CheckOpenCLError+0x81f>
jmp    11b6 <CheckOpenCLError+0xa6>
mov    -0x14(%rbp),%eax
sub    $0xffffffbd,%eax
je     191f <CheckOpenCLError+0x80f>
jmp    11c7 <CheckOpenCLError+0xb7>
mov    -0x14(%rbp),%eax
sub    $0xffffffbe,%eax
je     190f <CheckOpenCLError+0x7ff>
jmp    11d8 <CheckOpenCLError+0xc8>
mov    -0x14(%rbp),%eax
sub    $0xffffffbf,%eax
je     18ff <CheckOpenCLError+0x7ef>
jmp    11e9 <CheckOpenCLError+0xd9>
mov    -0x14(%rbp),%eax
sub    $0xffffffc0,%eax
je     18ef <CheckOpenCLError+0x7df>
jmp    11fa <CheckOpenCLError+0xea>
mov    -0x14(%rbp),%eax
sub    $0xffffffc1,%eax
je     18df <CheckOpenCLError+0x7cf>
jmp    120b <CheckOpenCLError+0xfb>
mov    -0x14(%rbp),%eax
sub    $0xffffffc2,%eax
je     18cf <CheckOpenCLError+0x7bf>
jmp    121c <CheckOpenCLError+0x10c>
mov    -0x14(%rbp),%eax
sub    $0xffffffc3,%eax
je     18bf <CheckOpenCLError+0x7af>
jmp    122d <CheckOpenCLError+0x11d>
mov    -0x14(%rbp),%eax
sub    $0xffffffc4,%eax
je     18af <CheckOpenCLError+0x79f>
jmp    123e <CheckOpenCLError+0x12e>
mov    -0x14(%rbp),%eax
sub    $0xffffffc5,%eax
je     189f <CheckOpenCLError+0x78f>
jmp    124f <CheckOpenCLError+0x13f>
mov    -0x14(%rbp),%eax
sub    $0xffffffc6,%eax
je     188f <CheckOpenCLError+0x77f>
jmp    1260 <CheckOpenCLError+0x150>
mov    -0x14(%rbp),%eax
sub    $0xffffffc7,%eax
je     187f <CheckOpenCLError+0x76f>
jmp    1271 <CheckOpenCLError+0x161>
mov    -0x14(%rbp),%eax
sub    $0xffffffc8,%eax
je     186f <CheckOpenCLError+0x75f>
jmp    1282 <CheckOpenCLError+0x172>
mov    -0x14(%rbp),%eax
sub    $0xffffffc9,%eax
je     185f <CheckOpenCLError+0x74f>
jmp    1293 <CheckOpenCLError+0x183>
mov    -0x14(%rbp),%eax
sub    $0xffffffca,%eax
je     184f <CheckOpenCLError+0x73f>
jmp    12a4 <CheckOpenCLError+0x194>
mov    -0x14(%rbp),%eax
sub    $0xffffffcb,%eax
je     183f <CheckOpenCLError+0x72f>
jmp    12b5 <CheckOpenCLError+0x1a5>
mov    -0x14(%rbp),%eax
sub    $0xffffffcc,%eax
je     182f <CheckOpenCLError+0x71f>
jmp    12c6 <CheckOpenCLError+0x1b6>
mov    -0x14(%rbp),%eax
sub    $0xffffffcd,%eax
je     181f <CheckOpenCLError+0x70f>
jmp    12d7 <CheckOpenCLError+0x1c7>
mov    -0x14(%rbp),%eax
sub    $0xffffffce,%eax
je     180f <CheckOpenCLError+0x6ff>
jmp    12e8 <CheckOpenCLError+0x1d8>
mov    -0x14(%rbp),%eax
sub    $0xffffffcf,%eax
je     17ff <CheckOpenCLError+0x6ef>
jmp    12f9 <CheckOpenCLError+0x1e9>
mov    -0x14(%rbp),%eax
sub    $0xffffffd0,%eax
je     17ef <CheckOpenCLError+0x6df>
jmp    130a <CheckOpenCLError+0x1fa>
mov    -0x14(%rbp),%eax
sub    $0xffffffd1,%eax
je     17df <CheckOpenCLError+0x6cf>
jmp    131b <CheckOpenCLError+0x20b>
mov    -0x14(%rbp),%eax
sub    $0xffffffd2,%eax
je     17cf <CheckOpenCLError+0x6bf>
jmp    132c <CheckOpenCLError+0x21c>
mov    -0x14(%rbp),%eax
sub    $0xffffffd3,%eax
je     17bf <CheckOpenCLError+0x6af>
jmp    133d <CheckOpenCLError+0x22d>
mov    -0x14(%rbp),%eax
sub    $0xffffffd4,%eax
je     17af <CheckOpenCLError+0x69f>
jmp    134e <CheckOpenCLError+0x23e>
mov    -0x14(%rbp),%eax
sub    $0xffffffd5,%eax
je     179f <CheckOpenCLError+0x68f>
jmp    135f <CheckOpenCLError+0x24f>
mov    -0x14(%rbp),%eax
sub    $0xffffffd6,%eax
je     178f <CheckOpenCLError+0x67f>
jmp    1370 <CheckOpenCLError+0x260>
mov    -0x14(%rbp),%eax
sub    $0xffffffd7,%eax
je     177f <CheckOpenCLError+0x66f>
jmp    1381 <CheckOpenCLError+0x271>
mov    -0x14(%rbp),%eax
sub    $0xffffffd8,%eax
je     176f <CheckOpenCLError+0x65f>
jmp    1392 <CheckOpenCLError+0x282>
mov    -0x14(%rbp),%eax
sub    $0xffffffd9,%eax
je     175f <CheckOpenCLError+0x64f>
jmp    13a3 <CheckOpenCLError+0x293>
mov    -0x14(%rbp),%eax
sub    $0xffffffda,%eax
je     174f <CheckOpenCLError+0x63f>
jmp    13b4 <CheckOpenCLError+0x2a4>
mov    -0x14(%rbp),%eax
sub    $0xffffffdb,%eax
je     173f <CheckOpenCLError+0x62f>
jmp    13c5 <CheckOpenCLError+0x2b5>
mov    -0x14(%rbp),%eax
sub    $0xffffffdc,%eax
je     172f <CheckOpenCLError+0x61f>
jmp    13d6 <CheckOpenCLError+0x2c6>
mov    -0x14(%rbp),%eax
sub    $0xffffffdd,%eax
je     171f <CheckOpenCLError+0x60f>
jmp    13e7 <CheckOpenCLError+0x2d7>
mov    -0x14(%rbp),%eax
sub    $0xffffffde,%eax
je     170f <CheckOpenCLError+0x5ff>
jmp    13f8 <CheckOpenCLError+0x2e8>
mov    -0x14(%rbp),%eax
sub    $0xffffffdf,%eax
je     16ff <CheckOpenCLError+0x5ef>
jmp    1409 <CheckOpenCLError+0x2f9>
mov    -0x14(%rbp),%eax
sub    $0xffffffe0,%eax
je     16ef <CheckOpenCLError+0x5df>
jmp    141a <CheckOpenCLError+0x30a>
mov    -0x14(%rbp),%eax
sub    $0xffffffe1,%eax
je     16df <CheckOpenCLError+0x5cf>
jmp    142b <CheckOpenCLError+0x31b>
mov    -0x14(%rbp),%eax
sub    $0xffffffe2,%eax
je     16cf <CheckOpenCLError+0x5bf>
jmp    143c <CheckOpenCLError+0x32c>
mov    -0x14(%rbp),%eax
sub    $0xffffffed,%eax
je     16bf <CheckOpenCLError+0x5af>
jmp    144d <CheckOpenCLError+0x33d>
mov    -0x14(%rbp),%eax
sub    $0xffffffee,%eax
je     16af <CheckOpenCLError+0x59f>
jmp    145e <CheckOpenCLError+0x34e>
mov    -0x14(%rbp),%eax
sub    $0xffffffef,%eax
je     169f <CheckOpenCLError+0x58f>
jmp    146f <CheckOpenCLError+0x35f>
mov    -0x14(%rbp),%eax
sub    $0xfffffff0,%eax
je     168f <CheckOpenCLError+0x57f>
jmp    1480 <CheckOpenCLError+0x370>
mov    -0x14(%rbp),%eax
sub    $0xfffffff1,%eax
je     167f <CheckOpenCLError+0x56f>
jmp    1491 <CheckOpenCLError+0x381>
mov    -0x14(%rbp),%eax
sub    $0xfffffff2,%eax
je     166f <CheckOpenCLError+0x55f>
jmp    14a2 <CheckOpenCLError+0x392>
mov    -0x14(%rbp),%eax
sub    $0xfffffff3,%eax
je     165f <CheckOpenCLError+0x54f>
jmp    14b3 <CheckOpenCLError+0x3a3>
mov    -0x14(%rbp),%eax
sub    $0xfffffff4,%eax
je     164f <CheckOpenCLError+0x53f>
jmp    14c4 <CheckOpenCLError+0x3b4>
mov    -0x14(%rbp),%eax
sub    $0xfffffff5,%eax
je     163f <CheckOpenCLError+0x52f>
jmp    14d5 <CheckOpenCLError+0x3c5>
mov    -0x14(%rbp),%eax
sub    $0xfffffff6,%eax
je     162f <CheckOpenCLError+0x51f>
jmp    14e6 <CheckOpenCLError+0x3d6>
mov    -0x14(%rbp),%eax
sub    $0xfffffff7,%eax
je     161f <CheckOpenCLError+0x50f>
jmp    14f7 <CheckOpenCLError+0x3e7>
mov    -0x14(%rbp),%eax
sub    $0xfffffff8,%eax
je     160f <CheckOpenCLError+0x4ff>
jmp    1508 <CheckOpenCLError+0x3f8>
mov    -0x14(%rbp),%eax
sub    $0xfffffff9,%eax
je     15ff <CheckOpenCLError+0x4ef>
jmp    1519 <CheckOpenCLError+0x409>
mov    -0x14(%rbp),%eax
sub    $0xfffffffa,%eax
je     15ef <CheckOpenCLError+0x4df>
jmp    152a <CheckOpenCLError+0x41a>
mov    -0x14(%rbp),%eax
sub    $0xfffffffb,%eax
je     15df <CheckOpenCLError+0x4cf>
jmp    153b <CheckOpenCLError+0x42b>
mov    -0x14(%rbp),%eax
sub    $0xfffffffc,%eax
je     15cf <CheckOpenCLError+0x4bf>
jmp    154c <CheckOpenCLError+0x43c>
mov    -0x14(%rbp),%eax
sub    $0xfffffffd,%eax
je     15bf <CheckOpenCLError+0x4af>
jmp    155d <CheckOpenCLError+0x44d>
mov    -0x14(%rbp),%eax
sub    $0xfffffffe,%eax
je     15af <CheckOpenCLError+0x49f>
jmp    156e <CheckOpenCLError+0x45e>
mov    -0x14(%rbp),%eax
sub    $0xffffffff,%eax
je     159f <CheckOpenCLError+0x48f>
jmp    157f <CheckOpenCLError+0x46f>
mov    -0x14(%rbp),%eax
test   %eax,%eax
jne    199f <CheckOpenCLError+0x88f>
jmp    158f <CheckOpenCLError+0x47f>
lea    0xa6a(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa65(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa69(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa71(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa7b(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa8c(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa90(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xa96(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xaa6(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xaaa(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xab3(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xac1(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xaca(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xac9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xad9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xaf6(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb01(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb09(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb11(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb1c(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb2d(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb2e(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb35(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb39(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb3b(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb3e(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb4a(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb53(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb57(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb5d(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb70(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb76(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb79(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb7b(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb84(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb87(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb95(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xb9c(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xba9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbab(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbb0(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbb5(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbb9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbc0(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbca(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbd5(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbdf(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbe8(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbf3(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbf4(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbf9(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xbfe(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc05(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc0a(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc16(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc1a(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc26(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc32(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc3c(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc4e(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc65(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc6f(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc7b(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xc89(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xca0(%rip),%rax
mov    %rax,-0x10(%rbp)
jmp    19aa <CheckOpenCLError+0x89a>
lea    0xcb3(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x4(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x8(%rbp),%ecx
lea    0xcb3(%rip),%rdi
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CheckOpenCLError>:
mov    0x2ec9(%rip),%rax
cmp    %edi,(%rax)
jne    111c <CheckOpenCLError+0xc>
ret
mov    %esi,%ecx
mov    %edi,%esi
lea    0x44(%rsi),%eax
cmp    $0x44,%eax
ja     114b <CheckOpenCLError+0x3b>
lea    0xffd(%rip),%rdx
lea    0xee2(%rip),%rdi
movslq (%rdi,%rax,4),%rax
add    %rdi,%rax
jmp    *%rax
lea    0x1558(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x3ed(%rsi),%eax
cmp    $0x5,%eax
ja     1172 <CheckOpenCLError+0x62>
lea    0xea3(%rip),%rdx
movslq (%rdx,%rax,4),%rax
add    %rdx,%rax
jmp    *%rax
lea    0x15f5(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x160c(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x14ff(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x14d7(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x14af(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x148f(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1467(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1446(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1423(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1402(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x13e1(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x13c4(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x139d(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1378(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1352(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x132b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1305(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x12e2(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x12c2(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x12a1(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1280(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1262(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1239(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1216(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x11ec(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x11cd(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x11a8(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x118a(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x116b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1149(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x111a(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x10f8(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x10d8(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x10b3(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x108b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x106c(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x104e(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x102e(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x100b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xfee(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xfc1(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xf9a(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xf76(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xf52(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xf2b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xef2(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xec6(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xeab(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xe86(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xe5c(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xe3a(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xe1d(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xdf4(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xdd5(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xdb8(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xd8e(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xd6b(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xd4a(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0xd2d(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1328(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1301(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x12dc(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x12b9(%rip),%rdx
jmp    1437 <CheckOpenCLError+0x327>
lea    0x1289(%rip),%rdx
lea    0x135c(%rip),%rdi
jmp    1030 <printf@plt>

LLVM IR (-O0):
@CL_SUCCESS = global i32 0
@.str = [11 x i8] c"CL_SUCCESS\00"
@.str.1 = [20 x i8] c"CL_DEVICE_NOT_FOUND\00"
@.str.2 = [24 x i8] c"CL_DEVICE_NOT_AVAILABLE\00"
@.str.3 = [26 x i8] c"CL_COMPILER_NOT_AVAILABLE\00"
@.str.4 = [33 x i8] c"CL_MEM_OBJECT_ALLOCATION_FAILURE\00"
@.str.5 = [20 x i8] c"CL_OUT_OF_RESOURCES\00"
@.str.6 = [22 x i8] c"CL_OUT_OF_HOST_MEMORY\00"
@.str.7 = [32 x i8] c"CL_PROFILING_INFO_NOT_AVAILABLE\00"
@.str.8 = [20 x i8] c"CL_MEM_COPY_OVERLAP\00"
@.str.9 = [25 x i8] c"CL_IMAGE_FORMAT_MISMATCH\00"
@.str.10 = [30 x i8] c"CL_IMAGE_FORMAT_NOT_SUPPORTED\00"
@.str.11 = [25 x i8] c"CL_BUILD_PROGRAM_FAILURE\00"
@.str.12 = [15 x i8] c"CL_MAP_FAILURE\00"
@.str.13 = [32 x i8] c"CL_MISALIGNED_SUB_BUFFER_OFFSET\00"
@.str.14 = [45 x i8] c"CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST\00"
@.str.15 = [27 x i8] c"CL_COMPILE_PROGRAM_FAILURE\00"
@.str.16 = [24 x i8] c"CL_LINKER_NOT_AVAILABLE\00"
@.str.17 = [24 x i8] c"CL_LINK_PROGRAM_FAILURE\00"
@.str.18 = [27 x i8] c"CL_DEVICE_PARTITION_FAILED\00"
@.str.19 = [33 x i8] c"CL_KERNEL_ARG_INFO_NOT_AVAILABLE\00"
@.str.20 = [17 x i8] c"CL_INVALID_VALUE\00"
@.str.21 = [23 x i8] c"CL_INVALID_DEVICE_TYPE\00"
@.str.22 = [20 x i8] c"CL_INVALID_PLATFORM\00"
@.str.23 = [18 x i8] c"CL_INVALID_DEVICE\00"
@.str.24 = [19 x i8] c"CL_INVALID_CONTEXT\00"
@.str.25 = [28 x i8] c"CL_INVALID_QUEUE_PROPERTIES\00"
@.str.26 = [25 x i8] c"CL_INVALID_COMMAND_QUEUE\00"
@.str.27 = [20 x i8] c"CL_INVALID_HOST_PTR\00"
@.str.28 = [22 x i8] c"CL_INVALID_MEM_OBJECT\00"
@.str.29 = [35 x i8] c"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR\00"
@.str.30 = [22 x i8] c"CL_INVALID_IMAGE_SIZE\00"
@.str.31 = [19 x i8] c"CL_INVALID_SAMPLER\00"
@.str.32 = [18 x i8] c"CL_INVALID_BINARY\00"
@.str.33 = [25 x i8] c"CL_INVALID_BUILD_OPTIONS\00"
@.str.34 = [19 x i8] c"CL_INVALID_PROGRAM\00"
@.str.35 = [30 x i8] c"CL_INVALID_PROGRAM_EXECUTABLE\00"
@.str.36 = [23 x i8] c"CL_INVALID_KERNEL_NAME\00"
@.str.37 = [29 x i8] c"CL_INVALID_KERNEL_DEFINITION\00"
@.str.38 = [18 x i8] c"CL_INVALID_KERNEL\00"
@.str.39 = [21 x i8] c"CL_INVALID_ARG_INDEX\00"
@.str.40 = [21 x i8] c"CL_INVALID_ARG_VALUE\00"
@.str.41 = [20 x i8] c"CL_INVALID_ARG_SIZE\00"
@.str.42 = [23 x i8] c"CL_INVALID_KERNEL_ARGS\00"
@.str.43 = [26 x i8] c"CL_INVALID_WORK_DIMENSION\00"
@.str.44 = [27 x i8] c"CL_INVALID_WORK_GROUP_SIZE\00"
@.str.45 = [26 x i8] c"CL_INVALID_WORK_ITEM_SIZE\00"
@.str.46 = [25 x i8] c"CL_INVALID_GLOBAL_OFFSET\00"
@.str.47 = [27 x i8] c"CL_INVALID_EVENT_WAIT_LIST\00"
@.str.48 = [17 x i8] c"CL_INVALID_EVENT\00"
@.str.49 = [21 x i8] c"CL_INVALID_OPERATION\00"
@.str.50 = [21 x i8] c"CL_INVALID_GL_OBJECT\00"
@.str.51 = [23 x i8] c"CL_INVALID_BUFFER_SIZE\00"
@.str.52 = [21 x i8] c"CL_INVALID_MIP_LEVEL\00"
@.str.53 = [28 x i8] c"CL_INVALID_GLOBAL_WORK_SIZE\00"
@.str.54 = [20 x i8] c"CL_INVALID_PROPERTY\00"
@.str.55 = [28 x i8] c"CL_INVALID_IMAGE_DESCRIPTOR\00"
@.str.56 = [28 x i8] c"CL_INVALID_COMPILER_OPTIONS\00"
@.str.57 = [26 x i8] c"CL_INVALID_LINKER_OPTIONS\00"
@.str.58 = [34 x i8] c"CL_INVALID_DEVICE_PARTITION_COUNT\00"
@.str.59 = [39 x i8] c"CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR\00"
@.str.60 = [26 x i8] c"CL_PLATFORM_NOT_FOUND_KHR\00"
@.str.61 = [28 x i8] c"CL_INVALID_D3D10_DEVICE_KHR\00"
@.str.62 = [30 x i8] c"CL_INVALID_D3D10_RESOURCE_KHR\00"
@.str.63 = [39 x i8] c"CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR\00"
@.str.64 = [35 x i8] c"CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR\00"
@.str.65 = [21 x i8] c"Unknown OpenCL error\00"
@.str.66 = [31 x i8] c"OpenCL Error %d (%s), line %d\0A\00"
define void @CheckOpenCLError(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
store i32 %0, i32* %3
store i32 %1, i32* %4
%6 = load i32, i32* %3
%7 = load i32, i32* @CL_SUCCESS
%8 = icmp ne i32 %6, %7
br i1 %8, label %9, label %82
9: ; preds = %2
%10 = load i32, i32* %3
switch i32 %10, label %76 [
i32 0, label %11
i32 -1, label %12
i32 -2, label %13
i32 -3, label %14
i32 -4, label %15
i32 -5, label %16
i32 -6, label %17
i32 -7, label %18
i32 -8, label %19
i32 -9, label %20
i32 -10, label %21
i32 -11, label %22
i32 -12, label %23
i32 -13, label %24
i32 -14, label %25
i32 -15, label %26
i32 -16, label %27
i32 -17, label %28
i32 -18, label %29
i32 -19, label %30
i32 -30, label %31
i32 -31, label %32
i32 -32, label %33
i32 -33, label %34
i32 -34, label %35
i32 -35, label %36
i32 -36, label %37
i32 -37, label %38
i32 -38, label %39
i32 -39, label %40
i32 -40, label %41
i32 -41, label %42
i32 -42, label %43
i32 -43, label %44
i32 -44, label %45
i32 -45, label %46
i32 -46, label %47
i32 -47, label %48
i32 -48, label %49
i32 -49, label %50
i32 -50, label %51
i32 -51, label %52
i32 -52, label %53
i32 -53, label %54
i32 -54, label %55
i32 -55, label %56
i32 -56, label %57
i32 -57, label %58
i32 -58, label %59
i32 -59, label %60
i32 -60, label %61
i32 -61, label %62
i32 -62, label %63
i32 -63, label %64
i32 -64, label %65
i32 -65, label %66
i32 -66, label %67
i32 -67, label %68
i32 -68, label %69
i32 -1000, label %70
i32 -1001, label %71
i32 -1002, label %72
i32 -1003, label %73
i32 -1004, label %74
i32 -1005, label %75
]
11: ; preds = %9
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8** %5
br label %77
12: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i8** %5
br label %77
13: ; preds = %9
store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i8** %5
br label %77
14: ; preds = %9
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i8** %5
br label %77
15: ; preds = %9
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8** %5
br label %77
16: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), i8** %5
br label %77
17: ; preds = %9
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i8** %5
br label %77
18: ; preds = %9
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i8** %5
br label %77
19: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i8** %5
br label %77
20: ; preds = %9
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), i8** %5
br label %77
21: ; preds = %9
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0), i8** %5
br label %77
22: ; preds = %9
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8** %5
br label %77
23: ; preds = %9
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), i8** %5
br label %77
24: ; preds = %9
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), i8** %5
br label %77
25: ; preds = %9
store i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), i8** %5
br label %77
26: ; preds = %9
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), i8** %5
br label %77
27: ; preds = %9
store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), i8** %5
br label %77
28: ; preds = %9
store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), i8** %5
br label %77
29: ; preds = %9
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), i8** %5
br label %77
30: ; preds = %9
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0), i8** %5
br label %77
31: ; preds = %9
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i8** %5
br label %77
32: ; preds = %9
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8** %5
br label %77
33: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), i8** %5
br label %77
34: ; preds = %9
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0), i8** %5
br label %77
35: ; preds = %9
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i8** %5
br label %77
36: ; preds = %9
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.25, i64 0, i64 0), i8** %5
br label %77
37: ; preds = %9
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), i8** %5
br label %77
38: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), i8** %5
br label %77
39: ; preds = %9
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), i8** %5
br label %77
40: ; preds = %9
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.29, i64 0, i64 0), i8** %5
br label %77
41: ; preds = %9
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.30, i64 0, i64 0), i8** %5
br label %77
42: ; preds = %9
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.31, i64 0, i64 0), i8** %5
br label %77
43: ; preds = %9
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.32, i64 0, i64 0), i8** %5
br label %77
44: ; preds = %9
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.33, i64 0, i64 0), i8** %5
br label %77
45: ; preds = %9
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.34, i64 0, i64 0), i8** %5
br label %77
46: ; preds = %9
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.35, i64 0, i64 0), i8** %5
br label %77
47: ; preds = %9
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.36, i64 0, i64 0), i8** %5
br label %77
48: ; preds = %9
store i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.37, i64 0, i64 0), i8** %5
br label %77
49: ; preds = %9
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.38, i64 0, i64 0), i8** %5
br label %77
50: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.39, i64 0, i64 0), i8** %5
br label %77
51: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.40, i64 0, i64 0), i8** %5
br label %77
52: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.41, i64 0, i64 0), i8** %5
br label %77
53: ; preds = %9
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.42, i64 0, i64 0), i8** %5
br label %77
54: ; preds = %9
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.43, i64 0, i64 0), i8** %5
br label %77
55: ; preds = %9
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.44, i64 0, i64 0), i8** %5
br label %77
56: ; preds = %9
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.45, i64 0, i64 0), i8** %5
br label %77
57: ; preds = %9
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.46, i64 0, i64 0), i8** %5
br label %77
58: ; preds = %9
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0), i8** %5
br label %77
59: ; preds = %9
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0), i8** %5
br label %77
60: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.49, i64 0, i64 0), i8** %5
br label %77
61: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0), i8** %5
br label %77
62: ; preds = %9
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.51, i64 0, i64 0), i8** %5
br label %77
63: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.52, i64 0, i64 0), i8** %5
br label %77
64: ; preds = %9
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.53, i64 0, i64 0), i8** %5
br label %77
65: ; preds = %9
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.54, i64 0, i64 0), i8** %5
br label %77
66: ; preds = %9
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.55, i64 0, i64 0), i8** %5
br label %77
67: ; preds = %9
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.56, i64 0, i64 0), i8** %5
br label %77
68: ; preds = %9
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.57, i64 0, i64 0), i8** %5
br label %77
69: ; preds = %9
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.58, i64 0, i64 0), i8** %5
br label %77
70: ; preds = %9
store i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.59, i64 0, i64 0), i8** %5
br label %77
71: ; preds = %9
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.60, i64 0, i64 0), i8** %5
br label %77
72: ; preds = %9
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.61, i64 0, i64 0), i8** %5
br label %77
73: ; preds = %9
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.62, i64 0, i64 0), i8** %5
br label %77
74: ; preds = %9
store i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.63, i64 0, i64 0), i8** %5
br label %77
75: ; preds = %9
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.64, i64 0, i64 0), i8** %5
br label %77
76: ; preds = %9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.65, i64 0, i64 0), i8** %5
br label %77
77: ; preds = %76, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11
%78 = load i32, i32* %3
%79 = load i8*, i8** %5
%80 = load i32, i32* %4
%81 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.66, i64 0, i64 0), i32 %78, i8* %79, i32 %80)
br label %82
82: ; preds = %77, %2
ret void
}

LLVM IR (-O2):
@CL_SUCCESS = global i32 0
@.str = [11 x i8] c"CL_SUCCESS\00"
@.str.1 = [20 x i8] c"CL_DEVICE_NOT_FOUND\00"
@.str.2 = [24 x i8] c"CL_DEVICE_NOT_AVAILABLE\00"
@.str.3 = [26 x i8] c"CL_COMPILER_NOT_AVAILABLE\00"
@.str.4 = [33 x i8] c"CL_MEM_OBJECT_ALLOCATION_FAILURE\00"
@.str.5 = [20 x i8] c"CL_OUT_OF_RESOURCES\00"
@.str.6 = [22 x i8] c"CL_OUT_OF_HOST_MEMORY\00"
@.str.7 = [32 x i8] c"CL_PROFILING_INFO_NOT_AVAILABLE\00"
@.str.8 = [20 x i8] c"CL_MEM_COPY_OVERLAP\00"
@.str.9 = [25 x i8] c"CL_IMAGE_FORMAT_MISMATCH\00"
@.str.10 = [30 x i8] c"CL_IMAGE_FORMAT_NOT_SUPPORTED\00"
@.str.11 = [25 x i8] c"CL_BUILD_PROGRAM_FAILURE\00"
@.str.12 = [15 x i8] c"CL_MAP_FAILURE\00"
@.str.13 = [32 x i8] c"CL_MISALIGNED_SUB_BUFFER_OFFSET\00"
@.str.14 = [45 x i8] c"CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST\00"
@.str.15 = [27 x i8] c"CL_COMPILE_PROGRAM_FAILURE\00"
@.str.16 = [24 x i8] c"CL_LINKER_NOT_AVAILABLE\00"
@.str.17 = [24 x i8] c"CL_LINK_PROGRAM_FAILURE\00"
@.str.18 = [27 x i8] c"CL_DEVICE_PARTITION_FAILED\00"
@.str.19 = [33 x i8] c"CL_KERNEL_ARG_INFO_NOT_AVAILABLE\00"
@.str.20 = [17 x i8] c"CL_INVALID_VALUE\00"
@.str.21 = [23 x i8] c"CL_INVALID_DEVICE_TYPE\00"
@.str.22 = [20 x i8] c"CL_INVALID_PLATFORM\00"
@.str.23 = [18 x i8] c"CL_INVALID_DEVICE\00"
@.str.24 = [19 x i8] c"CL_INVALID_CONTEXT\00"
@.str.25 = [28 x i8] c"CL_INVALID_QUEUE_PROPERTIES\00"
@.str.26 = [25 x i8] c"CL_INVALID_COMMAND_QUEUE\00"
@.str.27 = [20 x i8] c"CL_INVALID_HOST_PTR\00"
@.str.28 = [22 x i8] c"CL_INVALID_MEM_OBJECT\00"
@.str.29 = [35 x i8] c"CL_INVALID_IMAGE_FORMAT_DESCRIPTOR\00"
@.str.30 = [22 x i8] c"CL_INVALID_IMAGE_SIZE\00"
@.str.31 = [19 x i8] c"CL_INVALID_SAMPLER\00"
@.str.32 = [18 x i8] c"CL_INVALID_BINARY\00"
@.str.33 = [25 x i8] c"CL_INVALID_BUILD_OPTIONS\00"
@.str.34 = [19 x i8] c"CL_INVALID_PROGRAM\00"
@.str.35 = [30 x i8] c"CL_INVALID_PROGRAM_EXECUTABLE\00"
@.str.36 = [23 x i8] c"CL_INVALID_KERNEL_NAME\00"
@.str.37 = [29 x i8] c"CL_INVALID_KERNEL_DEFINITION\00"
@.str.38 = [18 x i8] c"CL_INVALID_KERNEL\00"
@.str.39 = [21 x i8] c"CL_INVALID_ARG_INDEX\00"
@.str.40 = [21 x i8] c"CL_INVALID_ARG_VALUE\00"
@.str.41 = [20 x i8] c"CL_INVALID_ARG_SIZE\00"
@.str.42 = [23 x i8] c"CL_INVALID_KERNEL_ARGS\00"
@.str.43 = [26 x i8] c"CL_INVALID_WORK_DIMENSION\00"
@.str.44 = [27 x i8] c"CL_INVALID_WORK_GROUP_SIZE\00"
@.str.45 = [26 x i8] c"CL_INVALID_WORK_ITEM_SIZE\00"
@.str.46 = [25 x i8] c"CL_INVALID_GLOBAL_OFFSET\00"
@.str.47 = [27 x i8] c"CL_INVALID_EVENT_WAIT_LIST\00"
@.str.48 = [17 x i8] c"CL_INVALID_EVENT\00"
@.str.49 = [21 x i8] c"CL_INVALID_OPERATION\00"
@.str.50 = [21 x i8] c"CL_INVALID_GL_OBJECT\00"
@.str.51 = [23 x i8] c"CL_INVALID_BUFFER_SIZE\00"
@.str.52 = [21 x i8] c"CL_INVALID_MIP_LEVEL\00"
@.str.53 = [28 x i8] c"CL_INVALID_GLOBAL_WORK_SIZE\00"
@.str.54 = [20 x i8] c"CL_INVALID_PROPERTY\00"
@.str.55 = [28 x i8] c"CL_INVALID_IMAGE_DESCRIPTOR\00"
@.str.56 = [28 x i8] c"CL_INVALID_COMPILER_OPTIONS\00"
@.str.57 = [26 x i8] c"CL_INVALID_LINKER_OPTIONS\00"
@.str.58 = [34 x i8] c"CL_INVALID_DEVICE_PARTITION_COUNT\00"
@.str.59 = [39 x i8] c"CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR\00"
@.str.60 = [26 x i8] c"CL_PLATFORM_NOT_FOUND_KHR\00"
@.str.61 = [28 x i8] c"CL_INVALID_D3D10_DEVICE_KHR\00"
@.str.62 = [30 x i8] c"CL_INVALID_D3D10_RESOURCE_KHR\00"
@.str.63 = [39 x i8] c"CL_D3D10_RESOURCE_ALREADY_ACQUIRED_KHR\00"
@.str.64 = [35 x i8] c"CL_D3D10_RESOURCE_NOT_ACQUIRED_KHR\00"
@.str.65 = [21 x i8] c"Unknown OpenCL error\00"
@.str.66 = [31 x i8] c"OpenCL Error %d (%s), line %d\0A\00"
define void @CheckOpenCLError(i32 %0, i32 %1) {
%3 = load i32, i32* @CL_SUCCESS
%4 = icmp eq i32 %3, %0
br i1 %4, label %74, label %5
5: ; preds = %2
switch i32 %0, label %70 [
i32 0, label %71
i32 -1, label %6
i32 -2, label %7
i32 -3, label %8
i32 -4, label %9
i32 -5, label %10
i32 -6, label %11
i32 -7, label %12
i32 -8, label %13
i32 -9, label %14
i32 -10, label %15
i32 -11, label %16
i32 -12, label %17
i32 -13, label %18
i32 -14, label %19
i32 -15, label %20
i32 -16, label %21
i32 -17, label %22
i32 -18, label %23
i32 -19, label %24
i32 -30, label %25
i32 -31, label %26
i32 -32, label %27
i32 -33, label %28
i32 -34, label %29
i32 -35, label %30
i32 -36, label %31
i32 -37, label %32
i32 -38, label %33
i32 -39, label %34
i32 -40, label %35
i32 -41, label %36
i32 -42, label %37
i32 -43, label %38
i32 -44, label %39
i32 -45, label %40
i32 -46, label %41
i32 -47, label %42
i32 -48, label %43
i32 -49, label %44
i32 -50, label %45
i32 -51, label %46
i32 -52, label %47
i32 -53, label %48
i32 -54, label %49
i32 -55, label %50
i32 -56, label %51
i32 -57, label %52
i32 -58, label %53
i32 -59, label %54
i32 -60, label %55
i32 -61, label %56
i32 -62, label %57
i32 -63, label %58
i32 -64, label %59
i32 -65, label %60
i32 -66, label %61
i32 -67, label %62
i32 -68, label %63
i32 -1000, label %64
i32 -1001, label %65
i32 -1002, label %66
i32 -1003, label %67
i32 -1004, label %68
i32 -1005, label %69
]
6: ; preds = %5
br label %71
7: ; preds = %5
br label %71
8: ; preds = %5
br label %71
9: ; preds = %5
br label %71
10: ; preds = %5
br label %71
11: ; preds = %5
br label %71
12: ; preds = %5
br label %71
13: ; preds = %5
br label %71
14: ; preds = %5
br label %71
15: ; preds = %5
br label %71
16: ; preds = %5
br label %71
17: ; preds = %5
br label %71
18: ; preds = %5
br label %71
19: ; preds = %5
br label %71
20: ; preds = %5
br label %71
21: ; preds = %5
br label %71
22: ; preds = %5
br label %71
23: ; preds = %5
br label %71
24: ; preds = %5
br label %71
25: ; preds = %5
br label %71
26: ; preds = %5
br label %71
27: ; preds = %5
br label %71
28: ; preds = %5
br label %71
29: ; preds = %5
br label %71
30: ; preds = %5
br label %71
31: ; preds = %5
br label %71
32: ; preds = %5
br label %71
33: ; preds = %5
br label %71
34: ; preds = %5
br label %71
35: ; preds = %5
br label %71
36: ; preds = %5
br label %71
37: ; preds = %5
br label %71
38: ; preds = %5
br label %71
39: ; preds = %5
br label %71
40: ; preds = %5
br label %71
41: ; preds = %5
br label %71
42: ; preds = %5
br label %71
43: ; preds = %5
br label %71
44: ; preds = %5
br label %71
45: ; preds = %5
br label %71
46: ; preds = %5
br label %71
47: ; preds = %5
br label %71
48: ; preds = %5
br label %71
49: ; preds = %5
br label %71
50: ; preds = %5
br label %71
51: ; preds = %5
br label %71
52: ; preds = %5
br label %71
53: ; preds = %5
br label %71
54: ; preds = %5
br label %71
55: ; preds = %5
br label %71
56: ; preds = %5
br label %71
57: ; preds = %5
br label %71
58: ; preds = %5
br label %71
59: ; preds = %5
br label %71
60: ; preds = %5
br label %71
61: ; preds = %5
br label %71
62: ; preds = %5
br label %71
63: ; preds = %5
br label %71
64: ; preds = %5
br label %71
65: ; preds = %5
br label %71
66: ; preds = %5
br label %71
67: ; preds = %5
br label %71
68: ; preds = %5
br label %71
69: ; preds = %5
br label %71
70: ; preds = %5
br label %71
71: ; preds = %5, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6
%72 = phi i8* [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.65, i64 0, i64 0), %70 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.64, i64 0, i64 0), %69 ], [ getelementptr inbounds ([39 x i8], [39 x i8]* @.str.63, i64 0, i64 0), %68 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.62, i64 0, i64 0), %67 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.61, i64 0, i64 0), %66 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.60, i64 0, i64 0), %65 ], [ getelementptr inbounds ([39 x i8], [39 x i8]* @.str.59, i64 0, i64 0), %64 ], [ getelementptr inbounds ([34 x i8], [34 x i8]* @.str.58, i64 0, i64 0), %63 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.57, i64 0, i64 0), %62 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.56, i64 0, i64 0), %61 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.55, i64 0, i64 0), %60 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.54, i64 0, i64 0), %59 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.53, i64 0, i64 0), %58 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.52, i64 0, i64 0), %57 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.51, i64 0, i64 0), %56 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0), %55 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.49, i64 0, i64 0), %54 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.48, i64 0, i64 0), %53 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0), %52 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.46, i64 0, i64 0), %51 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.45, i64 0, i64 0), %50 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.44, i64 0, i64 0), %49 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.43, i64 0, i64 0), %48 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.42, i64 0, i64 0), %47 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.41, i64 0, i64 0), %46 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.40, i64 0, i64 0), %45 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.39, i64 0, i64 0), %44 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.38, i64 0, i64 0), %43 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.37, i64 0, i64 0), %42 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.36, i64 0, i64 0), %41 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.35, i64 0, i64 0), %40 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.34, i64 0, i64 0), %39 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.33, i64 0, i64 0), %38 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.32, i64 0, i64 0), %37 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.31, i64 0, i64 0), %36 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.30, i64 0, i64 0), %35 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.29, i64 0, i64 0), %34 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), %33 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.27, i64 0, i64 0), %32 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.26, i64 0, i64 0), %31 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.25, i64 0, i64 0), %30 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), %29 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0), %28 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0), %27 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), %26 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), %25 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0), %24 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.18, i64 0, i64 0), %23 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), %22 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.16, i64 0, i64 0), %21 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), %20 ], [ getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0), %19 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), %18 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), %17 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), %16 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0), %15 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.9, i64 0, i64 0), %14 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), %13 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), %12 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), %11 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), %10 ], [ getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), %9 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), %8 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), %7 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), %6 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), %5 ]
%73 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.66, i64 0, i64 0), i32 %0, i8* %72, i32 %1)
br label %74
74: ; preds = %71, %2
ret void
}