#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*/ int64_t;
typedef int /*<<< orphan*/ int32_t;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char *, int);
int main() {
  printf("%10s: %lu byte(s)\n", "char", sizeof(char));
  ;
  printf("%10s: %lu byte(s)\n", "short", sizeof(short));
  ;
  printf("%10s: %lu byte(s)\n", "int", sizeof(int));
  ;
  printf("%10s: %lu byte(s)\n", "unsigned long", sizeof(unsigned long));
  ;
  printf("%10s: %lu byte(s)\n", "long", sizeof(long));
  ;
  printf("%10s: %lu byte(s)\n", "long long", sizeof(long long));
  ;
  printf("%10s: %lu byte(s)\n", "int32_t", sizeof(int32_t));
  ;
  printf("%10s: %lu byte(s)\n", "int64_t", sizeof(int64_t));
  ;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xef1(%rip),%rsi
mov    $0x1,%edx
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
lea    0xede(%rip),%rsi
mov    $0x2,%edx
call   1030 <printf@plt>
lea    0xeb5(%rip),%rdi
lea    0xecc(%rip),%rsi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xe9d(%rip),%rdi
lea    0xeb8(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe85(%rip),%rdi
lea    0xea9(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe6d(%rip),%rdi
lea    0xe96(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe55(%rip),%rdi
lea    0xe88(%rip),%rsi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xe3d(%rip),%rdi
lea    0xe78(%rip),%rsi
mov    $0x4,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xef4(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <printf@plt>
lea    0xee5(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <printf@plt>
lea    0xed7(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xec7(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xebc(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xead(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xea3(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [19 x i8] c"%10s: %lu byte(s)\0A\00"
@.str.1 = [5 x i8] c"char\00"
@.str.2 = [6 x i8] c"short\00"
@.str.3 = [4 x i8] c"int\00"
@.str.4 = [14 x i8] c"unsigned long\00"
@.str.5 = [5 x i8] c"long\00"
@.str.6 = [10 x i8] c"long long\00"
@.str.7 = [8 x i8] c"int32_t\00"
@.str.8 = [8 x i8] c"int64_t\00"
define i32 @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 1)
%2 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 2)
%3 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%4 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 8)
%5 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 8)
%6 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 8)
%7 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 4)
%8 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 4)
ret i32 0
}

LLVM IR (-O2):
@.str = [19 x i8] c"%10s: %lu byte(s)\0A\00"
@.str.1 = [5 x i8] c"char\00"
@.str.2 = [6 x i8] c"short\00"
@.str.3 = [4 x i8] c"int\00"
@.str.4 = [14 x i8] c"unsigned long\00"
@.str.5 = [5 x i8] c"long\00"
@.str.6 = [10 x i8] c"long long\00"
@.str.7 = [8 x i8] c"int32_t\00"
@.str.8 = [8 x i8] c"int64_t\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 1)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 2)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 8)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i32 8)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 8)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i32 4)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 4)
ret i32 0
}