#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 *, char *);
int /*<<< orphan*/ putchar(char);
void tms_print_header(void) {
  printf("%9s", "label");
  printf(" %12s", "utime");
  printf(" %12s", "stime");
  printf(" %12s", "cutime");
  printf(" %12s", "cstime");
  putchar('\n');
}


x86 assembly (clang, -O0):
<tms_print_header>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed2(%rip),%rsi
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
lea    0xecc(%rip),%rsi
call   1040 <printf@plt>
lea    0xeb9(%rip),%rdi
lea    0xec0(%rip),%rsi
call   1040 <printf@plt>
lea    0xea6(%rip),%rdi
lea    0xea5(%rip),%rsi
call   1040 <printf@plt>
lea    0xe93(%rip),%rdi
lea    0xe99(%rip),%rsi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<tms_print_header>:
push   %rbx
lea    0xed8(%rip),%rdi
lea    0xed5(%rip),%rsi
call   1040 <printf@plt>
lea    0xecf(%rip),%rbx
lea    0xecf(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xec7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xeb0(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xea8(%rip),%rsi
mov    %rbx,%rdi
call   1040 <printf@plt>
mov    $0xa,%edi
pop    %rbx
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%9s\00"
@.str.1 = [6 x i8] c"label\00"
@.str.2 = [6 x i8] c" %12s\00"
@.str.3 = [6 x i8] c"utime\00"
@.str.4 = [6 x i8] c"stime\00"
@.str.5 = [7 x i8] c"cutime\00"
@.str.6 = [7 x i8] c"cstime\00"
define void @tms_print_header() {
%1 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%6 = call i32 @putchar(i8 signext 10)
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"%9s\00"
@.str.1 = [6 x i8] c"label\00"
@.str.2 = [6 x i8] c" %12s\00"
@.str.3 = [6 x i8] c"utime\00"
@.str.4 = [6 x i8] c"stime\00"
@.str.5 = [7 x i8] c"cutime\00"
@.str.6 = [7 x i8] c"cstime\00"
define void @tms_print_header() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%6 = tail call i32 @putchar(i8 signext 10)
ret void
}