#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 */
typedef int /*<<< orphan*/ num3;
typedef int /*<<< orphan*/ num2;
typedef int /*<<< orphan*/ num1;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, unsigned int, unsigned long, long long, ...);
int main() {
  unsigned int num1 = 1000000000;
  unsigned long num2 = 1000000000;
  long long num3 = 100000000000LL;
  long long num5 = 10000000000LL;
  long long num4 = ~0;
  printf("%u %u %u", (int)sizeof(num1), (int)sizeof(num2), (int)sizeof(num3));
  printf("%d %ld %lld %llu %llu\n", num1, num2, num3, num4, num5);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x3b9aca00,-0x8(%rbp)
movq   $0x3b9aca00,-0x10(%rbp)
3b
movabs $0x174876e800,%rax
mov    %rax,-0x18(%rbp)
movabs $0x2540be400,%rax
mov    %rax,-0x20(%rbp)
movq   $0xffffffffffffffff,-0x28(%rbp)
ff
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
mov    $0x8,%ecx
mov    %rcx,%rdx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x20(%rbp),%r9
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x8,%edx
mov    $0x8,%ecx
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed4(%rip),%rdi
movabs $0x174876e800,%rcx
movabs $0x2540be400,%r9
mov    $0x3b9aca00,%edx
mov    $0x3b9aca00,%esi
mov    $0xffffffffffffffff,%r8
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%u %u %u\00"
@.str.1 = [23 x i8] c"%d %ld %lld %llu %llu\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
store i32 0, i32* %1
store i32 1000000000, i32* %2
store i64 1000000000, i64* %3
store i64 100000000000, i64* %4
store i64 10000000000, i64* %5
store i64 -1, i64* %6
%7 = call i32 (i8*, i32, i64, i64, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 4, i64 8, i64 8)
%8 = load i32, i32* %2
%9 = load i64, i64* %3
%10 = load i64, i64* %4
%11 = load i64, i64* %6
%12 = load i64, i64* %5
%13 = call i32 (i8*, i32, i64, i64, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 %8, i64 %9, i64 %10, i64 %11, i64 %12)
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"%u %u %u\00"
@.str.1 = [23 x i8] c"%d %ld %lld %llu %llu\0A\00"
define i32 @main() {
%1 = tail call i32 (i8*, i32, i64, i64, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 4, i64 8, i64 8)
%2 = tail call i32 (i8*, i32, i64, i64, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0), i32 1000000000, i64 1000000000, i64 100000000000, i64 -1, i64 10000000000)
ret i32 0
}