#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 */
double benchmark1();
double benchmark10();
double benchmark2();
double benchmark3();
double benchmark4();
double benchmark5();
double benchmark6();
double benchmark7();
double benchmark8();
double benchmark9();
int /*<<< orphan*/ print_results(double);
int /*<<< orphan*/ print_summary(int, int);
int /*<<< orphan*/ print_version();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main(void) {
  double elapsed;
  int count;
  int i;
  count = 0;
  srand(time(NULL));
  print_version();
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[error]\n", "sub2ind");
    elapsed = benchmark1();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[error],offset=0\n", "sub2ind");
    elapsed = benchmark2();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[wrap]\n", "sub2ind");
    elapsed = benchmark3();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[wrap],offset=0\n", "sub2ind");
    elapsed = benchmark4();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[clamp]\n", "sub2ind");
    elapsed = benchmark5();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[clamp],offset=0\n", "sub2ind");
    elapsed = benchmark6();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[wrap,clamp]\n", "sub2ind");
    elapsed = benchmark7();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[wrap,clamp,clamp]\n", "sub2ind");
    elapsed = benchmark8();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[clamp,wrap]\n", "sub2ind");
    elapsed = benchmark9();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  for (i = 0; i < 3; i++) {
    count += 1;
    printf("# c::native::%s:mode=[clamp,wrap,wrap]\n", "sub2ind");
    elapsed = benchmark10();
    print_results(elapsed);
    printf("ok %d benchmark finished\n", count);
  }
  print_summary(count, count);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x14(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   10d0 <time@plt>
mov    %eax,%edi
call   10b0 <srand@plt>
mov    $0x0,%al
call   1030 <print_version@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    1291 <main+0x91>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xdb2(%rip),%rdi
lea    0xdc9(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1060 <benchmark1@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xdaa(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1234 <main+0x34>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    12f5 <main+0xf5>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xd8e(%rip),%rdi
lea    0xd65(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1110 <benchmark2@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xd46(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1298 <main+0x98>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    1359 <main+0x159>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xd51(%rip),%rdi
lea    0xd01(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1080 <benchmark3@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xce2(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12fc <main+0xfc>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    13bd <main+0x1bd>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xd0a(%rip),%rdi
lea    0xc9d(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1100 <benchmark4@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xc7e(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1360 <main+0x160>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    1421 <main+0x221>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xccc(%rip),%rdi
lea    0xc39(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1070 <benchmark5@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xc1a(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13c4 <main+0x1c4>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    1485 <main+0x285>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xc86(%rip),%rdi
lea    0xbd5(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10f0 <benchmark6@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xbb6(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1428 <main+0x228>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    14e9 <main+0x2e9>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xc49(%rip),%rdi
lea    0xb71(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1050 <benchmark7@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xb52(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    148c <main+0x28c>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    154d <main+0x34d>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xc08(%rip),%rdi
lea    0xb0d(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10e0 <benchmark8@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xaee(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14f0 <main+0x2f0>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    15b1 <main+0x3b1>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xbcd(%rip),%rdi
lea    0xaa9(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   1040 <benchmark9@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xa8a(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1554 <main+0x354>
movl   $0x0,-0x18(%rbp)
cmpl   $0x3,-0x18(%rbp)
jge    1615 <main+0x415>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
lea    0xb8c(%rip),%rdi
lea    0xa45(%rip),%rsi
mov    $0x0,%al
call   1090 <printf@plt>
mov    $0x0,%al
call   10c0 <benchmark10@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
call   10a0 <print_results@plt>
mov    -0x14(%rbp),%esi
lea    0xa26(%rip),%rdi
mov    $0x0,%al
call   1090 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    15b8 <main+0x3b8>
mov    -0x14(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1120 <print_summary@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
xor    %edi,%edi
call   10d0 <time@plt>
mov    %eax,%edi
call   10b0 <srand@plt>
xor    %eax,%eax
call   1030 <print_version@plt>
lea    0xddf(%rip),%rbx
lea    0xdf6(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1060 <benchmark1@plt>
call   10a0 <print_results@plt>
lea    0xdde(%rip),%r15
mov    %r15,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1060 <benchmark1@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1060 <benchmark1@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xd92(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1110 <benchmark2@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1110 <benchmark2@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1110 <benchmark2@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xd3a(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1080 <benchmark3@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1080 <benchmark3@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1080 <benchmark3@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xcd8(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1100 <benchmark4@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1100 <benchmark4@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1100 <benchmark4@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xc7f(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1070 <benchmark5@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1070 <benchmark5@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1070 <benchmark5@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xc1e(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10f0 <benchmark6@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10f0 <benchmark6@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x11,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10f0 <benchmark6@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x12,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xbc6(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1050 <benchmark7@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x13,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1050 <benchmark7@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x14,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1050 <benchmark7@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x15,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xb6a(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10e0 <benchmark8@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x16,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10e0 <benchmark8@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x17,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10e0 <benchmark8@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x18,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xb14(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1040 <benchmark9@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x19,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1040 <benchmark9@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x1a,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1040 <benchmark9@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x1b,%esi
xor    %eax,%eax
call   1090 <printf@plt>
lea    0xab8(%rip),%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10c0 <benchmark10@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x1c,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10c0 <benchmark10@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x1d,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   10c0 <benchmark10@plt>
call   10a0 <print_results@plt>
mov    %r15,%rdi
mov    $0x1e,%esi
xor    %eax,%eax
call   1090 <printf@plt>
mov    $0x1e,%edi
mov    $0x1e,%esi
call   1120 <print_summary@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [30 x i8] c"# c::native::%s:mode=[error]\0A\00"
@.str.1 = [8 x i8] c"sub2ind\00"
@.str.2 = [26 x i8] c"ok %d benchmark finished\0A\00"
@.str.3 = [39 x i8] c"# c::native::%s:mode=[error],offset=0\0A\00"
@.str.4 = [29 x i8] c"# c::native::%s:mode=[wrap]\0A\00"
@.str.5 = [38 x i8] c"# c::native::%s:mode=[wrap],offset=0\0A\00"
@.str.6 = [30 x i8] c"# c::native::%s:mode=[clamp]\0A\00"
@.str.7 = [39 x i8] c"# c::native::%s:mode=[clamp],offset=0\0A\00"
@.str.8 = [35 x i8] c"# c::native::%s:mode=[wrap,clamp]\0A\00"
@.str.9 = [41 x i8] c"# c::native::%s:mode=[wrap,clamp,clamp]\0A\00"
@.str.10 = [35 x i8] c"# c::native::%s:mode=[clamp,wrap]\0A\00"
@.str.11 = [40 x i8] c"# c::native::%s:mode=[clamp,wrap,wrap]\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
%5 = call i32 @time(i32* null)
%6 = call i32 @srand(i32 %5)
%7 = call i32 (...) @print_version()
store i32 0, i32* %4
br label %8
8: ; preds = %20, %0
%9 = load i32, i32* %4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %23
11: ; preds = %8
%12 = load i32, i32* %3
%13 = add nsw i32 %12, 1
store i32 %13, i32* %3
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%15 = call double (...) @benchmark1()
store double %15, double* %2
%16 = load double, double* %2
%17 = call i32 @print_results(double %16)
%18 = load i32, i32* %3
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %18)
br label %20
20: ; preds = %11
%21 = load i32, i32* %4
%22 = add nsw i32 %21, 1
store i32 %22, i32* %4
br label %8
23: ; preds = %8
store i32 0, i32* %4
br label %24
24: ; preds = %36, %23
%25 = load i32, i32* %4
%26 = icmp slt i32 %25, 3
br i1 %26, label %27, label %39
27: ; preds = %24
%28 = load i32, i32* %3
%29 = add nsw i32 %28, 1
store i32 %29, i32* %3
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%31 = call double (...) @benchmark2()
store double %31, double* %2
%32 = load double, double* %2
%33 = call i32 @print_results(double %32)
%34 = load i32, i32* %3
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %34)
br label %36
36: ; preds = %27
%37 = load i32, i32* %4
%38 = add nsw i32 %37, 1
store i32 %38, i32* %4
br label %24
39: ; preds = %24
store i32 0, i32* %4
br label %40
40: ; preds = %52, %39
%41 = load i32, i32* %4
%42 = icmp slt i32 %41, 3
br i1 %42, label %43, label %55
43: ; preds = %40
%44 = load i32, i32* %3
%45 = add nsw i32 %44, 1
store i32 %45, i32* %3
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%47 = call double (...) @benchmark3()
store double %47, double* %2
%48 = load double, double* %2
%49 = call i32 @print_results(double %48)
%50 = load i32, i32* %3
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %50)
br label %52
52: ; preds = %43
%53 = load i32, i32* %4
%54 = add nsw i32 %53, 1
store i32 %54, i32* %4
br label %40
55: ; preds = %40
store i32 0, i32* %4
br label %56
56: ; preds = %68, %55
%57 = load i32, i32* %4
%58 = icmp slt i32 %57, 3
br i1 %58, label %59, label %71
59: ; preds = %56
%60 = load i32, i32* %3
%61 = add nsw i32 %60, 1
store i32 %61, i32* %3
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%63 = call double (...) @benchmark4()
store double %63, double* %2
%64 = load double, double* %2
%65 = call i32 @print_results(double %64)
%66 = load i32, i32* %3
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %66)
br label %68
68: ; preds = %59
%69 = load i32, i32* %4
%70 = add nsw i32 %69, 1
store i32 %70, i32* %4
br label %56
71: ; preds = %56
store i32 0, i32* %4
br label %72
72: ; preds = %84, %71
%73 = load i32, i32* %4
%74 = icmp slt i32 %73, 3
br i1 %74, label %75, label %87
75: ; preds = %72
%76 = load i32, i32* %3
%77 = add nsw i32 %76, 1
store i32 %77, i32* %3
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%79 = call double (...) @benchmark5()
store double %79, double* %2
%80 = load double, double* %2
%81 = call i32 @print_results(double %80)
%82 = load i32, i32* %3
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %82)
br label %84
84: ; preds = %75
%85 = load i32, i32* %4
%86 = add nsw i32 %85, 1
store i32 %86, i32* %4
br label %72
87: ; preds = %72
store i32 0, i32* %4
br label %88
88: ; preds = %100, %87
%89 = load i32, i32* %4
%90 = icmp slt i32 %89, 3
br i1 %90, label %91, label %103
91: ; preds = %88
%92 = load i32, i32* %3
%93 = add nsw i32 %92, 1
store i32 %93, i32* %3
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%95 = call double (...) @benchmark6()
store double %95, double* %2
%96 = load double, double* %2
%97 = call i32 @print_results(double %96)
%98 = load i32, i32* %3
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %98)
br label %100
100: ; preds = %91
%101 = load i32, i32* %4
%102 = add nsw i32 %101, 1
store i32 %102, i32* %4
br label %88
103: ; preds = %88
store i32 0, i32* %4
br label %104
104: ; preds = %116, %103
%105 = load i32, i32* %4
%106 = icmp slt i32 %105, 3
br i1 %106, label %107, label %119
107: ; preds = %104
%108 = load i32, i32* %3
%109 = add nsw i32 %108, 1
store i32 %109, i32* %3
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%111 = call double (...) @benchmark7()
store double %111, double* %2
%112 = load double, double* %2
%113 = call i32 @print_results(double %112)
%114 = load i32, i32* %3
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %114)
br label %116
116: ; preds = %107
%117 = load i32, i32* %4
%118 = add nsw i32 %117, 1
store i32 %118, i32* %4
br label %104
119: ; preds = %104
store i32 0, i32* %4
br label %120
120: ; preds = %132, %119
%121 = load i32, i32* %4
%122 = icmp slt i32 %121, 3
br i1 %122, label %123, label %135
123: ; preds = %120
%124 = load i32, i32* %3
%125 = add nsw i32 %124, 1
store i32 %125, i32* %3
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%127 = call double (...) @benchmark8()
store double %127, double* %2
%128 = load double, double* %2
%129 = call i32 @print_results(double %128)
%130 = load i32, i32* %3
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %130)
br label %132
132: ; preds = %123
%133 = load i32, i32* %4
%134 = add nsw i32 %133, 1
store i32 %134, i32* %4
br label %120
135: ; preds = %120
store i32 0, i32* %4
br label %136
136: ; preds = %148, %135
%137 = load i32, i32* %4
%138 = icmp slt i32 %137, 3
br i1 %138, label %139, label %151
139: ; preds = %136
%140 = load i32, i32* %3
%141 = add nsw i32 %140, 1
store i32 %141, i32* %3
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%143 = call double (...) @benchmark9()
store double %143, double* %2
%144 = load double, double* %2
%145 = call i32 @print_results(double %144)
%146 = load i32, i32* %3
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %146)
br label %148
148: ; preds = %139
%149 = load i32, i32* %4
%150 = add nsw i32 %149, 1
store i32 %150, i32* %4
br label %136
151: ; preds = %136
store i32 0, i32* %4
br label %152
152: ; preds = %164, %151
%153 = load i32, i32* %4
%154 = icmp slt i32 %153, 3
br i1 %154, label %155, label %167
155: ; preds = %152
%156 = load i32, i32* %3
%157 = add nsw i32 %156, 1
store i32 %157, i32* %3
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%159 = call double (...) @benchmark10()
store double %159, double* %2
%160 = load double, double* %2
%161 = call i32 @print_results(double %160)
%162 = load i32, i32* %3
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 %162)
br label %164
164: ; preds = %155
%165 = load i32, i32* %4
%166 = add nsw i32 %165, 1
store i32 %166, i32* %4
br label %152
167: ; preds = %152
%168 = load i32, i32* %3
%169 = load i32, i32* %3
%170 = call i32 @print_summary(i32 %168, i32 %169)
%171 = load i32, i32* %1
ret i32 %171
}

LLVM IR (-O2):
@.str = [30 x i8] c"# c::native::%s:mode=[error]\0A\00"
@.str.1 = [8 x i8] c"sub2ind\00"
@.str.2 = [26 x i8] c"ok %d benchmark finished\0A\00"
@.str.3 = [39 x i8] c"# c::native::%s:mode=[error],offset=0\0A\00"
@.str.4 = [29 x i8] c"# c::native::%s:mode=[wrap]\0A\00"
@.str.5 = [38 x i8] c"# c::native::%s:mode=[wrap],offset=0\0A\00"
@.str.6 = [30 x i8] c"# c::native::%s:mode=[clamp]\0A\00"
@.str.7 = [39 x i8] c"# c::native::%s:mode=[clamp],offset=0\0A\00"
@.str.8 = [35 x i8] c"# c::native::%s:mode=[wrap,clamp]\0A\00"
@.str.9 = [41 x i8] c"# c::native::%s:mode=[wrap,clamp,clamp]\0A\00"
@.str.10 = [35 x i8] c"# c::native::%s:mode=[clamp,wrap]\0A\00"
@.str.11 = [40 x i8] c"# c::native::%s:mode=[clamp,wrap,wrap]\0A\00"
define i32 @main() {
%1 = tail call i32 @time(i32* null)
%2 = tail call i32 @srand(i32 %1)
%3 = tail call i32 (...) @print_version()
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call double (...) @benchmark1()
%6 = tail call i32 @print_results(double %5)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 1)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call double (...) @benchmark1()
%10 = tail call i32 @print_results(double %9)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 2)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%13 = tail call double (...) @benchmark1()
%14 = tail call i32 @print_results(double %13)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 3)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%17 = tail call double (...) @benchmark2()
%18 = tail call i32 @print_results(double %17)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 4)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%21 = tail call double (...) @benchmark2()
%22 = tail call i32 @print_results(double %21)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 5)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%25 = tail call double (...) @benchmark2()
%26 = tail call i32 @print_results(double %25)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 6)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%29 = tail call double (...) @benchmark3()
%30 = tail call i32 @print_results(double %29)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 7)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%33 = tail call double (...) @benchmark3()
%34 = tail call i32 @print_results(double %33)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 8)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%37 = tail call double (...) @benchmark3()
%38 = tail call i32 @print_results(double %37)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 9)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%41 = tail call double (...) @benchmark4()
%42 = tail call i32 @print_results(double %41)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 10)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%45 = tail call double (...) @benchmark4()
%46 = tail call i32 @print_results(double %45)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 11)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%49 = tail call double (...) @benchmark4()
%50 = tail call i32 @print_results(double %49)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 12)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%53 = tail call double (...) @benchmark5()
%54 = tail call i32 @print_results(double %53)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 13)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%57 = tail call double (...) @benchmark5()
%58 = tail call i32 @print_results(double %57)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 14)
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%61 = tail call double (...) @benchmark5()
%62 = tail call i32 @print_results(double %61)
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 15)
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%65 = tail call double (...) @benchmark6()
%66 = tail call i32 @print_results(double %65)
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 16)
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%69 = tail call double (...) @benchmark6()
%70 = tail call i32 @print_results(double %69)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 17)
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%73 = tail call double (...) @benchmark6()
%74 = tail call i32 @print_results(double %73)
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 18)
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%77 = tail call double (...) @benchmark7()
%78 = tail call i32 @print_results(double %77)
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 19)
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%81 = tail call double (...) @benchmark7()
%82 = tail call i32 @print_results(double %81)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 20)
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%85 = tail call double (...) @benchmark7()
%86 = tail call i32 @print_results(double %85)
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 21)
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%89 = tail call double (...) @benchmark8()
%90 = tail call i32 @print_results(double %89)
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 22)
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%93 = tail call double (...) @benchmark8()
%94 = tail call i32 @print_results(double %93)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 23)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%97 = tail call double (...) @benchmark8()
%98 = tail call i32 @print_results(double %97)
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 24)
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%101 = tail call double (...) @benchmark9()
%102 = tail call i32 @print_results(double %101)
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 25)
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%105 = tail call double (...) @benchmark9()
%106 = tail call i32 @print_results(double %105)
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 26)
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%109 = tail call double (...) @benchmark9()
%110 = tail call i32 @print_results(double %109)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 27)
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%113 = tail call double (...) @benchmark10()
%114 = tail call i32 @print_results(double %113)
%115 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 28)
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%117 = tail call double (...) @benchmark10()
%118 = tail call i32 @print_results(double %117)
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 29)
%120 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%121 = tail call double (...) @benchmark10()
%122 = tail call i32 @print_results(double %121)
%123 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0), i32 30)
%124 = tail call i32 @print_summary(i32 30, i32 30)
ret i32 0
}