#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*/ wchar_t;
typedef int /*<<< orphan*/ uid_t;
typedef int /*<<< orphan*/ time_t;
typedef int /*<<< orphan*/ ssize_t;
typedef int /*<<< orphan*/ rlim_t;
typedef int /*<<< orphan*/ pid_t;
typedef int /*<<< orphan*/ off_t;
typedef int /*<<< orphan*/ nlink_t;
typedef int /*<<< orphan*/ mode_t;
typedef int /*<<< orphan*/ ino_t;
typedef int /*<<< orphan*/ gid_t;
typedef int /*<<< orphan*/ fpos_t;
typedef int /*<<< orphan*/ dev_t;
typedef int /*<<< orphan*/ comp_t;
typedef int /*<<< orphan*/ clock_t;
typedef int /*<<< orphan*/ caddr_t;

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, unsigned long);
int /*<<< orphan*/ puts(char *);
int main(int argc, char *argv[]) {
  printf("char      = %lu\n", (unsigned long)sizeof(char));
  printf("short     = %lu\n", (unsigned long)sizeof(short));
  printf("int       = %lu\n", (unsigned long)sizeof(int));
  printf("long      = %lu\n", (unsigned long)sizeof(long));
  printf("long long = %lu\n", (unsigned long)sizeof(long long));
  puts("");
  printf("caddr_t   = %lu\n", (unsigned long)sizeof(caddr_t));
  printf("clock_t   = %lu\n", (unsigned long)sizeof(clock_t));
  printf("comp_t    = %lu\n", (unsigned long)sizeof(comp_t));
  printf("dev_t     = %lu\n", (unsigned long)sizeof(dev_t));
  printf("fpos_t    = %lu\n", (unsigned long)sizeof(fpos_t));
  printf("gid_t     = %lu\n", (unsigned long)sizeof(gid_t));
  printf("ino_t     = %lu\n", (unsigned long)sizeof(ino_t));
  printf("mode_t    = %lu\n", (unsigned long)sizeof(mode_t));
  printf("nlink_t   = %lu\n", (unsigned long)sizeof(nlink_t));
  printf("off_t     = %lu\n", (unsigned long)sizeof(off_t));
  printf("pid_t     = %lu\n", (unsigned long)sizeof(pid_t));
  printf("rlim_t    = %lu\n", (unsigned long)sizeof(rlim_t));
  printf("size_t    = %lu\n", (unsigned long)sizeof(size_t));
  printf("ssize_t   = %lu\n", (unsigned long)sizeof(ssize_t));
  printf("time_t    = %lu\n", (unsigned long)sizeof(time_t));
  printf("uid_t     = %lu\n", (unsigned long)sizeof(uid_t));
  printf("wchar_t   = %lu\n", (unsigned long)sizeof(wchar_t));
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x1,%esi
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    $0x2,%esi
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
lea    0xeb3(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
lea    0xe90(%rip),%rdi
call   1030 <puts@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xea7(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xec8(%rip),%rdi
mov    $0x1,%esi
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    $0x2,%esi
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
lea    0xec8(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x8,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
lea    0xebe(%rip),%rdi
mov    $0x4,%esi
call   1040 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"char = %lu\0A\00"
@.str.1 = [17 x i8] c"short = %lu\0A\00"
@.str.2 = [17 x i8] c"int = %lu\0A\00"
@.str.3 = [17 x i8] c"long = %lu\0A\00"
@.str.4 = [17 x i8] c"long long = %lu\0A\00"
@.str.5 = [1 x i8] zeroinitializer
@.str.6 = [17 x i8] c"caddr_t = %lu\0A\00"
@.str.7 = [17 x i8] c"clock_t = %lu\0A\00"
@.str.8 = [17 x i8] c"comp_t = %lu\0A\00"
@.str.9 = [17 x i8] c"dev_t = %lu\0A\00"
@.str.10 = [17 x i8] c"fpos_t = %lu\0A\00"
@.str.11 = [17 x i8] c"gid_t = %lu\0A\00"
@.str.12 = [17 x i8] c"ino_t = %lu\0A\00"
@.str.13 = [17 x i8] c"mode_t = %lu\0A\00"
@.str.14 = [17 x i8] c"nlink_t = %lu\0A\00"
@.str.15 = [17 x i8] c"off_t = %lu\0A\00"
@.str.16 = [17 x i8] c"pid_t = %lu\0A\00"
@.str.17 = [17 x i8] c"rlim_t = %lu\0A\00"
@.str.18 = [17 x i8] c"size_t = %lu\0A\00"
@.str.19 = [17 x i8] c"ssize_t = %lu\0A\00"
@.str.20 = [17 x i8] c"time_t = %lu\0A\00"
@.str.21 = [17 x i8] c"uid_t = %lu\0A\00"
@.str.22 = [17 x i8] c"wchar_t = %lu\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i64 1)
%7 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i64 2)
%8 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i64 4)
%9 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i64 8)
%10 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i64 8)
%11 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.5, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i64 4)
%13 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i64 4)
%14 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i64 4)
%15 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i64 4)
%16 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i64 4)
%17 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i64 4)
%18 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i64 4)
%19 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0), i64 4)
%20 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0), i64 4)
%21 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i64 4)
%22 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i64 4)
%23 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), i64 4)
%24 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), i64 8)
%25 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), i64 4)
%26 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i64 4)
%27 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i64 4)
%28 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), i64 4)
%29 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [17 x i8] c"char = %lu\0A\00"
@.str.1 = [17 x i8] c"short = %lu\0A\00"
@.str.2 = [17 x i8] c"int = %lu\0A\00"
@.str.3 = [17 x i8] c"long = %lu\0A\00"
@.str.4 = [17 x i8] c"long long = %lu\0A\00"
@.str.6 = [17 x i8] c"caddr_t = %lu\0A\00"
@.str.7 = [17 x i8] c"clock_t = %lu\0A\00"
@.str.8 = [17 x i8] c"comp_t = %lu\0A\00"
@.str.9 = [17 x i8] c"dev_t = %lu\0A\00"
@.str.10 = [17 x i8] c"fpos_t = %lu\0A\00"
@.str.11 = [17 x i8] c"gid_t = %lu\0A\00"
@.str.12 = [17 x i8] c"ino_t = %lu\0A\00"
@.str.13 = [17 x i8] c"mode_t = %lu\0A\00"
@.str.14 = [17 x i8] c"nlink_t = %lu\0A\00"
@.str.15 = [17 x i8] c"off_t = %lu\0A\00"
@.str.16 = [17 x i8] c"pid_t = %lu\0A\00"
@.str.17 = [17 x i8] c"rlim_t = %lu\0A\00"
@.str.18 = [17 x i8] c"size_t = %lu\0A\00"
@.str.19 = [17 x i8] c"ssize_t = %lu\0A\00"
@.str.20 = [17 x i8] c"time_t = %lu\0A\00"
@.str.21 = [17 x i8] c"uid_t = %lu\0A\00"
@.str.22 = [17 x i8] c"wchar_t = %lu\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i64 1)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i64 2)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i64 4)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i64 8)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i64 8)
%8 = tail call i32 @putchar(i32 10)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i64 4)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i64 4)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i64 4)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i64 4)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i64 4)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i64 4)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i64 4)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.13, i64 0, i64 0), i64 4)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0), i64 4)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i64 4)
%19 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i64 4)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.17, i64 0, i64 0), i64 4)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.18, i64 0, i64 0), i64 8)
%22 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i64 0, i64 0), i64 4)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.20, i64 0, i64 0), i64 4)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.21, i64 0, i64 0), i64 4)
%25 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.22, i64 0, i64 0), i64 4)
%26 = tail call i32 @exit(i32 0)
unreachable
}