#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*/ varshort;
typedef int /*<<< orphan*/ varlonglong;
typedef int /*<<< orphan*/ varlongdouble;
typedef int /*<<< orphan*/ varlong;
typedef int /*<<< orphan*/ varint;
typedef int /*<<< orphan*/ varfloat;
typedef int /*<<< orphan*/ vardouble;
typedef int /*<<< orphan*/ varchar;

/* Variables and functions */
int EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, char *, int);
int main(int argc, char **argv) {
  char varchar;
  printf("The size of '%s' is %li Byte(s).\n", "char", sizeof(varchar));
  short varshort;
  printf("The size of '%s' is %li Byte(s).\n", "short", sizeof(varshort));
  int varint;
  printf("The size of '%s' is %li Byte(s).\n", "int", sizeof(varint));
  long varlong;
  printf("The size of '%s' is %li Byte(s).\n", "long", sizeof(varlong));
  long long varlonglong;
  printf("The size of '%s' is %li Byte(s).\n", "long long",
         sizeof(varlonglong));
  float varfloat;
  printf("The size of '%s' is %li Byte(s).\n", "float", sizeof(varfloat));
  double vardouble;
  printf("The size of '%s' is %li Byte(s).\n", "double", sizeof(vardouble));
  long double varlongdouble;
  printf("The size of '%s' is %li Byte(s).\n", "long double",
         sizeof(varlongdouble));
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xed3(%rip),%rdi
lea    0xeee(%rip),%rsi
mov    $0x1,%edx
call   1030 <printf@plt>
lea    0xebb(%rip),%rdi
lea    0xedb(%rip),%rsi
mov    $0x2,%edx
call   1030 <printf@plt>
lea    0xea3(%rip),%rdi
lea    0xec9(%rip),%rsi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xe8b(%rip),%rdi
lea    0xeba(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
lea    0xe9d(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe5b(%rip),%rdi
lea    0xe8f(%rip),%rsi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xe43(%rip),%rdi
lea    0xe82(%rip),%rsi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe2b(%rip),%rdi
lea    0xe65(%rip),%rsi
mov    $0x10,%edx
call   1030 <printf@plt>
mov    0x2df3(%rip),%rax
mov    (%rax),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xf03(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1030 <printf@plt>
lea    0xef4(%rip),%rsi
mov    %rbx,%rdi
mov    $0x2,%edx
call   1030 <printf@plt>
lea    0xee6(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xedb(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xec2(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xeb8(%rip),%rsi
mov    %rbx,%rdi
mov    $0x4,%edx
call   1030 <printf@plt>
lea    0xeaf(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <printf@plt>
lea    0xe96(%rip),%rsi
mov    %rbx,%rdi
mov    $0x10,%edx
call   1030 <printf@plt>
mov    0x2e21(%rip),%rax
mov    (%rax),%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [34 x i8] c"The size of '%s' is %li 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 = [5 x i8] c"long\00"
@.str.5 = [10 x i8] c"long long\00"
@.str.6 = [6 x i8] c"float\00"
@.str.7 = [7 x i8] c"double\00"
@.str.8 = [12 x i8] c"long double\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i16
%8 = alloca i32
%9 = alloca i64
%10 = alloca i64
%11 = alloca float
%12 = alloca double
%13 = alloca x86_fp80
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 1)
%15 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 2)
%16 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%17 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 8)
%18 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 8)
%19 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 4)
%20 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 8)
%21 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 16)
%22 = load i32, i32* @EXIT_SUCCESS
ret i32 %22
}

LLVM IR (-O2):
@.str = [34 x i8] c"The size of '%s' is %li 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 = [5 x i8] c"long\00"
@.str.5 = [10 x i8] c"long long\00"
@.str.6 = [6 x i8] c"float\00"
@.str.7 = [7 x i8] c"double\00"
@.str.8 = [12 x i8] c"long double\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 1)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 2)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 8)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 8)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 4)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 8)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i32 16)
%11 = load i32, i32* @EXIT_SUCCESS
ret i32 %11
}