#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 *, int);
int main(void) {
  printf(" (1) %d\n", 455);
  printf(" (2) %i\n", 455);
  printf(" (3) %d\n", -455);
  printf(" (4) %o\n", 455);
  printf(" (5) %u\n", 455);
  printf(" (6) %u\n", -455);
  printf(" (7) %x\n", 455);
  printf(" (8) %X\n", 455);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xeca(%rip),%rdi
mov    $0xfffffe39,%esi
call   1030 <printf@plt>
lea    0xec2(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xeba(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xeb2(%rip),%rdi
mov    $0xfffffe39,%esi
call   1030 <printf@plt>
lea    0xeaa(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xea2(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xed8(%rip),%rdi
mov    $0xfffffe39,%esi
call   1030 <printf@plt>
lea    0xed0(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xec8(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
mov    $0xfffffe39,%esi
call   1030 <printf@plt>
lea    0xeb8(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
lea    0xeb0(%rip),%rdi
mov    $0x1c7,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [9 x i8] c" (1) %d\0A\00"
@.str.1 = [9 x i8] c" (2) %i\0A\00"
@.str.2 = [9 x i8] c" (3) %d\0A\00"
@.str.3 = [9 x i8] c" (4) %o\0A\00"
@.str.4 = [9 x i8] c" (5) %u\0A\00"
@.str.5 = [9 x i8] c" (6) %u\0A\00"
@.str.6 = [9 x i8] c" (7) %x\0A\00"
@.str.7 = [9 x i8] c" (8) %X\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 455)
%3 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 455)
%4 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 -455)
%5 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 455)
%6 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 455)
%7 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 -455)
%8 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i32 455)
%9 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 455)
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c" (1) %d\0A\00"
@.str.1 = [9 x i8] c" (2) %i\0A\00"
@.str.2 = [9 x i8] c" (3) %d\0A\00"
@.str.3 = [9 x i8] c" (4) %o\0A\00"
@.str.4 = [9 x i8] c" (5) %u\0A\00"
@.str.5 = [9 x i8] c" (6) %u\0A\00"
@.str.6 = [9 x i8] c" (7) %x\0A\00"
@.str.7 = [9 x i8] c" (8) %X\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 455)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 455)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 -455)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 455)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32 455)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 -455)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i32 455)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32 455)
ret i32 0
}