#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 */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, long double, int);
int main() {
  printf("The signed char\t[%c],size is [%d]\n", (char)'a', sizeof(char));
  printf("The signed short\t[%d],size is [%d]\n", (short)250, sizeof(short));
  printf("The int   \t[%d],size is [%d]\n", (int)250, sizeof(int));
  printf("The long  \t[%ld],size is[%d]\n", (long)250, sizeof(long));
  printf("The long long \t[%Ld],size is[%d]\n", (long long)250,
         sizeof(long long));
  printf("The float \t[%f],size is [%d]\n", (float)250, sizeof(float));
  printf("The double \t[%lf],size is [%d]\n", (double)250, sizeof(double));
  printf("The long double \t[%Lf],size is [%d]\n", (long double)250,
         sizeof(long double));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %rsp,%rax
flds   0xedc(%rip)
fstpt  (%rax)
lea    0xed7(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xebc(%rip)
fstpt  (%rax)
lea    0xede(%rip),%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xea0(%rip)
fstpt  (%rax)
lea    0xee6(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xe84(%rip)
fstpt  (%rax)
lea    0xee8(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xe68(%rip)
fstpt  (%rax)
lea    0xeea(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xe4c(%rip)
fstpt  (%rax)
lea    0xef0(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xe30(%rip)
fstpt  (%rax)
lea    0xef2(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
mov    %rsp,%rax
flds   0xe14(%rip)
fstpt  (%rax)
lea    0xef6(%rip),%rdi
mov    $0x10,%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
flds   0xee6(%rip)
fstpt  (%rsp)
lea    0xee4(%rip),%rdi
mov    $0x1,%esi
call   1030 <printf@plt>
flds   0xed0(%rip)
fld    %st(0)
fstpt  0x1c(%rsp)
fstpt  (%rsp)
lea    0xee7(%rip),%rdi
mov    $0x2,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xef3(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xef9(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xeff(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xf09(%rip),%rdi
mov    $0x4,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xf0f(%rip),%rdi
mov    $0x8,%esi
call   1030 <printf@plt>
fldt   0x1c(%rsp)
fstpt  (%rsp)
lea    0xf17(%rip),%rdi
mov    $0x10,%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@.str = [35 x i8] c"The signed char\09[%c],size is [%d]\0A\00"
@.str.1 = [36 x i8] c"The signed short\09[%d],size is [%d]\0A\00"
@.str.2 = [30 x i8] c"The int \09[%d],size is [%d]\0A\00"
@.str.3 = [30 x i8] c"The long \09[%ld],size is[%d]\0A\00"
@.str.4 = [34 x i8] c"The long long \09[%Ld],size is[%d]\0A\00"
@.str.5 = [30 x i8] c"The float \09[%f],size is [%d]\0A\00"
@.str.6 = [32 x i8] c"The double \09[%lf],size is [%d]\0A\00"
@.str.7 = [37 x i8] c"The long double \09[%Lf],size is [%d]\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), x86_fp80 0xK4005C200000000000000, i32 1)
%3 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 2)
%4 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 4)
%5 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%6 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%7 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 4)
%8 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%9 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 16)
ret i32 0
}

LLVM IR (-O2):
@.str = [35 x i8] c"The signed char\09[%c],size is [%d]\0A\00"
@.str.1 = [36 x i8] c"The signed short\09[%d],size is [%d]\0A\00"
@.str.2 = [30 x i8] c"The int \09[%d],size is [%d]\0A\00"
@.str.3 = [30 x i8] c"The long \09[%ld],size is[%d]\0A\00"
@.str.4 = [34 x i8] c"The long long \09[%Ld],size is[%d]\0A\00"
@.str.5 = [30 x i8] c"The float \09[%f],size is [%d]\0A\00"
@.str.6 = [32 x i8] c"The double \09[%lf],size is [%d]\0A\00"
@.str.7 = [37 x i8] c"The long double \09[%Lf],size is [%d]\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), x86_fp80 0xK4005C200000000000000, i32 1)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 2)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 4)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 4)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 8)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0), x86_fp80 0xK4006FA00000000000000, i32 16)
ret i32 0
}