#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,
                     double t, double mops, char *optype,
                     int passed_verification, char *npbversion,
                     char *compiletime, char *cc, char *clink, char *c_lib,
                     char *c_inc, char *cflags, char *clinkflags) {
  int num_threads, max_threads;
  max_threads = 1;
  num_threads = 1;
  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            =             %4dx%4dx%4d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  printf(" Time in seconds =             %12.2f\n", t);
  printf(" Total threads   =             %12d\n", num_threads);
  printf(" Avail threads   =             %12d\n", max_threads);
  if (num_threads != max_threads)
    printf(" Warning: Threads used differ from threads available\n");
  printf(" Mop/s total     =             %12.2f\n", mops);
  printf(" Mop/s/thread    =             %12.2f\n", mops / (double)num_threads);
  printf(" Operation type  = %24s\n", optype);
  if (passed_verification < 0)
    printf(" Verification    =            NOT PERFORMED\n");
  else 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("    CC           = %s\n", cc);
  printf("    CLINK        = %s\n", clink);
  printf("    C_LIB        = %s\n", c_lib);
  printf("    C_INC        = %s\n", c_inc);
  printf("    CFLAGS       = %s\n", cflags);
  printf("    CLINKFLAGS   = %s\n", clinkflags);
  printf("\n\n");
  printf(" Please send all errors/feedbacks to:\n\n");
  printf(" NPB Development Team\n");
  printf(" npb@nas.nasa.gov\n\n\n");
}


