#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 */

/* Variables and functions */
int /*<<< orphan*/ conjugate_gradient(unsigned int);
int /*<<< orphan*/ double_axpy(unsigned int);
int /*<<< orphan*/ double_dmatvec_product(unsigned int);
int /*<<< orphan*/ double_dot_product(unsigned int);
int /*<<< orphan*/ double_norm(unsigned int);
int /*<<< orphan*/ double_scalar_mult(unsigned int);
int /*<<< orphan*/ double_spgemm(unsigned long);
int /*<<< orphan*/ double_spmatvec_product(unsigned long);
int /*<<< orphan*/ double_stencil19(unsigned int);
int /*<<< orphan*/ double_stencil27(unsigned int);
int /*<<< orphan*/ double_stencil5(unsigned int);
int /*<<< orphan*/ double_stencil9(unsigned int);
int /*<<< orphan*/ fileparse(unsigned int);
int /*<<< orphan*/ float_axpy(unsigned int);
int /*<<< orphan*/ float_dmatvec_product(unsigned int);
int /*<<< orphan*/ float_dot_product(unsigned int);
int /*<<< orphan*/ float_norm(unsigned int);
int /*<<< orphan*/ float_scalar_mult(unsigned int);
int /*<<< orphan*/ float_spgemm(unsigned long);
int /*<<< orphan*/ float_spmatvec_product(unsigned long);
int /*<<< orphan*/ float_stencil19(unsigned int);
int /*<<< orphan*/ float_stencil27(unsigned int);
int /*<<< orphan*/ float_stencil5(unsigned int);
int /*<<< orphan*/ float_stencil9(unsigned int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ int_axpy(unsigned int);
int /*<<< orphan*/ int_dmatvec_product(unsigned int);
int /*<<< orphan*/ int_dot_product(unsigned int);
int /*<<< orphan*/ int_norm(unsigned int);
int /*<<< orphan*/ int_scalar_mult(unsigned int);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
void bench_level1(char *b, unsigned int s, unsigned long r, char *o, char *dt) {
  if (strcmp(b, "blas_op") == 0) {
    if (strcmp(o, "dot_product") == 0) {
      if (strcmp(dt, "int") == 0)
        int_dot_product(s);
      else if (strcmp(dt, "float") == 0)
        float_dot_product(s);
      else if (strcmp(dt, "double") == 0)
        double_dot_product(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "scalar_mult") == 0) {
      if (strcmp(dt, "int") == 0)
        int_scalar_mult(s);
      else if (strcmp(dt, "float") == 0)
        float_scalar_mult(s);
      else if (strcmp(dt, "double") == 0)
        double_scalar_mult(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "norm") == 0) {
      if (strcmp(dt, "int") == 0)
        int_norm(s);
      else if (strcmp(dt, "float") == 0)
        float_norm(s);
      else if (strcmp(dt, "double") == 0)
        double_norm(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "axpy") == 0) {
      if (strcmp(dt, "int") == 0)
        int_axpy(s);
      else if (strcmp(dt, "float") == 0)
        float_axpy(s);
      else if (strcmp(dt, "double") == 0)
        double_axpy(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "dmv") == 0) {
      if (strcmp(dt, "int") == 0)
        int_dmatvec_product(s);
      else if (strcmp(dt, "float") == 0)
        float_dmatvec_product(s);
      else if (strcmp(dt, "double") == 0)
        double_dmatvec_product(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "spmv") == 0) {
      if (strcmp(dt, "float") == 0)
        float_spmatvec_product(r);
      else if (strcmp(dt, "double") == 0)
        double_spmatvec_product(r);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "spgemm") == 0) {
      if (strcmp(dt, "float") == 0)
        float_spgemm(r);
      else if (strcmp(dt, "double") == 0)
        double_spgemm(r);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    }
  } else if (strcmp(b, "stencil") == 0) {
    if (strcmp(o, "27") == 0 || strcmp(o, "dot_product") == 0) {
      if (strcmp(dt, "float") == 0)
        float_stencil27(s);
      else if (strcmp(dt, "double") == 0)
        double_stencil27(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "19") == 0) {
      if (strcmp(dt, "float") == 0)
        float_stencil19(s);
      else if (strcmp(dt, "double") == 0)
        double_stencil19(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "9") == 0) {
      if (strcmp(dt, "float") == 0)
        float_stencil9(s);
      else if (strcmp(dt, "double") == 0)
        double_stencil9(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else if (strcmp(o, "5") == 0) {
      if (strcmp(dt, "float") == 0)
        float_stencil5(s);
      else if (strcmp(dt, "double") == 0)
        double_stencil5(s);
      else
        fprintf(stderr, "ERROR: check you are using a valid data type...\n");
    } else
      fprintf(stderr, "ERROR: check you are using a valid operation type...\n");
  } else if (strcmp(b, "fileparse") == 0) {
    if (strcmp(o, "dot_product") == 0) {
      fileparse(s);
    } else
      fprintf(stderr, "ERROR: check you are using a valid operation type...\n");
  } else if (strcmp(b, "cg") == 0) {
    conjugate_gradient(s);
  } else
    fprintf(stderr, "ERROR: check you are using a valid benchmark...\n");
}


x86 assembly (clang, -O0):
<bench_level1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xcea(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    17d9 <bench_level1+0x4e9>
mov    -0x20(%rbp),%rdi
lea    0xcd8(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    13d8 <bench_level1+0xe8>
mov    -0x28(%rbp),%rdi
lea    0xcca(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1366 <bench_level1+0x76>
mov    -0xc(%rbp),%edi
call   10e0 <int_dot_product@plt>
jmp    13d3 <bench_level1+0xe3>
mov    -0x28(%rbp),%rdi
lea    0xca7(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    138d <bench_level1+0x9d>
mov    -0xc(%rbp),%edi
call   1040 <float_dot_product@plt>
jmp    13ce <bench_level1+0xde>
mov    -0x28(%rbp),%rdi
lea    0xc86(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    13b4 <bench_level1+0xc4>
mov    -0xc(%rbp),%edi
call   11e0 <double_dot_product@plt>
jmp    13c9 <bench_level1+0xd9>
mov    0x2c25(%rip),%rax
mov    (%rax),%edi
lea    0xc61(%rip),%rsi
call   1100 <fprintf@plt>
jmp    13ce <bench_level1+0xde>
jmp    13d3 <bench_level1+0xe3>
jmp    17d4 <bench_level1+0x4e4>
mov    -0x20(%rbp),%rdi
lea    0xc73(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    148b <bench_level1+0x19b>
mov    -0x28(%rbp),%rdi
lea    0xc17(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1419 <bench_level1+0x129>
mov    -0xc(%rbp),%edi
call   1180 <int_scalar_mult@plt>
jmp    1486 <bench_level1+0x196>
mov    -0x28(%rbp),%rdi
lea    0xbf4(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1440 <bench_level1+0x150>
mov    -0xc(%rbp),%edi
call   11a0 <float_scalar_mult@plt>
jmp    1481 <bench_level1+0x191>
mov    -0x28(%rbp),%rdi
lea    0xbd3(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1467 <bench_level1+0x177>
mov    -0xc(%rbp),%edi
call   1150 <double_scalar_mult@plt>
jmp    147c <bench_level1+0x18c>
mov    0x2b72(%rip),%rax
mov    (%rax),%edi
lea    0xbae(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1481 <bench_level1+0x191>
jmp    1486 <bench_level1+0x196>
jmp    17cf <bench_level1+0x4df>
mov    -0x20(%rbp),%rdi
lea    0xbcc(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    153e <bench_level1+0x24e>
mov    -0x28(%rbp),%rdi
lea    0xb64(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    14cc <bench_level1+0x1dc>
mov    -0xc(%rbp),%edi
call   1030 <int_norm@plt>
jmp    1539 <bench_level1+0x249>
mov    -0x28(%rbp),%rdi
lea    0xb41(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    14f3 <bench_level1+0x203>
mov    -0xc(%rbp),%edi
call   1080 <float_norm@plt>
jmp    1534 <bench_level1+0x244>
mov    -0x28(%rbp),%rdi
lea    0xb20(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    151a <bench_level1+0x22a>
mov    -0xc(%rbp),%edi
call   11f0 <double_norm@plt>
jmp    152f <bench_level1+0x23f>
mov    0x2abf(%rip),%rax
mov    (%rax),%edi
lea    0xafb(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1534 <bench_level1+0x244>
jmp    1539 <bench_level1+0x249>
jmp    17ca <bench_level1+0x4da>
mov    -0x20(%rbp),%rdi
lea    0xb1e(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    15f1 <bench_level1+0x301>
mov    -0x28(%rbp),%rdi
lea    0xab1(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    157f <bench_level1+0x28f>
mov    -0xc(%rbp),%edi
call   11c0 <int_axpy@plt>
jmp    15ec <bench_level1+0x2fc>
mov    -0x28(%rbp),%rdi
lea    0xa8e(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    15a6 <bench_level1+0x2b6>
mov    -0xc(%rbp),%edi
call   1200 <float_axpy@plt>
jmp    15e7 <bench_level1+0x2f7>
mov    -0x28(%rbp),%rdi
lea    0xa6d(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    15cd <bench_level1+0x2dd>
mov    -0xc(%rbp),%edi
call   1050 <double_axpy@plt>
jmp    15e2 <bench_level1+0x2f2>
mov    0x2a0c(%rip),%rax
mov    (%rax),%edi
lea    0xa48(%rip),%rsi
call   1100 <fprintf@plt>
jmp    15e7 <bench_level1+0x2f7>
jmp    15ec <bench_level1+0x2fc>
jmp    17c5 <bench_level1+0x4d5>
mov    -0x20(%rbp),%rdi
lea    0xa70(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    16a4 <bench_level1+0x3b4>
mov    -0x28(%rbp),%rdi
lea    0x9fe(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1632 <bench_level1+0x342>
mov    -0xc(%rbp),%edi
call   1110 <int_dmatvec_product@plt>
jmp    169f <bench_level1+0x3af>
mov    -0x28(%rbp),%rdi
lea    0x9db(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1659 <bench_level1+0x369>
mov    -0xc(%rbp),%edi
call   10c0 <float_dmatvec_product@plt>
jmp    169a <bench_level1+0x3aa>
mov    -0x28(%rbp),%rdi
lea    0x9ba(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1680 <bench_level1+0x390>
mov    -0xc(%rbp),%edi
call   11b0 <double_dmatvec_product@plt>
jmp    1695 <bench_level1+0x3a5>
mov    0x2959(%rip),%rax
mov    (%rax),%edi
lea    0x995(%rip),%rsi
call   1100 <fprintf@plt>
jmp    169a <bench_level1+0x3aa>
jmp    169f <bench_level1+0x3af>
jmp    17c0 <bench_level1+0x4d0>
mov    -0x20(%rbp),%rdi
lea    0x9c1(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    172d <bench_level1+0x43d>
mov    -0x28(%rbp),%rdi
lea    0x94f(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    16e6 <bench_level1+0x3f6>
mov    -0x18(%rbp),%rdi
call   1170 <float_spmatvec_product@plt>
jmp    1728 <bench_level1+0x438>
mov    -0x28(%rbp),%rdi
lea    0x92d(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    170e <bench_level1+0x41e>
mov    -0x18(%rbp),%rdi
call   11d0 <double_spmatvec_product@plt>
jmp    1723 <bench_level1+0x433>
mov    0x28cb(%rip),%rax
mov    (%rax),%edi
lea    0x907(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1728 <bench_level1+0x438>
jmp    17bb <bench_level1+0x4cb>
mov    -0x20(%rbp),%rdi
lea    0x93d(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    17b6 <bench_level1+0x4c6>
mov    -0x28(%rbp),%rdi
lea    0x8c6(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    176f <bench_level1+0x47f>
mov    -0x18(%rbp),%rdi
call   1130 <float_spgemm@plt>
jmp    17b1 <bench_level1+0x4c1>
mov    -0x28(%rbp),%rdi
lea    0x8a4(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1797 <bench_level1+0x4a7>
mov    -0x18(%rbp),%rdi
call   1160 <double_spgemm@plt>
jmp    17ac <bench_level1+0x4bc>
mov    0x2842(%rip),%rax
mov    (%rax),%edi
lea    0x87e(%rip),%rsi
call   1100 <fprintf@plt>
jmp    17b1 <bench_level1+0x4c1>
jmp    17b6 <bench_level1+0x4c6>
jmp    17bb <bench_level1+0x4cb>
jmp    17c0 <bench_level1+0x4d0>
jmp    17c5 <bench_level1+0x4d5>
jmp    17ca <bench_level1+0x4da>
jmp    17cf <bench_level1+0x4df>
jmp    17d4 <bench_level1+0x4e4>
jmp    1af8 <bench_level1+0x808>
mov    -0x8(%rbp),%rdi
lea    0x898(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1a52 <bench_level1+0x762>
mov    -0x20(%rbp),%rdi
lea    0x886(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
je     1827 <bench_level1+0x537>
mov    -0x20(%rbp),%rdi
lea    0x7f0(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1894 <bench_level1+0x5a4>
mov    -0x28(%rbp),%rdi
lea    0x7e6(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    184e <bench_level1+0x55e>
mov    -0xc(%rbp),%edi
call   1060 <float_stencil27@plt>
jmp    188f <bench_level1+0x59f>
mov    -0x28(%rbp),%rdi
lea    0x7c5(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1875 <bench_level1+0x585>
mov    -0xc(%rbp),%edi
call   10b0 <double_stencil27@plt>
jmp    188a <bench_level1+0x59a>
mov    0x2764(%rip),%rax
mov    (%rax),%edi
lea    0x7a0(%rip),%rsi
call   1100 <fprintf@plt>
jmp    188f <bench_level1+0x59f>
jmp    1a4d <bench_level1+0x75d>
mov    -0x20(%rbp),%rdi
lea    0x7e8(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    191b <bench_level1+0x62b>
mov    -0x28(%rbp),%rdi
lea    0x75f(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    18d5 <bench_level1+0x5e5>
mov    -0xc(%rbp),%edi
call   10f0 <float_stencil19@plt>
jmp    1916 <bench_level1+0x626>
mov    -0x28(%rbp),%rdi
lea    0x73e(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    18fc <bench_level1+0x60c>
mov    -0xc(%rbp),%edi
call   1210 <double_stencil19@plt>
jmp    1911 <bench_level1+0x621>
mov    0x26dd(%rip),%rax
mov    (%rax),%edi
lea    0x719(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1916 <bench_level1+0x626>
jmp    1a48 <bench_level1+0x758>
mov    -0x20(%rbp),%rdi
lea    0x762(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    19a2 <bench_level1+0x6b2>
mov    -0x28(%rbp),%rdi
lea    0x6d8(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    195c <bench_level1+0x66c>
mov    -0xc(%rbp),%edi
call   1120 <float_stencil9@plt>
jmp    199d <bench_level1+0x6ad>
mov    -0x28(%rbp),%rdi
lea    0x6b7(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1983 <bench_level1+0x693>
mov    -0xc(%rbp),%edi
call   1090 <double_stencil9@plt>
jmp    1998 <bench_level1+0x6a8>
mov    0x2656(%rip),%rax
mov    (%rax),%edi
lea    0x692(%rip),%rsi
call   1100 <fprintf@plt>
jmp    199d <bench_level1+0x6ad>
jmp    1a43 <bench_level1+0x753>
mov    -0x20(%rbp),%rdi
lea    0x6dd(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1a29 <bench_level1+0x739>
mov    -0x28(%rbp),%rdi
lea    0x651(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    19e3 <bench_level1+0x6f3>
mov    -0xc(%rbp),%edi
call   1140 <float_stencil5@plt>
jmp    1a24 <bench_level1+0x734>
mov    -0x28(%rbp),%rdi
lea    0x630(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1a0a <bench_level1+0x71a>
mov    -0xc(%rbp),%edi
call   10a0 <double_stencil5@plt>
jmp    1a1f <bench_level1+0x72f>
mov    0x25cf(%rip),%rax
mov    (%rax),%edi
lea    0x60b(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1a24 <bench_level1+0x734>
jmp    1a3e <bench_level1+0x74e>
mov    0x25b0(%rip),%rax
mov    (%rax),%edi
lea    0x653(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1a43 <bench_level1+0x753>
jmp    1a48 <bench_level1+0x758>
jmp    1a4d <bench_level1+0x75d>
jmp    1af3 <bench_level1+0x803>
mov    -0x8(%rbp),%rdi
lea    0x665(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1aad <bench_level1+0x7bd>
mov    -0x20(%rbp),%rdi
lea    0x591(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1a93 <bench_level1+0x7a3>
mov    -0xc(%rbp),%edi
call   1190 <fileparse@plt>
jmp    1aa8 <bench_level1+0x7b8>
mov    0x2546(%rip),%rax
mov    (%rax),%edi
lea    0x5e9(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1aee <bench_level1+0x7fe>
mov    -0x8(%rbp),%rdi
lea    0x614(%rip),%rsi
call   10d0 <strcmp@plt>
cmp    $0x0,%rax
jne    1ad4 <bench_level1+0x7e4>
mov    -0xc(%rbp),%edi
call   1070 <conjugate_gradient@plt>
jmp    1ae9 <bench_level1+0x7f9>
mov    0x2505(%rip),%rax
mov    (%rax),%edi
lea    0x5eb(%rip),%rsi
call   1100 <fprintf@plt>
jmp    1aee <bench_level1+0x7fe>
jmp    1af3 <bench_level1+0x803>
jmp    1af8 <bench_level1+0x808>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<bench_level1>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %r8,%r15
mov    %rcx,%rbp
mov    %rdx,%r12
mov    %esi,%r14d
mov    %rdi,%rbx
lea    0xcf2(%rip),%rsi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1375 <bench_level1+0x85>
lea    0xd5d(%rip),%rsi
mov    %rbx,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1426 <bench_level1+0x136>
lea    0xd8b(%rip),%rsi
mov    %rbx,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     14da <bench_level1+0x1ea>
lea    0xd7d(%rip),%rsi
mov    %rbx,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     159f <bench_level1+0x2af>
mov    0x2c79(%rip),%rax
mov    (%rax),%edi
lea    0xd5f(%rip),%rsi
jmp    18ab <bench_level1+0x5bb>
lea    0xc8c(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1547 <bench_level1+0x257>
lea    0xcc2(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     15af <bench_level1+0x2bf>
lea    0xcb6(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1607 <bench_level1+0x317>
lea    0xca3(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     168f <bench_level1+0x39f>
lea    0xc90(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1747 <bench_level1+0x457>
lea    0xc7c(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     17ff <bench_level1+0x50f>
lea    0xc69(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     186b <bench_level1+0x57b>
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc57(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1507 <bench_level1+0x217>
lea    0xbc3(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1507 <bench_level1+0x217>
lea    0xc2a(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     16e7 <bench_level1+0x3f7>
lea    0xc13(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     179f <bench_level1+0x4af>
lea    0xbfd(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    14f2 <bench_level1+0x202>
lea    0xb77(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     18e8 <bench_level1+0x5f8>
lea    0xb65(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10a0 <double_stencil5@plt>
lea    0xb27(%rip),%rsi
mov    %rbp,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     165f <bench_level1+0x36f>
mov    0x2ae7(%rip),%rax
mov    (%rax),%edi
lea    0xb8a(%rip),%rsi
jmp    18ab <bench_level1+0x5bb>
lea    0xb0a(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     166f <bench_level1+0x37f>
lea    0xaf8(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10b0 <double_stencil27@plt>
lea    0xac6(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     167f <bench_level1+0x38f>
lea    0xab2(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1727 <bench_level1+0x437>
lea    0xaa0(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11e0 <double_dot_product@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <conjugate_gradient@plt>
lea    0xa5e(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1737 <bench_level1+0x447>
lea    0xa4a(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     17df <bench_level1+0x4ef>
lea    0xa38(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1150 <double_scalar_mult@plt>
lea    0xa06(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     17ef <bench_level1+0x4ff>
lea    0x9f2(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     183b <bench_level1+0x54b>
lea    0x9e0(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11f0 <double_norm@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1190 <fileparse@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <float_stencil27@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10e0 <int_dot_product@plt>
lea    0x97e(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     184b <bench_level1+0x55b>
lea    0x96a(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     18b8 <bench_level1+0x5c8>
lea    0x958(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <double_axpy@plt>
lea    0x92a(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     185b <bench_level1+0x56b>
lea    0x918(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1210 <double_stencil19@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <float_dot_product@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1180 <int_scalar_mult@plt>
lea    0x8c6(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     18c8 <bench_level1+0x5d8>
lea    0x8b2(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     18f8 <bench_level1+0x608>
lea    0x8a0(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11b0 <double_dmatvec_product@plt>
lea    0x872(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     18d8 <bench_level1+0x5e8>
lea    0x860(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1090 <double_stencil9@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11a0 <float_scalar_mult@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <int_norm@plt>
lea    0x812(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1908 <bench_level1+0x618>
lea    0x800(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
jne    189b <bench_level1+0x5ab>
mov    %r12,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11d0 <double_spmatvec_product@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1080 <float_norm@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    11c0 <int_axpy@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10f0 <float_stencil19@plt>
lea    0x7a6(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1918 <bench_level1+0x628>
lea    0x794(%rip),%rsi
mov    %r15,%rdi
call   10d0 <strcmp@plt>
test   %rax,%rax
je     1928 <bench_level1+0x638>
mov    0x273e(%rip),%rax
mov    (%rax),%edi
lea    0x77a(%rip),%rsi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1100 <fprintf@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1200 <float_axpy@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1110 <int_dmatvec_product@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1120 <float_stencil9@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1140 <float_stencil5@plt>
mov    %r14d,%edi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    10c0 <float_dmatvec_product@plt>
mov    %r12,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1170 <float_spmatvec_product@plt>
mov    %r12,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1130 <float_spgemm@plt>
mov    %r12,%rdi
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
jmp    1160 <double_spgemm@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"blas_op\00"
@.str.1 = [12 x i8] c"dot_product\00"
@.str.2 = [4 x i8] c"int\00"
@.str.3 = [6 x i8] c"float\00"
@.str.4 = [7 x i8] c"double\00"
@stderr = global i32 0
@.str.5 = [49 x i8] c"ERROR: check you are using a valid data type...\0A\00"
@.str.6 = [12 x i8] c"scalar_mult\00"
@.str.7 = [5 x i8] c"norm\00"
@.str.8 = [5 x i8] c"axpy\00"
@.str.9 = [4 x i8] c"dmv\00"
@.str.10 = [5 x i8] c"spmv\00"
@.str.11 = [7 x i8] c"spgemm\00"
@.str.12 = [8 x i8] c"stencil\00"
@.str.13 = [3 x i8] c"27\00"
@.str.14 = [3 x i8] c"19\00"
@.str.15 = [2 x i8] c"9\00"
@.str.16 = [2 x i8] c"5\00"
@.str.17 = [54 x i8] c"ERROR: check you are using a valid operation type...\0A\00"
@.str.18 = [10 x i8] c"fileparse\00"
@.str.19 = [3 x i8] c"cg\00"
@.str.20 = [49 x i8] c"ERROR: check you are using a valid benchmark...\0A\00"
define void @bench_level1(i8* %0, i32 %1, i64 %2, i8* %3, i8* %4) {
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i64
%9 = alloca i8*
%10 = alloca i8*
store i8* %0, i8** %6
store i32 %1, i32* %7
store i64 %2, i64* %8
store i8* %3, i8** %9
store i8* %4, i8** %10
%11 = load i8*, i8** %6
%12 = call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %222
14: ; preds = %5
%15 = load i8*, i8** %9
%16 = call i64 @strcmp(i8* %15, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %45
18: ; preds = %14
%19 = load i8*, i8** %10
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %18
%23 = load i32, i32* %7
%24 = call i32 @int_dot_product(i32 %23)
br label %44
25: ; preds = %18
%26 = load i8*, i8** %10
%27 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, i32* %7
%31 = call i32 @float_dot_product(i32 %30)
br label %43
32: ; preds = %25
%33 = load i8*, i8** %10
%34 = call i64 @strcmp(i8* %33, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load i32, i32* %7
%38 = call i32 @double_dot_product(i32 %37)
br label %42
39: ; preds = %32
%40 = load i32, i32* @stderr
%41 = call i32 @fprintf(i32 %40, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %42
42: ; preds = %39, %36
br label %43
43: ; preds = %42, %29
br label %44
44: ; preds = %43, %22
br label %221
45: ; preds = %14
%46 = load i8*, i8** %9
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %76
49: ; preds = %45
%50 = load i8*, i8** %10
%51 = call i64 @strcmp(i8* %50, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, i32* %7
%55 = call i32 @int_scalar_mult(i32 %54)
br label %75
56: ; preds = %49
%57 = load i8*, i8** %10
%58 = call i64 @strcmp(i8* %57, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %56
%61 = load i32, i32* %7
%62 = call i32 @float_scalar_mult(i32 %61)
br label %74
63: ; preds = %56
%64 = load i8*, i8** %10
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %63
%68 = load i32, i32* %7
%69 = call i32 @double_scalar_mult(i32 %68)
br label %73
70: ; preds = %63
%71 = load i32, i32* @stderr
%72 = call i32 @fprintf(i32 %71, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %73
73: ; preds = %70, %67
br label %74
74: ; preds = %73, %60
br label %75
75: ; preds = %74, %53
br label %220
76: ; preds = %45
%77 = load i8*, i8** %9
%78 = call i64 @strcmp(i8* %77, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %107
80: ; preds = %76
%81 = load i8*, i8** %10
%82 = call i64 @strcmp(i8* %81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %80
%85 = load i32, i32* %7
%86 = call i32 @int_norm(i32 %85)
br label %106
87: ; preds = %80
%88 = load i8*, i8** %10
%89 = call i64 @strcmp(i8* %88, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %91, label %94
91: ; preds = %87
%92 = load i32, i32* %7
%93 = call i32 @float_norm(i32 %92)
br label %105
94: ; preds = %87
%95 = load i8*, i8** %10
%96 = call i64 @strcmp(i8* %95, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = load i32, i32* %7
%100 = call i32 @double_norm(i32 %99)
br label %104
101: ; preds = %94
%102 = load i32, i32* @stderr
%103 = call i32 @fprintf(i32 %102, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %104
104: ; preds = %101, %98
br label %105
105: ; preds = %104, %91
br label %106
106: ; preds = %105, %84
br label %219
107: ; preds = %76
%108 = load i8*, i8** %9
%109 = call i64 @strcmp(i8* %108, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %138
111: ; preds = %107
%112 = load i8*, i8** %10
%113 = call i64 @strcmp(i8* %112, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %118
115: ; preds = %111
%116 = load i32, i32* %7
%117 = call i32 @int_axpy(i32 %116)
br label %137
118: ; preds = %111
%119 = load i8*, i8** %10
%120 = call i64 @strcmp(i8* %119, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%121 = icmp eq i64 %120, 0
br i1 %121, label %122, label %125
122: ; preds = %118
%123 = load i32, i32* %7
%124 = call i32 @float_axpy(i32 %123)
br label %136
125: ; preds = %118
%126 = load i8*, i8** %10
%127 = call i64 @strcmp(i8* %126, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%128 = icmp eq i64 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %125
%130 = load i32, i32* %7
%131 = call i32 @double_axpy(i32 %130)
br label %135
132: ; preds = %125
%133 = load i32, i32* @stderr
%134 = call i32 @fprintf(i32 %133, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %135
135: ; preds = %132, %129
br label %136
136: ; preds = %135, %122
br label %137
137: ; preds = %136, %115
br label %218
138: ; preds = %107
%139 = load i8*, i8** %9
%140 = call i64 @strcmp(i8* %139, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%141 = icmp eq i64 %140, 0
br i1 %141, label %142, label %169
142: ; preds = %138
%143 = load i8*, i8** %10
%144 = call i64 @strcmp(i8* %143, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%145 = icmp eq i64 %144, 0
br i1 %145, label %146, label %149
146: ; preds = %142
%147 = load i32, i32* %7
%148 = call i32 @int_dmatvec_product(i32 %147)
br label %168
149: ; preds = %142
%150 = load i8*, i8** %10
%151 = call i64 @strcmp(i8* %150, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %156
153: ; preds = %149
%154 = load i32, i32* %7
%155 = call i32 @float_dmatvec_product(i32 %154)
br label %167
156: ; preds = %149
%157 = load i8*, i8** %10
%158 = call i64 @strcmp(i8* %157, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%159 = icmp eq i64 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %156
%161 = load i32, i32* %7
%162 = call i32 @double_dmatvec_product(i32 %161)
br label %166
163: ; preds = %156
%164 = load i32, i32* @stderr
%165 = call i32 @fprintf(i32 %164, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %166
166: ; preds = %163, %160
br label %167
167: ; preds = %166, %153
br label %168
168: ; preds = %167, %146
br label %217
169: ; preds = %138
%170 = load i8*, i8** %9
%171 = call i64 @strcmp(i8* %170, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %192
173: ; preds = %169
%174 = load i8*, i8** %10
%175 = call i64 @strcmp(i8* %174, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%176 = icmp eq i64 %175, 0
br i1 %176, label %177, label %180
177: ; preds = %173
%178 = load i64, i64* %8
%179 = call i32 @float_spmatvec_product(i64 %178)
br label %191
180: ; preds = %173
%181 = load i8*, i8** %10
%182 = call i64 @strcmp(i8* %181, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%183 = icmp eq i64 %182, 0
br i1 %183, label %184, label %187
184: ; preds = %180
%185 = load i64, i64* %8
%186 = call i32 @double_spmatvec_product(i64 %185)
br label %190
187: ; preds = %180
%188 = load i32, i32* @stderr
%189 = call i32 @fprintf(i32 %188, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %190
190: ; preds = %187, %184
br label %191
191: ; preds = %190, %177
br label %216
192: ; preds = %169
%193 = load i8*, i8** %9
%194 = call i64 @strcmp(i8* %193, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%195 = icmp eq i64 %194, 0
br i1 %195, label %196, label %215
196: ; preds = %192
%197 = load i8*, i8** %10
%198 = call i64 @strcmp(i8* %197, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%199 = icmp eq i64 %198, 0
br i1 %199, label %200, label %203
200: ; preds = %196
%201 = load i64, i64* %8
%202 = call i32 @float_spgemm(i64 %201)
br label %214
203: ; preds = %196
%204 = load i8*, i8** %10
%205 = call i64 @strcmp(i8* %204, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%206 = icmp eq i64 %205, 0
br i1 %206, label %207, label %210
207: ; preds = %203
%208 = load i64, i64* %8
%209 = call i32 @double_spgemm(i64 %208)
br label %213
210: ; preds = %203
%211 = load i32, i32* @stderr
%212 = call i32 @fprintf(i32 %211, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %213
213: ; preds = %210, %207
br label %214
214: ; preds = %213, %200
br label %215
215: ; preds = %214, %192
br label %216
216: ; preds = %215, %191
br label %217
217: ; preds = %216, %168
br label %218
218: ; preds = %217, %137
br label %219
219: ; preds = %218, %106
br label %220
220: ; preds = %219, %75
br label %221
221: ; preds = %220, %44
br label %357
222: ; preds = %5
%223 = load i8*, i8** %6
%224 = call i64 @strcmp(i8* %223, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0))
%225 = icmp eq i64 %224, 0
br i1 %225, label %226, label %329
226: ; preds = %222
%227 = load i8*, i8** %9
%228 = call i64 @strcmp(i8* %227, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%229 = icmp eq i64 %228, 0
br i1 %229, label %234, label %230
230: ; preds = %226
%231 = load i8*, i8** %9
%232 = call i64 @strcmp(i8* %231, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%233 = icmp eq i64 %232, 0
br i1 %233, label %234, label %253
234: ; preds = %230, %226
%235 = load i8*, i8** %10
%236 = call i64 @strcmp(i8* %235, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%237 = icmp eq i64 %236, 0
br i1 %237, label %238, label %241
238: ; preds = %234
%239 = load i32, i32* %7
%240 = call i32 @float_stencil27(i32 %239)
br label %252
241: ; preds = %234
%242 = load i8*, i8** %10
%243 = call i64 @strcmp(i8* %242, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%244 = icmp eq i64 %243, 0
br i1 %244, label %245, label %248
245: ; preds = %241
%246 = load i32, i32* %7
%247 = call i32 @double_stencil27(i32 %246)
br label %251
248: ; preds = %241
%249 = load i32, i32* @stderr
%250 = call i32 @fprintf(i32 %249, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %251
251: ; preds = %248, %245
br label %252
252: ; preds = %251, %238
br label %328
253: ; preds = %230
%254 = load i8*, i8** %9
%255 = call i64 @strcmp(i8* %254, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%256 = icmp eq i64 %255, 0
br i1 %256, label %257, label %276
257: ; preds = %253
%258 = load i8*, i8** %10
%259 = call i64 @strcmp(i8* %258, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%260 = icmp eq i64 %259, 0
br i1 %260, label %261, label %264
261: ; preds = %257
%262 = load i32, i32* %7
%263 = call i32 @float_stencil19(i32 %262)
br label %275
264: ; preds = %257
%265 = load i8*, i8** %10
%266 = call i64 @strcmp(i8* %265, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%267 = icmp eq i64 %266, 0
br i1 %267, label %268, label %271
268: ; preds = %264
%269 = load i32, i32* %7
%270 = call i32 @double_stencil19(i32 %269)
br label %274
271: ; preds = %264
%272 = load i32, i32* @stderr
%273 = call i32 @fprintf(i32 %272, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %274
274: ; preds = %271, %268
br label %275
275: ; preds = %274, %261
br label %327
276: ; preds = %253
%277 = load i8*, i8** %9
%278 = call i64 @strcmp(i8* %277, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%279 = icmp eq i64 %278, 0
br i1 %279, label %280, label %299
280: ; preds = %276
%281 = load i8*, i8** %10
%282 = call i64 @strcmp(i8* %281, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%283 = icmp eq i64 %282, 0
br i1 %283, label %284, label %287
284: ; preds = %280
%285 = load i32, i32* %7
%286 = call i32 @float_stencil9(i32 %285)
br label %298
287: ; preds = %280
%288 = load i8*, i8** %10
%289 = call i64 @strcmp(i8* %288, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%290 = icmp eq i64 %289, 0
br i1 %290, label %291, label %294
291: ; preds = %287
%292 = load i32, i32* %7
%293 = call i32 @double_stencil9(i32 %292)
br label %297
294: ; preds = %287
%295 = load i32, i32* @stderr
%296 = call i32 @fprintf(i32 %295, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %297
297: ; preds = %294, %291
br label %298
298: ; preds = %297, %284
br label %326
299: ; preds = %276
%300 = load i8*, i8** %9
%301 = call i64 @strcmp(i8* %300, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%302 = icmp eq i64 %301, 0
br i1 %302, label %303, label %322
303: ; preds = %299
%304 = load i8*, i8** %10
%305 = call i64 @strcmp(i8* %304, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%306 = icmp eq i64 %305, 0
br i1 %306, label %307, label %310
307: ; preds = %303
%308 = load i32, i32* %7
%309 = call i32 @float_stencil5(i32 %308)
br label %321
310: ; preds = %303
%311 = load i8*, i8** %10
%312 = call i64 @strcmp(i8* %311, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%313 = icmp eq i64 %312, 0
br i1 %313, label %314, label %317
314: ; preds = %310
%315 = load i32, i32* %7
%316 = call i32 @double_stencil5(i32 %315)
br label %320
317: ; preds = %310
%318 = load i32, i32* @stderr
%319 = call i32 @fprintf(i32 %318, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %320
320: ; preds = %317, %314
br label %321
321: ; preds = %320, %307
br label %325
322: ; preds = %299
%323 = load i32, i32* @stderr
%324 = call i32 @fprintf(i32 %323, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
br label %325
325: ; preds = %322, %321
br label %326
326: ; preds = %325, %298
br label %327
327: ; preds = %326, %275
br label %328
328: ; preds = %327, %252
br label %356
329: ; preds = %222
%330 = load i8*, i8** %6
%331 = call i64 @strcmp(i8* %330, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0))
%332 = icmp eq i64 %331, 0
br i1 %332, label %333, label %344
333: ; preds = %329
%334 = load i8*, i8** %9
%335 = call i64 @strcmp(i8* %334, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%336 = icmp eq i64 %335, 0
br i1 %336, label %337, label %340
337: ; preds = %333
%338 = load i32, i32* %7
%339 = call i32 @fileparse(i32 %338)
br label %343
340: ; preds = %333
%341 = load i32, i32* @stderr
%342 = call i32 @fprintf(i32 %341, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
br label %343
343: ; preds = %340, %337
br label %355
344: ; preds = %329
%345 = load i8*, i8** %6
%346 = call i64 @strcmp(i8* %345, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
%347 = icmp eq i64 %346, 0
br i1 %347, label %348, label %351
348: ; preds = %344
%349 = load i32, i32* %7
%350 = call i32 @conjugate_gradient(i32 %349)
br label %354
351: ; preds = %344
%352 = load i32, i32* @stderr
%353 = call i32 @fprintf(i32 %352, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.20, i64 0, i64 0))
br label %354
354: ; preds = %351, %348
br label %355
355: ; preds = %354, %343
br label %356
356: ; preds = %355, %328
br label %357
357: ; preds = %356, %221
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"blas_op\00"
@.str.1 = [12 x i8] c"dot_product\00"
@.str.2 = [4 x i8] c"int\00"
@.str.3 = [6 x i8] c"float\00"
@.str.4 = [7 x i8] c"double\00"
@stderr = global i32 0
@.str.5 = [49 x i8] c"ERROR: check you are using a valid data type...\0A\00"
@.str.6 = [12 x i8] c"scalar_mult\00"
@.str.7 = [5 x i8] c"norm\00"
@.str.8 = [5 x i8] c"axpy\00"
@.str.9 = [4 x i8] c"dmv\00"
@.str.10 = [5 x i8] c"spmv\00"
@.str.11 = [7 x i8] c"spgemm\00"
@.str.12 = [8 x i8] c"stencil\00"
@.str.13 = [3 x i8] c"27\00"
@.str.14 = [3 x i8] c"19\00"
@.str.15 = [2 x i8] c"9\00"
@.str.16 = [2 x i8] c"5\00"
@.str.17 = [54 x i8] c"ERROR: check you are using a valid operation type...\0A\00"
@.str.18 = [10 x i8] c"fileparse\00"
@.str.19 = [3 x i8] c"cg\00"
@.str.20 = [49 x i8] c"ERROR: check you are using a valid benchmark...\0A\00"
define void @bench_level1(i8* %0, i32 %1, i64 %2, i8* %3, i8* %4) {
%6 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %145
8: ; preds = %5
%9 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %29
11: ; preds = %8
%12 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = tail call i32 @int_dot_product(i32 %1)
br label %237
16: ; preds = %11
%17 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 @float_dot_product(i32 %1)
br label %237
21: ; preds = %16
%22 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = tail call i32 @double_dot_product(i32 %1)
br label %237
26: ; preds = %21
%27 = load i32, i32* @stderr
%28 = tail call i32 @fprintf(i32 %27, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
29: ; preds = %8
%30 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %50
32: ; preds = %29
%33 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = tail call i32 @int_scalar_mult(i32 %1)
br label %237
37: ; preds = %32
%38 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = tail call i32 @float_scalar_mult(i32 %1)
br label %237
42: ; preds = %37
%43 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = tail call i32 @double_scalar_mult(i32 %1)
br label %237
47: ; preds = %42
%48 = load i32, i32* @stderr
%49 = tail call i32 @fprintf(i32 %48, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
50: ; preds = %29
%51 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %71
53: ; preds = %50
%54 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = tail call i32 @int_norm(i32 %1)
br label %237
58: ; preds = %53
%59 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = tail call i32 @float_norm(i32 %1)
br label %237
63: ; preds = %58
%64 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = tail call i32 @double_norm(i32 %1)
br label %237
68: ; preds = %63
%69 = load i32, i32* @stderr
%70 = tail call i32 @fprintf(i32 %69, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
71: ; preds = %50
%72 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %92
74: ; preds = %71
%75 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %79
77: ; preds = %74
%78 = tail call i32 @int_axpy(i32 %1)
br label %237
79: ; preds = %74
%80 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = tail call i32 @float_axpy(i32 %1)
br label %237
84: ; preds = %79
%85 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = tail call i32 @double_axpy(i32 %1)
br label %237
89: ; preds = %84
%90 = load i32, i32* @stderr
%91 = tail call i32 @fprintf(i32 %90, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
92: ; preds = %71
%93 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %113
95: ; preds = %92
%96 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %95
%99 = tail call i32 @int_dmatvec_product(i32 %1)
br label %237
100: ; preds = %95
%101 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %105
103: ; preds = %100
%104 = tail call i32 @float_dmatvec_product(i32 %1)
br label %237
105: ; preds = %100
%106 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%107 = icmp eq i64 %106, 0
br i1 %107, label %108, label %110
108: ; preds = %105
%109 = tail call i32 @double_dmatvec_product(i32 %1)
br label %237
110: ; preds = %105
%111 = load i32, i32* @stderr
%112 = tail call i32 @fprintf(i32 %111, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
113: ; preds = %92
%114 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %129
116: ; preds = %113
%117 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%118 = icmp eq i64 %117, 0
br i1 %118, label %119, label %121
119: ; preds = %116
%120 = tail call i32 @float_spmatvec_product(i64 %2)
br label %237
121: ; preds = %116
%122 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%123 = icmp eq i64 %122, 0
br i1 %123, label %124, label %126
124: ; preds = %121
%125 = tail call i32 @double_spmatvec_product(i64 %2)
br label %237
126: ; preds = %121
%127 = load i32, i32* @stderr
%128 = tail call i32 @fprintf(i32 %127, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
129: ; preds = %113
%130 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %237
132: ; preds = %129
%133 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%134 = icmp eq i64 %133, 0
br i1 %134, label %135, label %137
135: ; preds = %132
%136 = tail call i32 @float_spgemm(i64 %2)
br label %237
137: ; preds = %132
%138 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %142
140: ; preds = %137
%141 = tail call i32 @double_spgemm(i64 %2)
br label %237
142: ; preds = %137
%143 = load i32, i32* @stderr
%144 = tail call i32 @fprintf(i32 %143, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
145: ; preds = %5
%146 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0))
%147 = icmp eq i64 %146, 0
br i1 %147, label %148, label %218
148: ; preds = %145
%149 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%150 = icmp eq i64 %149, 0
br i1 %150, label %154, label %151
151: ; preds = %148
%152 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%153 = icmp eq i64 %152, 0
br i1 %153, label %154, label %167
154: ; preds = %151, %148
%155 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%156 = icmp eq i64 %155, 0
br i1 %156, label %157, label %159
157: ; preds = %154
%158 = tail call i32 @float_stencil27(i32 %1)
br label %237
159: ; preds = %154
%160 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%161 = icmp eq i64 %160, 0
br i1 %161, label %162, label %164
162: ; preds = %159
%163 = tail call i32 @double_stencil27(i32 %1)
br label %237
164: ; preds = %159
%165 = load i32, i32* @stderr
%166 = tail call i32 @fprintf(i32 %165, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
167: ; preds = %151
%168 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0))
%169 = icmp eq i64 %168, 0
br i1 %169, label %170, label %183
170: ; preds = %167
%171 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%172 = icmp eq i64 %171, 0
br i1 %172, label %173, label %175
173: ; preds = %170
%174 = tail call i32 @float_stencil19(i32 %1)
br label %237
175: ; preds = %170
%176 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%177 = icmp eq i64 %176, 0
br i1 %177, label %178, label %180
178: ; preds = %175
%179 = tail call i32 @double_stencil19(i32 %1)
br label %237
180: ; preds = %175
%181 = load i32, i32* @stderr
%182 = tail call i32 @fprintf(i32 %181, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
183: ; preds = %167
%184 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%185 = icmp eq i64 %184, 0
br i1 %185, label %186, label %199
186: ; preds = %183
%187 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%188 = icmp eq i64 %187, 0
br i1 %188, label %189, label %191
189: ; preds = %186
%190 = tail call i32 @float_stencil9(i32 %1)
br label %237
191: ; preds = %186
%192 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%193 = icmp eq i64 %192, 0
br i1 %193, label %194, label %196
194: ; preds = %191
%195 = tail call i32 @double_stencil9(i32 %1)
br label %237
196: ; preds = %191
%197 = load i32, i32* @stderr
%198 = tail call i32 @fprintf(i32 %197, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
199: ; preds = %183
%200 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
%201 = icmp eq i64 %200, 0
br i1 %201, label %202, label %215
202: ; preds = %199
%203 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%204 = icmp eq i64 %203, 0
br i1 %204, label %205, label %207
205: ; preds = %202
%206 = tail call i32 @float_stencil5(i32 %1)
br label %237
207: ; preds = %202
%208 = tail call i64 @strcmp(i8* %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%209 = icmp eq i64 %208, 0
br i1 %209, label %210, label %212
210: ; preds = %207
%211 = tail call i32 @double_stencil5(i32 %1)
br label %237
212: ; preds = %207
%213 = load i32, i32* @stderr
%214 = tail call i32 @fprintf(i32 %213, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %237
215: ; preds = %199
%216 = load i32, i32* @stderr
%217 = tail call i32 @fprintf(i32 %216, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
br label %237
218: ; preds = %145
%219 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0))
%220 = icmp eq i64 %219, 0
br i1 %220, label %221, label %229
221: ; preds = %218
%222 = tail call i64 @strcmp(i8* %3, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%223 = icmp eq i64 %222, 0
br i1 %223, label %224, label %226
224: ; preds = %221
%225 = tail call i32 @fileparse(i32 %1)
br label %237
226: ; preds = %221
%227 = load i32, i32* @stderr
%228 = tail call i32 @fprintf(i32 %227, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
br label %237
229: ; preds = %218
%230 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.19, i64 0, i64 0))
%231 = icmp eq i64 %230, 0
br i1 %231, label %232, label %234
232: ; preds = %229
%233 = tail call i32 @conjugate_gradient(i32 %1)
br label %237
234: ; preds = %229
%235 = load i32, i32* @stderr
%236 = tail call i32 @fprintf(i32 %235, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.20, i64 0, i64 0))
br label %237
237: ; preds = %178, %180, %173, %215, %210, %212, %205, %189, %196, %194, %157, %164, %162, %232, %234, %224, %226, %19, %26, %24, %14, %61, %68, %66, %56, %103, %110, %108, %98, %129, %140, %142, %135, %119, %126, %124, %77, %87, %89, %82, %35, %45, %47, %40
ret void
}