#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 *, unsigned long long);
int main() {
  unsigned char c = 255;
  unsigned int i = 4294000000;
  unsigned short s = 32000;
  unsigned long l = 2147000000;
  unsigned long long ll = 99214576654333443;
  printf("%u\n", c);
  printf("%u\n", s);
  printf("%u\n", i);
  printf("%lu\n", l);
  printf("%llu\n", ll);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movb   $0xff,-0x5(%rbp)
movl   $0xfff13d80,-0xc(%rbp)
movw   $0x7d00,-0xe(%rbp)
movq   $0x7ff89ec0,-0x18(%rbp)
7f
movabs $0x1607b21be05b603,%rax
7b 60 01
mov    %rax,-0x20(%rbp)
movzbl -0x5(%rbp),%eax
mov    %eax,%esi
lea    0xead(%rip),%rdi
call   1030 <printf@plt>
movzwl -0xe(%rbp),%eax
mov    %eax,%esi
lea    0xe9b(%rip),%rdi
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
mov    %eax,%esi
lea    0xe8a(%rip),%rdi
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xe7e(%rip),%rdi
call   1030 <printf@plt>
mov    -0x20(%rbp),%rsi
lea    0xe73(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    $0xff,%esi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    $0x7d00,%esi
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    $0xfff13d80,%esi
mov    %rbx,%rdi
call   1030 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x7ff89ec0,%esi
call   1030 <printf@plt>
lea    0xeb2(%rip),%rdi
movabs $0x1607b21be05b603,%rsi
7b 60 01
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%u\0A\00"
@.str.1 = [5 x i8] c"%lu\0A\00"
@.str.2 = [6 x i8] c"%llu\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i32
%4 = alloca i16
%5 = alloca i64
%6 = alloca i64
store i32 0, i32* %1
store i8 -1, i8* %2
store i32 -967296, i32* %3
store i16 32000, i16* %4
store i64 2147000000, i64* %5
store i64 99214576654333443, i64* %6
%7 = load i8, i8* %2
%8 = zext i8 %7 to i64
%9 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 %8)
%10 = load i16, i16* %4
%11 = zext i16 %10 to i64
%12 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 %11)
%13 = load i32, i32* %3
%14 = zext i32 %13 to i64
%15 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 %14)
%16 = load i64, i64* %5
%17 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 %16)
%18 = load i64, i64* %6
%19 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 %18)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%u\0A\00"
@.str.1 = [5 x i8] c"%lu\0A\00"
@.str.2 = [6 x i8] c"%llu\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 255)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 32000)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64 4294000000)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i64 2147000000)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 99214576654333443)
ret i32 0
}