#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*/ printf(char *, ...);
void c_print_results(char *name, char class, int n1, int n2, int n3, int niter,
                     int nprocs_compiled, int nprocs_total, double t,
                     double mops, char *optype, int passed_verification,
                     char *npbversion, char *compiletime, char *shmemcc,
                     char *clink, char *cshmem_lib, char *cshmem_inc,
                     char *cmpi_lib, char *cmpi_inc, char *cflags,
                     char *clinkflags) {
  char *evalue = "1000";
  printf("\n\n %s Benchmark Completed\n", name);
  printf(" Class           =                        %c\n", class);
  if (n2 == 0 && n3 == 0)
    printf(" Size            =             %12d\n", n1);
  else
    printf(" Size            =              %3dx %3dx %3d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  printf(" Time in seconds =             %12.2f\n", t);
  printf(" Total processes =             %12d\n", nprocs_total);
  if (nprocs_compiled != 0)
    printf(" Compiled procs  =             %12d\n", nprocs_compiled);
  printf(" Mop/s total     =             %12.2f\n", mops);
  printf(" Mop/s/process   =             %12.2f\n",
         mops / ((float)nprocs_total));
  printf(" Operation type  = %24s\n", optype);
  if (passed_verification)
    printf(" Verification    =               SUCCESSFUL\n");
  else
    printf(" Verification    =             UNSUCCESSFUL\n");
  printf(" Version         =             %12s\n", npbversion);
  printf(" Compile date    =             %12s\n", compiletime);
  printf("\n Compile options:\n");
  printf("    SHMEMCC      = %s\n", shmemcc);
  printf("    CLINK        = %s\n", clink);
  printf("    CSHMEM_LIB   = %s\n", cshmem_lib);
  printf("    CSHMEM_INC   = %s\n", cshmem_inc);
  printf("    CMPI_LIB     = %s\n", cmpi_lib);
  printf("    CMPI_INC     = %s\n", cmpi_inc);
  printf("    CFLAGS       = %s\n", cflags);
  printf("    CLINKFLAGS   = %s\n", clinkflags);
  printf("\n\n");
  printf(" Please send the results of this run to:\n\n");
  printf(" NPB Development Team\n");
  printf(" Internet: npb@nas.nasa.gov\n \n");
  printf(" If email is not available, send this to:\n\n");
  printf(" MS T27A-1\n");
  printf(" NASA Ames Research Center\n");
  printf(" Moffett Field, CA  94035-1000\n\n");
  printf(" Fax: 650-604-3957\n\n");
}


x86 assembly (clang, -O0):
<c_print_results>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %sil,%al
mov    0x78(%rbp),%rsi
mov    0x70(%rbp),%rsi
mov    0x68(%rbp),%rsi
mov    0x60(%rbp),%rsi
mov    0x58(%rbp),%rsi
mov    0x50(%rbp),%rsi
mov    0x48(%rbp),%rsi
mov    0x40(%rbp),%rsi
mov    0x38(%rbp),%rsi
mov    0x30(%rbp),%rsi
mov    0x28(%rbp),%esi
mov    0x20(%rbp),%rsi
mov    0x18(%rbp),%esi
mov    0x10(%rbp),%esi
mov    %rdi,-0x8(%rbp)
mov    %al,-0x9(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
mov    %r9d,-0x1c(%rbp)
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x30(%rbp)
lea    0xe8a(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x9(%rbp),%esi
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x14(%rbp)
jne    11c8 <c_print_results+0xb8>
cmpl   $0x0,-0x18(%rbp)
jne    11c8 <c_print_results+0xb8>
mov    -0x10(%rbp),%esi
lea    0xe92(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11df <c_print_results+0xcf>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
lea    0xe9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xeb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xecb(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x18(%rbp),%esi
lea    0xee1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x10(%rbp)
je     122f <c_print_results+0x11f>
mov    0x10(%rbp),%esi
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xefd(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
cvtsi2ssl 0x18(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm0
lea    0xf04(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x20(%rbp),%rsi
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x28(%rbp)
je     1291 <c_print_results+0x181>
lea    0xf1a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    129f <c_print_results+0x18f>
lea    0xf34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x30(%rbp),%rsi
lea    0xf4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x38(%rbp),%rsi
lea    0xf62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x40(%rbp),%rsi
lea    0xf7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x48(%rbp),%rsi
lea    0xf80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x50(%rbp),%rsi
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x58(%rbp),%rsi
lea    0xf8a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x60(%rbp),%rsi
lea    0xf8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x68(%rbp),%rsi
lea    0xf94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x70(%rbp),%rsi
lea    0xf99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x78(%rbp),%rsi
lea    0xf9e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x107a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<c_print_results>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
mov    %r9d,0x8(%rsp)
mov    %r8d,%r13d
mov    %ecx,%ebx
mov    %edx,%r12d
mov    %esi,%r15d
mov    %rdi,%rsi
mov    0x118(%rsp),%rax
mov    %rax,0x70(%rsp)
mov    0x110(%rsp),%rax
mov    %rax,0x68(%rsp)
mov    0x108(%rsp),%rax
mov    %rax,0x60(%rsp)
mov    0x100(%rsp),%rax
mov    %rax,0x58(%rsp)
mov    0xf8(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0xf0(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0xe8(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0xe0(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0xd8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xc8(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0xc0(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0xb8(%rsp),%ebp
mov    0xb0(%rsp),%r14d
lea    0xe03(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe10(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13d,%eax
or     %ebx,%eax
je     1234 <c_print_results+0x114>
lea    0xe4b(%rip),%rdi
mov    %r12d,%esi
mov    %ebx,%edx
mov    %r13d,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1245 <c_print_results+0x125>
lea    0xe0e(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe51(%rip),%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe64(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe77(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r14d,%r14d
je     1291 <c_print_results+0x171>
lea    0xe87(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe9b(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %ebp,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
divsd  %xmm1,%xmm0
lea    0xe99(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xeb2(%rip),%rdi
mov    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0xc(%rsp)
lea    0xfb5(%rip),%rax
lea    0x10d0(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
lea    0xe9c(%rip),%rdi
mov    0x28(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeae(%rip),%rdi
mov    0x30(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb4(%rip),%rdi
mov    0x38(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    0x40(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xebc(%rip),%rdi
mov    0x48(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec0(%rip),%rdi
mov    0x50(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec4(%rip),%rdi
mov    0x58(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    0x60(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
mov    0x68(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed0(%rip),%rdi
mov    0x70(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfe0(%rip),%rdi
call   1030 <puts@plt>
lea    0xf07(%rip),%rdi
call   1030 <puts@plt>
lea    0xf25(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf41(%rip),%rdi
call   1030 <puts@plt>
lea    0xf60(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf82(%rip),%rdi
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"1000\00"
@.str.1 = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.2 = [46 x i8] c" Class = %c\0A\00"
@.str.3 = [37 x i8] c" Size = %12d\0A\00"
@.str.4 = [47 x i8] c" Size = %3dx %3dx %3d\0A\00"
@.str.5 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.6 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.7 = [37 x i8] c" Total processes = %12d\0A\00"
@.str.8 = [37 x i8] c" Compiled procs = %12d\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/process = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.12 = [45 x i8] c" Verification = SUCCESSFUL\0A\00"
@.str.13 = [45 x i8] c" Verification = UNSUCCESSFUL\0A\00"
@.str.14 = [37 x i8] c" Version = %12s\0A\00"
@.str.15 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.16 = [20 x i8] c"\0A Compile options:\0A\00"
@.str.17 = [23 x i8] c" SHMEMCC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CSHMEM_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CSHMEM_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.22 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.23 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.24 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@.str.25 = [3 x i8] c"\0A\0A\00"
@.str.26 = [43 x i8] c" Please send the results of this run to:\0A\0A\00"
@.str.27 = [23 x i8] c" NPB Development Team\0A\00"
@.str.28 = [31 x i8] c" Internet: npb@nas.nasa.gov\0A \0A\00"
@.str.29 = [44 x i8] c" If email is not available, send this to:\0A\0A\00"
@.str.30 = [12 x i8] c" MS T27A-1\0A\00"
@.str.31 = [28 x i8] c" NASA Ames Research Center\0A\00"
@.str.32 = [33 x i8] c" Moffett Field, CA 94035-1000\0A\0A\00"
@.str.33 = [21 x i8] c" Fax: 650-604-3957\0A\0A\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, double %8, double %9, i8* %10, i32 %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17, i8* %18, i8* %19, i8* %20, i8* %21) {
%23 = alloca i8*
%24 = alloca i8
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca double
%32 = alloca double
%33 = alloca i8*
%34 = alloca i32
%35 = alloca i8*
%36 = alloca i8*
%37 = alloca i8*
%38 = alloca i8*
%39 = alloca i8*
%40 = alloca i8*
%41 = alloca i8*
%42 = alloca i8*
%43 = alloca i8*
%44 = alloca i8*
%45 = alloca i8*
store i8* %0, i8** %23
store i8 %1, i8* %24
store i32 %2, i32* %25
store i32 %3, i32* %26
store i32 %4, i32* %27
store i32 %5, i32* %28
store i32 %6, i32* %29
store i32 %7, i32* %30
store double %8, double* %31
store double %9, double* %32
store i8* %10, i8** %33
store i32 %11, i32* %34
store i8* %12, i8** %35
store i8* %13, i8** %36
store i8* %14, i8** %37
store i8* %15, i8** %38
store i8* %16, i8** %39
store i8* %17, i8** %40
store i8* %18, i8** %41
store i8* %19, i8** %42
store i8* %20, i8** %43
store i8* %21, i8** %44
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %45
%46 = load i8*, i8** %23
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %46)
%48 = load i8, i8* %24
%49 = sext i8 %48 to i32
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %49)
%51 = load i32, i32* %26
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %22
%54 = load i32, i32* %27
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i32, i32* %25
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32 %57)
br label %64
59: ; preds = %53, %22
%60 = load i32, i32* %25
%61 = load i32, i32* %26
%62 = load i32, i32* %27
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0), i32 %60, i32 %61, i32 %62)
br label %64
64: ; preds = %59, %56
%65 = load i32, i32* %28
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %65)
%67 = load double, double* %31
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %67)
%69 = load i32, i32* %30
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %69)
%71 = load i32, i32* %29
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %64
%74 = load i32, i32* %29
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i32 %74)
br label %76
76: ; preds = %73, %64
%77 = load double, double* %32
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %77)
%79 = load double, double* %32
%80 = load i32, i32* %30
%81 = sitofp i32 %80 to float
%82 = fpext float %81 to double
%83 = fdiv double %79, %82
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %83)
%85 = load i8*, i8** %33
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %85)
%87 = load i32, i32* %34
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %76
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
br label %93
91: ; preds = %76
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
br label %93
93: ; preds = %91, %89
%94 = load i8*, i8** %35
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %94)
%96 = load i8*, i8** %36
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %96)
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0))
%99 = load i8*, i8** %37
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %99)
%101 = load i8*, i8** %38
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %101)
%103 = load i8*, i8** %39
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %103)
%105 = load i8*, i8** %40
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %105)
%107 = load i8*, i8** %41
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %107)
%109 = load i8*, i8** %42
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %109)
%111 = load i8*, i8** %43
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0), i8* %111)
%113 = load i8*, i8** %44
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.24, i64 0, i64 0), i8* %113)
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0))
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.26, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.27, i64 0, i64 0))
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.28, i64 0, i64 0))
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.29, i64 0, i64 0))
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.30, i64 0, i64 0))
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.31, i64 0, i64 0))
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.32, i64 0, i64 0))
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.33, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.2 = [46 x i8] c" Class = %c\0A\00"
@.str.3 = [37 x i8] c" Size = %12d\0A\00"
@.str.4 = [47 x i8] c" Size = %3dx %3dx %3d\0A\00"
@.str.5 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.6 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.7 = [37 x i8] c" Total processes = %12d\0A\00"
@.str.8 = [37 x i8] c" Compiled procs = %12d\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/process = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.14 = [37 x i8] c" Version = %12s\0A\00"
@.str.15 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.17 = [23 x i8] c" SHMEMCC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CSHMEM_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CSHMEM_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.22 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.23 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.24 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@str = [44 x i8] c" Verification = UNSUCCESSFUL\00"
@str.34 = [19 x i8] c"\0A Compile options:\00"
@str.35 = [2 x i8] c"\0A\00"
@str.36 = [42 x i8] c" Please send the results of this run to:\0A\00"
@str.37 = [22 x i8] c" NPB Development Team\00"
@str.38 = [30 x i8] c" Internet: npb@nas.nasa.gov\0A \00"
@str.39 = [43 x i8] c" If email is not available, send this to:\0A\00"
@str.40 = [11 x i8] c" MS T27A-1\00"
@str.41 = [27 x i8] c" NASA Ames Research Center\00"
@str.42 = [32 x i8] c" Moffett Field, CA 94035-1000\0A\00"
@str.43 = [20 x i8] c" Fax: 650-604-3957\0A\00"
@str.44 = [44 x i8] c" Verification = SUCCESSFUL\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, i32 %6, i32 %7, double %8, double %9, i8* %10, i32 %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17, i8* %18, i8* %19, i8* %20, i8* %21) {
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%24 = sext i8 %1 to i32
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %24)
%26 = or i32 %4, %3
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0), i32 %2)
br label %32
30: ; preds = %22
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0), i32 %2, i32 %3, i32 %4)
br label %32
32: ; preds = %30, %28
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %5)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %8)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %7)
%36 = icmp eq i32 %6, 0
br i1 %36, label %39, label %37
37: ; preds = %32
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i32 %6)
br label %39
39: ; preds = %37, %32
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %9)
%41 = sitofp i32 %7 to float
%42 = fpext float %41 to double
%43 = fdiv double %9, %42
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %43)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %10)
%46 = icmp eq i32 %11, 0
%47 = select i1 %46, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str.44, i64 0, i64 0)
%48 = tail call i32 @puts(i8* dereferenceable(1) %47)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %12)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %13)
%51 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.34, i64 0, i64 0))
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %14)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %15)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %16)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %17)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %18)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %19)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0), i8* %20)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.24, i64 0, i64 0), i8* %21)
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.35, i64 0, i64 0))
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.36, i64 0, i64 0))
%62 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.37, i64 0, i64 0))
%63 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.38, i64 0, i64 0))
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.39, i64 0, i64 0))
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.40, i64 0, i64 0))
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.41, i64 0, i64 0))
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.42, i64 0, i64 0))
%68 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.43, i64 0, i64 0))
ret void
}