x86 assembly (clang, -O0):
<c_print_results>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %sil,%al
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),%rsi
mov    0x20(%rbp),%rsi
mov    0x18(%rbp),%esi
mov    0x10(%rbp),%rsi
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)
movl   $0x1,-0x38(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xe86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x9(%rbp),%esi
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x18(%rbp)
jne    11d3 <c_print_results+0xc3>
movslq -0x10(%rbp),%rax
mov    %rax,-0x40(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     11bc <c_print_results+0xac>
movslq -0x14(%rbp),%rax
imul   -0x40(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rsi
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11ea <c_print_results+0xda>
mov    -0x10(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
lea    0xe8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x28(%rbp),%xmm0
lea    0xeb9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%esi
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x34(%rbp),%eax
cmp    -0x38(%rbp),%eax
je     124a <c_print_results+0x13a>
lea    0xeee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
lea    0xf11(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x30(%rbp),%xmm0
cvtsi2sdl -0x34(%rbp),%xmm1
divsd  %xmm1,%xmm0
lea    0xf1c(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x10(%rbp),%rsi
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,0x18(%rbp)
jge    12a8 <c_print_results+0x198>
lea    0xf32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12d8 <c_print_results+0x1c8>
cmpl   $0x0,0x18(%rbp)
je     12c5 <c_print_results+0x1b5>
lea    0xf42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12d3 <c_print_results+0x1c3>
lea    0xf5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12d8 <c_print_results+0x1c8>
mov    0x20(%rbp),%rsi
lea    0xf72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x28(%rbp),%rsi
lea    0xf85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x30(%rbp),%rsi
lea    0xf9e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x38(%rbp),%rsi
lea    0xfa3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x40(%rbp),%rsi
lea    0xfa8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x48(%rbp),%rsi
lea    0xfad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x50(%rbp),%rsi
lea    0xfb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x58(%rbp),%rsi
lea    0xfb7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1011(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd5(%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    $0x58,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %r9d,%r13d
mov    %r8d,%ebp
mov    %ecx,%ebx
mov    %edx,%r14d
mov    %esi,%r15d
mov    %rdi,%rsi
mov    0xd8(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0xc0(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0xb8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xb0(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xa8(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0xa0(%rsp),%rax
mov    %rax,0x18(%rsp)
mov    0x98(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x90(%rsp),%r12
lea    0xe33(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe40(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebp,%ebp
je     1200 <c_print_results+0xe0>
lea    0xe7f(%rip),%rdi
mov    %r14d,%esi
mov    %ebx,%edx
mov    %ebp,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1222 <c_print_results+0x102>
movslq %r14d,%rax
test   %ebx,%ebx
mov    $0x1,%ecx
cmovne %ebx,%ecx
movslq %ecx,%rsi
imul   %rax,%rsi
lea    0xe2e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe72(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe86(%rip),%rdi
movsd  0x10(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe99(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeab(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xebd(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xed0(%rip),%rdi
movsd  0x8(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xee3(%rip),%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4(%rsp)
lea    0xfba(%rip),%rax
lea    0x1043(%rip),%rcx
cmove  %rax,%rcx
lea    0x1064(%rip),%rdi
cmovns %rcx,%rdi
call   1030 <puts@plt>
lea    0xec4(%rip),%rdi
mov    0x18(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed6(%rip),%rdi
mov    0x20(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xedc(%rip),%rdi
mov    0x28(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
mov    0x30(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee4(%rip),%rdi
mov    0x38(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee8(%rip),%rdi
mov    0x40(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeec(%rip),%rdi
mov    0x48(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
mov    0x50(%rsp),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf82(%rip),%rdi
call   1030 <puts@plt>
lea    0xf27(%rip),%rdi
call   1030 <puts@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.1 = [46 x i8] c" Class = %c\0A\00"
@.str.2 = [38 x i8] c" Size = %12ld\0A\00"
@.str.3 = [44 x i8] c" Size = %4dx%4dx%4d\0A\00"
@.str.4 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.5 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.6 = [37 x i8] c" Total threads = %12d\0A\00"
@.str.7 = [37 x i8] c" Avail threads = %12d\0A\00"
@.str.8 = [54 x i8] c" Warning: Threads used differ from threads available\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/thread = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.12 = [45 x i8] c" Verification = NOT PERFORMED\0A\00"
@.str.13 = [45 x i8] c" Verification = SUCCESSFUL\0A\00"
@.str.14 = [45 x i8] c" Verification = UNSUCCESSFUL\0A\00"
@.str.15 = [37 x i8] c" Version = %12s\0A\00"
@.str.16 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.17 = [20 x i8] c"\0A Compile options:\0A\00"
@.str.18 = [23 x i8] c" CC = %s\0A\00"
@.str.19 = [23 x i8] c" CLINK = %s\0A\00"
@.str.20 = [23 x i8] c" C_LIB = %s\0A\00"
@.str.21 = [23 x i8] c" C_INC = %s\0A\00"
@.str.22 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.23 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@.str.24 = [3 x i8] c"\0A\0A\00"
@.str.25 = [40 x i8] c" Please send all errors/feedbacks to:\0A\0A\00"
@.str.26 = [23 x i8] c" NPB Development Team\0A\00"
@.str.27 = [21 x i8] c" npb@nas.nasa.gov\0A\0A\0A\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, double %6, double %7, i8* %8, i32 %9, i8* %10, i8* %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17) {
%19 = alloca i8*
%20 = alloca i8
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca i32
%25 = alloca double
%26 = alloca double
%27 = alloca i8*
%28 = alloca i32
%29 = alloca i8*
%30 = alloca i8*
%31 = alloca i8*
%32 = alloca i8*
%33 = alloca i8*
%34 = alloca i8*
%35 = alloca i8*
%36 = alloca i8*
%37 = alloca i32
%38 = alloca i32
%39 = alloca i64
store i8* %0, i8** %19
store i8 %1, i8* %20
store i32 %2, i32* %21
store i32 %3, i32* %22
store i32 %4, i32* %23
store i32 %5, i32* %24
store double %6, double* %25
store double %7, double* %26
store i8* %8, i8** %27
store i32 %9, i32* %28
store i8* %10, i8** %29
store i8* %11, i8** %30
store i8* %12, i8** %31
store i8* %13, i8** %32
store i8* %14, i8** %33
store i8* %15, i8** %34
store i8* %16, i8** %35
store i8* %17, i8** %36
store i32 1, i32* %38
store i32 1, i32* %37
%40 = load i8*, i8** %19
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* %40)
%42 = load i8, i8* %20
%43 = sext i8 %42 to i32
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0), i32 %43)
%45 = load i32, i32* %23
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %60
47: ; preds = %18
%48 = load i32, i32* %21
%49 = sext i32 %48 to i64
store i64 %49, i64* %39
%50 = load i32, i32* %22
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = load i32, i32* %22
%54 = sext i32 %53 to i64
%55 = load i64, i64* %39
%56 = mul nsw i64 %55, %54
store i64 %56, i64* %39
br label %57
57: ; preds = %52, %47
%58 = load i64, i64* %39
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0), i64 %58)
br label %65
60: ; preds = %18
%61 = load i32, i32* %21
%62 = load i32, i32* %22
%63 = load i32, i32* %23
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), i32 %61, i32 %62, i32 %63)
br label %65
65: ; preds = %60, %57
%66 = load i32, i32* %24
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 %66)
%68 = load double, double* %25
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), double %68)
%70 = load i32, i32* %37
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 %70)
%72 = load i32, i32* %38
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 %72)
%74 = load i32, i32* %37
%75 = load i32, i32* %38
%76 = icmp ne i32 %74, %75
br i1 %76, label %77, label %79
77: ; preds = %65
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.8, i64 0, i64 0))
br label %79
79: ; preds = %77, %65
%80 = load double, double* %26
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %80)
%82 = load double, double* %26
%83 = load i32, i32* %37
%84 = sitofp i32 %83 to double
%85 = fdiv double %82, %84
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %85)
%87 = load i8*, i8** %27
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %87)
%89 = load i32, i32* %28
%90 = icmp slt i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %79
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0))
br label %101
93: ; preds = %79
%94 = load i32, i32* %28
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %93
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
br label %100
98: ; preds = %93
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.14, i64 0, i64 0))
br label %100
100: ; preds = %98, %96
br label %101
101: ; preds = %100, %91
%102 = load i8*, i8** %29
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %102)
%104 = load i8*, i8** %30
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.16, i64 0, i64 0), i8* %104)
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0))
%107 = load i8*, i8** %31
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %107)
%109 = load i8*, i8** %32
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %109)
%111 = load i8*, i8** %33
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %111)
%113 = load i8*, i8** %34
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %113)
%115 = load i8*, i8** %35
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %115)
%117 = load i8*, i8** %36
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0), i8* %117)
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0))
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.25, i64 0, i64 0))
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.26, i64 0, i64 0))
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.27, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [27 x i8] c"\0A\0A %s Benchmark Completed\0A\00"
@.str.1 = [46 x i8] c" Class = %c\0A\00"
@.str.2 = [38 x i8] c" Size = %12ld\0A\00"
@.str.3 = [44 x i8] c" Size = %4dx%4dx%4d\0A\00"
@.str.4 = [37 x i8] c" Iterations = %12d\0A\00"
@.str.5 = [39 x i8] c" Time in seconds = %12.2f\0A\00"
@.str.6 = [37 x i8] c" Total threads = %12d\0A\00"
@.str.7 = [37 x i8] c" Avail threads = %12d\0A\00"
@.str.9 = [39 x i8] c" Mop/s total = %12.2f\0A\00"
@.str.10 = [39 x i8] c" Mop/s/thread = %12.2f\0A\00"
@.str.11 = [25 x i8] c" Operation type = %24s\0A\00"
@.str.15 = [37 x i8] c" Version = %12s\0A\00"
@.str.16 = [37 x i8] c" Compile date = %12s\0A\00"
@.str.18 = [23 x i8] c" CC = %s\0A\00"
@.str.19 = [23 x i8] c" CLINK = %s\0A\00"
@.str.20 = [23 x i8] c" C_LIB = %s\0A\00"
@.str.21 = [23 x i8] c" C_INC = %s\0A\00"
@.str.22 = [23 x i8] c" CFLAGS = %s\0A\00"
@.str.23 = [23 x i8] c" CLINKFLAGS = %s\0A\00"
@str = [44 x i8] c" Verification = UNSUCCESSFUL\00"
@str.28 = [19 x i8] c"\0A Compile options:\00"
@str.29 = [2 x i8] c"\0A\00"
@str.30 = [39 x i8] c" Please send all errors/feedbacks to:\0A\00"
@str.31 = [22 x i8] c" NPB Development Team\00"
@str.32 = [20 x i8] c" npb@nas.nasa.gov\0A\0A\00"
@str.33 = [44 x i8] c" Verification = SUCCESSFUL\00"
@str.34 = [44 x i8] c" Verification = NOT PERFORMED\00"
define void @c_print_results(i8* %0, i8 signext %1, i32 %2, i32 %3, i32 %4, i32 %5, double %6, double %7, i8* %8, i32 %9, i8* %10, i8* %11, i8* %12, i8* %13, i8* %14, i8* %15, i8* %16, i8* %17) {
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* %0)
%20 = sext i8 %1 to i32
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0), i32 %20)
%22 = icmp eq i32 %4, 0
br i1 %22, label %23, label %30
23: ; preds = %18
%24 = sext i32 %2 to i64
%25 = icmp eq i32 %3, 0
%26 = select i1 %25, i32 1, i32 %3
%27 = sext i32 %26 to i64
%28 = mul nsw i64 %27, %24
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0), i64 %28)
br label %32
30: ; preds = %18
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.3, i64 0, i64 0), i32 %2, i32 %3, i32 %4)
br label %32
32: ; preds = %30, %23
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 %5)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), double %6)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i32 1)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), i32 1)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0), double %7)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0), double %7)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0), i8* %8)
%40 = icmp slt i32 %9, 0
%41 = icmp eq i32 %9, 0
%42 = select i1 %41, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0), i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str.33, i64 0, i64 0)
%43 = select i1 %40, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @str.34, i64 0, i64 0), i8* %42
%44 = tail call i32 @puts(i8* dereferenceable(1) %43)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.15, i64 0, i64 0), i8* %10)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.16, i64 0, i64 0), i8* %11)
%47 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.28, i64 0, i64 0))
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.18, i64 0, i64 0), i8* %12)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0), i8* %13)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.20, i64 0, i64 0), i8* %14)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), i8* %15)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* %16)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.23, i64 0, i64 0), i8* %17)
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.29, i64 0, i64 0))
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.30, i64 0, i64 0))
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.31, i64 0, i64 0))
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.32, i64 0, i64 0))
ret void
}