#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 *mpicc,
                     char *clink, 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 (n3 == 0) {
    long nn = n1;
    if (n2 != 0)
      nn *= n2;
    printf(" Size            =             %12ld\n", nn);
  } 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("    MPICC        = %s\n", mpicc);
  printf("    CLINK        = %s\n", clink);
  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    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    0xe92(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x9(%rbp),%esi
lea    0xe91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x18(%rbp)
jne    11d6 <c_print_results+0xc6>
movslq -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     11bf <c_print_results+0xaf>
movslq -0x14(%rbp),%rax
imul   -0x40(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rsi
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11ed <c_print_results+0xdd>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xebe(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x18(%rbp),%esi
lea    0xed4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x10(%rbp)
je     123d <c_print_results+0x12d>
mov    0x10(%rbp),%esi
lea    0xede(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xef0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
cvtsi2ssl 0x18(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm0
lea    0xef7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x20(%rbp),%rsi
lea    0xf0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x28(%rbp)
je     129f <c_print_results+0x18f>
lea    0xf0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12ad <c_print_results+0x19d>
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x30(%rbp),%rsi
lea    0xf42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x38(%rbp),%rsi
lea    0xf55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x40(%rbp),%rsi
lea    0xf6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x48(%rbp),%rsi
lea    0xf73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x50(%rbp),%rsi
lea    0xf78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x58(%rbp),%rsi
lea    0xf7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x60(%rbp),%rsi
lea    0xf82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x68(%rbp),%rsi
lea    0xf87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1063(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff6(%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    $0x68,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
mov    %r9d,0x8(%rsp)
mov    %r8d,%r15d
mov    %ecx,%r14d
mov    %edx,%r12d
mov    %esi,%ebp
mov    %rdi,%rsi
mov    0xf8(%rsp),%rax
mov    %rax,0x60(%rsp)
mov    0xf0(%rsp),%rax
mov    %rax,0x58(%rsp)
mov    0xe8(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0xe0(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0xd8(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xc0(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xb8(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0xb0(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0xa8(%rsp),%r13d
mov    0xa0(%rsp),%ebx
lea    0xe1d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe2a(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r15d,%r15d
je     1218 <c_print_results+0xf8>
lea    0xe69(%rip),%rdi
mov    %r12d,%esi
mov    %r14d,%edx
mov    %r15d,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    123c <c_print_results+0x11c>
movslq %r12d,%rax
test   %r14d,%r14d
mov    $0x1,%ecx
cmovne %r14d,%ecx
movslq %ecx,%rsi
imul   %rax,%rsi
lea    0xe14(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe5b(%rip),%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe6e(%rip),%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe81(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebx,%ebx
je     1287 <c_print_results+0x167>
lea    0xe91(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea6(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %r13d,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm0
divsd  %xmm1,%xmm0
lea    0xea3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xebc(%rip),%rdi
mov    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0xc(%rsp)
lea    0xf91(%rip),%rax
lea    0x10ac(%rip),%rdi
cmove  %rax,%rdi
call   1030 <puts@plt>
lea    0xea6(%rip),%rdi
mov    0x28(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    0x30(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf80(%rip),%rdi
call   1030 <puts@plt>
lea    0xebe(%rip),%rdi
mov    0x38(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec2(%rip),%rdi
mov    0x40(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec6(%rip),%rdi
mov    0x48(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeca(%rip),%rdi
mov    0x50(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
mov    0x58(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed2(%rip),%rdi
mov    0x60(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfe2(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf27(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xf70(%rip),%rdi
call   1030 <puts@plt>
lea    0xf84(%rip),%rdi
add    $0x68,%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 = [38 x i8] c" Size = %12ld\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" MPICC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.22 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@.str.23 = [3 x i8] c"\0A\0A\00"
@.str.24 = [43 x i8] c" Please send the results of this run to:\0A\0A\00"
@.str.25 = [23 x i8] c" NPB Development Team\0A\00"
@.str.26 = [31 x i8] c" Internet: npb@nas.nasa.gov\0A \0A\00"
@.str.27 = [44 x i8] c" If email is not available, send this to:\0A\0A\00"
@.str.28 = [12 x i8] c" MS T27A-1\0A\00"
@.str.29 = [28 x i8] c" NASA Ames Research Center\0A\00"
@.str.30 = [33 x i8] c" Moffett Field, CA 94035-1000\0A\0A\00"
@.str.31 = [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) {
%21 = alloca i8*
%22 = alloca i8
%23 = alloca i32
%24 = alloca i32
%25 = alloca i32
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca double
%30 = alloca double
%31 = alloca i8*
%32 = alloca i32
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i8*
%37 = alloca i8*
%38 = alloca i8*
%39 = alloca i8*
%40 = alloca i8*
%41 = alloca i8*
%42 = alloca i64
store i8* %0, i8** %21
store i8 %1, i8* %22
store i32 %2, i32* %23
store i32 %3, i32* %24
store i32 %4, i32* %25
store i32 %5, i32* %26
store i32 %6, i32* %27
store i32 %7, i32* %28
store double %8, double* %29
store double %9, double* %30
store i8* %10, i8** %31
store i32 %11, i32* %32
store i8* %12, i8** %33
store i8* %13, i8** %34
store i8* %14, i8** %35
store i8* %15, i8** %36
store i8* %16, i8** %37
store i8* %17, i8** %38
store i8* %18, i8** %39
store i8* %19, i8** %40
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %41
%43 = load i8*, i8** %21
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %43)
%45 = load i8, i8* %22
%46 = sext i8 %45 to i32
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %46)
%48 = load i32, i32* %25
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %63
50: ; preds = %20
%51 = load i32, i32* %23
%52 = sext i32 %51 to i64
store i64 %52, i64* %42
%53 = load i32, i32* %24
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %50
%56 = load i32, i32* %24
%57 = sext i32 %56 to i64
%58 = load i64, i64* %42
%59 = mul nsw i64 %58, %57
store i64 %59, i64* %42
br label %60
60: ; preds = %55, %50
%61 = load i64, i64* %42
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i64 %61)
br label %68
63: ; preds = %20
%64 = load i32, i32* %23
%65 = load i32, i32* %24
%66 = load i32, i32* %25
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0), i32 %64, i32 %65, i32 %66)
br label %68
68: ; preds = %63, %60
%69 = load i32, i32* %26
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %69)
%71 = load double, double* %29
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %71)
%73 = load i32, i32* %28
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %27
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %80
77: ; preds = %68
%78 = load i32, i32* %27
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.8, i64 0, i64 0), i32 %78)
br label %80
80: ; preds = %77, %68
%81 = load double, double* %30
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %81)
%83 = load double, double* %30
%84 = load i32, i32* %28
%85 = sitofp i32 %84 to float
%86 = fpext float %85 to double
%87 = fdiv double %83, %86
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %87)
%89 = load i8*, i8** %31
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %89)
%91 = load i32, i32* %32
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %95
93: ; preds = %80
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
br label %97
95: ; preds = %80
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
br label %97
97: ; preds = %95, %93
%98 = load i8*, i8** %33
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %98)
%100 = load i8*, i8** %34
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %100)
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0))
%103 = load i8*, i8** %35
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %103)
%105 = load i8*, i8** %36
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %105)
%107 = load i8*, i8** %37
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %107)
%109 = load i8*, i8** %38
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %109)
%111 = load i8*, i8** %39
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %111)
%113 = load i8*, i8** %40
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %113)
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.24, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.25, i64 0, i64 0))
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.26, i64 0, i64 0))
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.27, i64 0, i64 0))
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.28, i64 0, i64 0))
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.29, i64 0, i64 0))
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.30, i64 0, i64 0))
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.31, 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 = [38 x i8] c" Size = %12ld\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" MPICC = %s\0A\00"
@.str.18 = [23 x i8] c" CLINK = %s\0A\00"
@.str.19 = [23 x i8] c" CMPI_LIB = %s\0A\00"
@.str.20 = [23 x i8] c" CMPI_INC = %s\0A\00"
@.str.21 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.22 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@str = [44 x i8] c" Verification = UNSUCCESSFUL\00"
@str.32 = [19 x i8] c"\0A Compile options:\00"
@str.33 = [2 x i8] c"\0A\00"
@str.34 = [42 x i8] c" Please send the results of this run to:\0A\00"
@str.35 = [22 x i8] c" NPB Development Team\00"
@str.36 = [30 x i8] c" Internet: npb@nas.nasa.gov\0A \00"
@str.37 = [43 x i8] c" If email is not available, send this to:\0A\00"
@str.38 = [11 x i8] c" MS T27A-1\00"
@str.39 = [27 x i8] c" NASA Ames Research Center\00"
@str.40 = [32 x i8] c" Moffett Field, CA 94035-1000\0A\00"
@str.41 = [20 x i8] c" Fax: 650-604-3957\0A\00"
@str.42 = [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) {
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i8* %0)
%22 = sext i8 %1 to i32
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %22)
%24 = icmp eq i32 %4, 0
br i1 %24, label %25, label %32
25: ; preds = %20
%26 = sext i32 %2 to i64
%27 = icmp eq i32 %3, 0
%28 = select i1 %27, i32 1, i32 %3
%29 = sext i32 %28 to i64
%30 = mul nsw i64 %29, %26
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0), i64 %30)
br label %34
32: ; preds = %20
%33 = 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 %34
34: ; preds = %32, %25
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 %5)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0), double %8)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %7)
%38 = icmp eq i32 %6, 0
br i1 %38, label %41, label %39
39: ; preds = %34
%40 = 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 %41
41: ; preds = %39, %34
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %9)
%43 = sitofp i32 %7 to float
%44 = fpext float %43 to double
%45 = fdiv double %9, %44
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %45)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %10)
%48 = icmp eq i32 %11, 0
%49 = select i1 %48, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str.42, i64 0, i64 0)
%50 = tail call i32 @puts(i8* dereferenceable(1) %49)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i8* %12)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %13)
%53 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.32, i64 0, i64 0))
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.17, i64 0, i64 0), i8* %14)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %15)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %16)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %17)
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %18)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %19)
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.33, i64 0, i64 0))
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.34, i64 0, i64 0))
%62 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.35, i64 0, i64 0))
%63 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.36, i64 0, i64 0))
%64 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.37, i64 0, i64 0))
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.38, i64 0, i64 0))
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.39, i64 0, i64 0))
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.40, i64 0, i64 0))
%68 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.41, i64 0, i64 0))
ret void
}