#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*/ ushi;
typedef int /*<<< orphan*/ uli;
typedef int /*<<< orphan*/ ui;
typedef int /*<<< orphan*/ uc;
typedef int /*<<< orphan*/ sshi;
typedef int /*<<< orphan*/ sli;
typedef int /*<<< orphan*/ si;
typedef int /*<<< orphan*/ shi;
typedef int /*<<< orphan*/ sc;
typedef int /*<<< orphan*/ li;
typedef int /*<<< orphan*/ ld;
typedef int /*<<< orphan*/ i;
typedef int /*<<< orphan*/ f;
typedef int /*<<< orphan*/ d;
typedef int /*<<< orphan*/ c;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int main() {
  char c;
  unsigned char uc;
  signed char sc;
  int i;
  unsigned int ui;
  signed int si;
  short int shi;
  signed short int sshi;
  unsigned short int ushi;
  long int li;
  unsigned long int uli;
  signed long int sli;
  float f;
  double d;
  long double ld;
  printf("\n| Type\t\t\t| Size |\n--------------------------------\n");
  printf("| char\t\t\t|   %lu  |\n", sizeof(c));
  printf("| unsigned char\t\t|   %lu  |\n", sizeof(uc));
  printf("| signed char\t\t|   %lu  |\n", sizeof(sc));
  printf("| int\t\t\t|   %lu  |\n", sizeof(i));
  printf("| unsigned int\t\t|   %lu  |\n", sizeof(ui));
  printf("| signed int\t\t|   %lu  |\n", sizeof(si));
  printf("| short int\t\t|   %lu  |\n", sizeof(shi));
  printf("| signed short int\t|   %lu  |\n", sizeof(sshi));
  printf("| unsigned short int\t|   %lu  |\n", sizeof(ushi));
  printf("| long int\t\t|   %lu  |\n", sizeof(li));
  printf("| unsigned long int\t|   %lu  |\n", sizeof(uli));
  printf("| signed long int\t|   %lu  |\n", sizeof(sli));
  printf("| float\t\t\t|   %lu  |\n", sizeof(f));
  printf("| double\t\t|   %lu  |\n", sizeof(d));
  printf("| long double\t\t|   %lu |\n\n", sizeof(ld));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
lea    0xee1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf08(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0a(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1c(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1d(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf26(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf2d(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4d(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf52(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0x1065(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed8(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee1(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeea(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef1(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef7(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf03(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf11(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf16(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf23(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf2e(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf31(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf34(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [53 x i8] c"\0A| Type\09\09\09| Size |\0A--------------------------------\0A\00"
@.str.1 = [21 x i8] c"| char\09\09\09| %lu |\0A\00"
@.str.2 = [29 x i8] c"| unsigned char\09\09| %lu |\0A\00"
@.str.3 = [27 x i8] c"| signed char\09\09| %lu |\0A\00"
@.str.4 = [20 x i8] c"| int\09\09\09| %lu |\0A\00"
@.str.5 = [28 x i8] c"| unsigned int\09\09| %lu |\0A\00"
@.str.6 = [26 x i8] c"| signed int\09\09| %lu |\0A\00"
@.str.7 = [25 x i8] c"| short int\09\09| %lu |\0A\00"
@.str.8 = [31 x i8] c"| signed short int\09| %lu |\0A\00"
@.str.9 = [33 x i8] c"| unsigned short int\09| %lu |\0A\00"
@.str.10 = [24 x i8] c"| long int\09\09| %lu |\0A\00"
@.str.11 = [32 x i8] c"| unsigned long int\09| %lu |\0A\00"
@.str.12 = [30 x i8] c"| signed long int\09| %lu |\0A\00"
@.str.13 = [22 x i8] c"| float\09\09\09| %lu |\0A\00"
@.str.14 = [22 x i8] c"| double\09\09| %lu |\0A\00"
@.str.15 = [27 x i8] c"| long double\09\09| %lu |\0A\0A\00"
define i32 @main() {
%1 = alloca i8
%2 = alloca i8
%3 = alloca i8
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i16
%8 = alloca i16
%9 = alloca i16
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca float
%14 = alloca double
%15 = alloca x86_fp80
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i64 1)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0), i64 1)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i64 1)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 4)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i64 4)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i64 4)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i64 2)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i64 2)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i64 2)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i64 8)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), i64 8)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0), i64 8)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i64 4)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i64 8)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), i64 16)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [21 x i8] c"| char\09\09\09| %lu |\0A\00"
@.str.2 = [29 x i8] c"| unsigned char\09\09| %lu |\0A\00"
@.str.3 = [27 x i8] c"| signed char\09\09| %lu |\0A\00"
@.str.4 = [20 x i8] c"| int\09\09\09| %lu |\0A\00"
@.str.5 = [28 x i8] c"| unsigned int\09\09| %lu |\0A\00"
@.str.6 = [26 x i8] c"| signed int\09\09| %lu |\0A\00"
@.str.7 = [25 x i8] c"| short int\09\09| %lu |\0A\00"
@.str.8 = [31 x i8] c"| signed short int\09| %lu |\0A\00"
@.str.9 = [33 x i8] c"| unsigned short int\09| %lu |\0A\00"
@.str.10 = [24 x i8] c"| long int\09\09| %lu |\0A\00"
@.str.11 = [32 x i8] c"| unsigned long int\09| %lu |\0A\00"
@.str.12 = [30 x i8] c"| signed long int\09| %lu |\0A\00"
@.str.13 = [22 x i8] c"| float\09\09\09| %lu |\0A\00"
@.str.14 = [22 x i8] c"| double\09\09| %lu |\0A\00"
@.str.15 = [27 x i8] c"| long double\09\09| %lu |\0A\0A\00"
@str = [52 x i8] c"\0A| Type\09\09\09| Size |\0A--------------------------------\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i64 1)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0), i64 1)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i64 1)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i64 4)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0), i64 4)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i64 4)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i64 2)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i64 2)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i64 2)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i64 8)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), i64 8)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0), i64 8)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i64 4)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i64 8)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0), i64 16)
ret i32 0
}