#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 *, int, double, ...);
int main(int argc, char const *argv[]) {
  char plop1 = 'c';
  unsigned char plop2 = 'c';
  short plop3 = 'c';
  unsigned short plop4 = 'c';
  int plop5 = 'c';
  unsigned int plop6 = 'c';
  long plop7 = 'c';
  long long plop8 = 'c';
  float plop9 = 'c';
  double plop10 = 'c';
  printf("char (plop1) : Size %lo : Value %c : In memory %p \n", sizeof(char),
         plop1, &plop1);
  printf("unsigned char (plop2) : Size %lo : Value %c : In memory %p \n",
         sizeof(unsigned char), plop2, &plop2);
  printf("short (plop3) : Size %lo : Value %d : In memory %p \n", sizeof(short),
         plop3, &plop3);
  printf("unsigned short (plop4) : Size %lo : Value %u : In memory %p \n",
         sizeof(unsigned short), plop4, &plop4);
  printf("int (plop5) : Size %lo : Value %d : In memory %p \n", sizeof(int),
         plop5, &plop5);
  printf("unsigned int (plop6) : Size %lo : Value %u : In memory %p \n",
         sizeof(unsigned int), plop6, &plop6);
  printf("long (plop7) : Size %lo : Value %ld : In memory %p \n", sizeof(long),
         plop7, &plop7);
  printf("long long (plop8) : Size %lo : Value %lld : In memory %p \n",
         sizeof(long long), plop8, &plop8);
  printf("float (plop9) : Size %lo : Value %f : In memory %p \n", sizeof(float),
         plop9, &plop9);
  printf("double (plop10) : Size %lo : Value %f : In memory %p \n",
         sizeof(double), plop10, &plop10);
  return 0;
}


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)
movb   $0x63,-0x11(%rbp)
movb   $0x63,-0x12(%rbp)
movw   $0x63,-0x14(%rbp)
movw   $0x63,-0x16(%rbp)
movl   $0x63,-0x1c(%rbp)
movl   $0x63,-0x20(%rbp)
movq   $0x63,-0x28(%rbp)
movq   $0x63,-0x30(%rbp)
movl   $0x42c60000,-0x34(%rbp)
movabs $0x4058c00000000000,%rax
c0 58 40
mov    %rax,-0x40(%rbp)
movsbl -0x11(%rbp),%eax
cvtsi2sd %eax,%xmm0
lea    0xe84(%rip),%rdi
mov    $0x1,%esi
mov    %esi,-0x4c(%rbp)
lea    -0x11(%rbp),%rdx
mov    $0x1,%al
mov    %al,-0x41(%rbp)
call   1030 <printf@plt>
mov    -0x4c(%rbp),%esi
mov    -0x41(%rbp),%al
movzbl -0x12(%rbp),%ecx
cvtsi2sd %ecx,%xmm0
lea    0xe8d(%rip),%rdi
lea    -0x12(%rbp),%rdx
call   1030 <printf@plt>
mov    -0x41(%rbp),%al
movswl -0x14(%rbp),%ecx
cvtsi2sd %ecx,%xmm0
lea    0xeaf(%rip),%rdi
mov    $0x2,%esi
mov    %esi,-0x48(%rbp)
lea    -0x14(%rbp),%rdx
call   1030 <printf@plt>
mov    -0x48(%rbp),%esi
mov    -0x41(%rbp),%al
movzwl -0x16(%rbp),%ecx
cvtsi2sd %ecx,%xmm0
lea    0xebe(%rip),%rdi
lea    -0x16(%rbp),%rdx
call   1030 <printf@plt>
mov    -0x41(%rbp),%al
cvtsi2sdl -0x1c(%rbp),%xmm0
lea    0xee4(%rip),%rdi
mov    $0x4,%esi
lea    -0x1c(%rbp),%rdx
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
cvtsi2sd %rax,%xmm0
lea    0xefa(%rip),%rdi
mov    $0x4,%esi
lea    -0x20(%rbp),%rdx
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdq -0x28(%rbp),%xmm0
lea    0xf19(%rip),%rdi
mov    $0x8,%esi
lea    -0x28(%rbp),%rdx
mov    $0x1,%al
call   1030 <printf@plt>
cvtsi2sdq -0x30(%rbp),%xmm0
lea    0xf31(%rip),%rdi
mov    $0x8,%esi
lea    -0x30(%rbp),%rdx
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xf4c(%rip),%rdi
mov    $0x4,%esi
lea    -0x34(%rbp),%rdx
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x40(%rbp),%xmm0
lea    0xf65(%rip),%rdi
mov    $0x8,%esi
lea    -0x40(%rbp),%rdx
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x38,%rsp
movb   $0x63,0xf(%rsp)
movb   $0x63,0xe(%rsp)
movw   $0x63,0x12(%rsp)
movw   $0x63,0x10(%rsp)
movl   $0x63,0x1c(%rsp)
movl   $0x63,0x18(%rsp)
movq   $0x63,0x30(%rsp)
movq   $0x63,0x28(%rsp)
movl   $0x42c60000,0x14(%rsp)
42
movabs $0x4058c00000000000,%rax
c0 58 40
mov    %rax,0x20(%rsp)
lea    0xe9c(%rip),%rdi
movsd  0xe8c(%rip),%xmm0
lea    0xf(%rsp),%rdx
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xeb0(%rip),%rdi
lea    0xe(%rsp),%rdx
mov    $0x1,%esi
movsd  0xe62(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xecd(%rip),%rdi
lea    0x12(%rsp),%rdx
mov    $0x2,%esi
movsd  0xe42(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xee2(%rip),%rdi
lea    0x10(%rsp),%rdx
mov    $0x2,%esi
movsd  0xe22(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
lea    0x1c(%rsp),%rdx
mov    $0x4,%esi
movsd  0xe02(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
lea    0x18(%rsp),%rdx
mov    $0x4,%esi
movsd  0xde2(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
lea    0x30(%rsp),%rdx
mov    $0x8,%esi
movsd  0xdc2(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
lea    0x28(%rsp),%rdx
mov    $0x8,%esi
movsd  0xda2(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
lea    0x14(%rsp),%rdx
mov    $0x4,%esi
movsd  0xd82(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
lea    0x20(%rsp),%rdx
mov    $0x8,%esi
movsd  0xd62(%rip),%xmm0
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x38,%rsp
ret

LLVM IR (-O0):
@.str = [52 x i8] c"char (plop1) : Size %lo : Value %c : In memory %p \0A\00"
@.str.1 = [61 x i8] c"unsigned char (plop2) : Size %lo : Value %c : In memory %p \0A\00"
@.str.2 = [53 x i8] c"short (plop3) : Size %lo : Value %d : In memory %p \0A\00"
@.str.3 = [62 x i8] c"unsigned short (plop4) : Size %lo : Value %u : In memory %p \0A\00"
@.str.4 = [51 x i8] c"int (plop5) : Size %lo : Value %d : In memory %p \0A\00"
@.str.5 = [60 x i8] c"unsigned int (plop6) : Size %lo : Value %u : In memory %p \0A\00"
@.str.6 = [53 x i8] c"long (plop7) : Size %lo : Value %ld : In memory %p \0A\00"
@.str.7 = [59 x i8] c"long long (plop8) : Size %lo : Value %lld : In memory %p \0A\00"
@.str.8 = [53 x i8] c"float (plop9) : Size %lo : Value %f : In memory %p \0A\00"
@.str.9 = [55 x i8] c"double (plop10) : Size %lo : Value %f : In memory %p \0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i8
%8 = alloca i16
%9 = alloca i16
%10 = alloca i32
%11 = alloca i32
%12 = alloca i64
%13 = alloca i64
%14 = alloca float
%15 = alloca double
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i8 99, i8* %6
store i8 99, i8* %7
store i16 99, i16* %8
store i16 99, i16* %9
store i32 99, i32* %10
store i32 99, i32* %11
store i64 99, i64* %12
store i64 99, i64* %13
store float 9.900000e+01, float* %14
store double 9.900000e+01, double* %15
%16 = load i8, i8* %6
%17 = sitofp i8 %16 to double
%18 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 1, double %17, i8* %6)
%19 = load i8, i8* %7
%20 = uitofp i8 %19 to double
%21 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32 1, double %20, i8* %7)
%22 = load i16, i16* %8
%23 = sitofp i16 %22 to double
%24 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0), i32 2, double %23, i16* %8)
%25 = load i16, i16* %9
%26 = uitofp i16 %25 to double
%27 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0), i32 2, double %26, i16* %9)
%28 = load i32, i32* %10
%29 = sitofp i32 %28 to double
%30 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0), i32 4, double %29, i32* %10)
%31 = load i32, i32* %11
%32 = uitofp i32 %31 to double
%33 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), i32 4, double %32, i32* %11)
%34 = load i64, i64* %12
%35 = sitofp i64 %34 to double
%36 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0), i32 8, double %35, i64* %12)
%37 = load i64, i64* %13
%38 = sitofp i64 %37 to double
%39 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.7, i64 0, i64 0), i32 8, double %38, i64* %13)
%40 = load float, float* %14
%41 = fpext float %40 to double
%42 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0), i32 4, double %41, float* %14)
%43 = load double, double* %15
%44 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.9, i64 0, i64 0), i32 8, double %43, double* %15)
ret i32 0
}

LLVM IR (-O2):
@.str = [52 x i8] c"char (plop1) : Size %lo : Value %c : In memory %p \0A\00"
@.str.1 = [61 x i8] c"unsigned char (plop2) : Size %lo : Value %c : In memory %p \0A\00"
@.str.2 = [53 x i8] c"short (plop3) : Size %lo : Value %d : In memory %p \0A\00"
@.str.3 = [62 x i8] c"unsigned short (plop4) : Size %lo : Value %u : In memory %p \0A\00"
@.str.4 = [51 x i8] c"int (plop5) : Size %lo : Value %d : In memory %p \0A\00"
@.str.5 = [60 x i8] c"unsigned int (plop6) : Size %lo : Value %u : In memory %p \0A\00"
@.str.6 = [53 x i8] c"long (plop7) : Size %lo : Value %ld : In memory %p \0A\00"
@.str.7 = [59 x i8] c"long long (plop8) : Size %lo : Value %lld : In memory %p \0A\00"
@.str.8 = [53 x i8] c"float (plop9) : Size %lo : Value %f : In memory %p \0A\00"
@.str.9 = [55 x i8] c"double (plop10) : Size %lo : Value %f : In memory %p \0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i8
%4 = alloca i8
%5 = alloca i16
%6 = alloca i16
%7 = alloca i32
%8 = alloca i32
%9 = alloca i64
%10 = alloca i64
%11 = alloca float
%12 = alloca double
store i8 99, i8* %3
store i8 99, i8* %4
%13 = bitcast i16* %5 to i8*
store i16 99, i16* %5
%14 = bitcast i16* %6 to i8*
store i16 99, i16* %6
%15 = bitcast i32* %7 to i8*
store i32 99, i32* %7
%16 = bitcast i32* %8 to i8*
store i32 99, i32* %8
%17 = bitcast i64* %9 to i8*
store i64 99, i64* %9
%18 = bitcast i64* %10 to i8*
store i64 99, i64* %10
%19 = bitcast float* %11 to i8*
store float 9.900000e+01, float* %11
%20 = bitcast double* %12 to i8*
store double 9.900000e+01, double* %12
%21 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0), i32 1, double 9.900000e+01, i8* %3)
%22 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0), i32 1, double 9.900000e+01, i8* %4)
%23 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.2, i64 0, i64 0), i32 2, double 9.900000e+01, i16* %5)
%24 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0), i32 2, double 9.900000e+01, i16* %6)
%25 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0), i32 4, double 9.900000e+01, i32* %7)
%26 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), i32 4, double 9.900000e+01, i32* %8)
%27 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0), i32 8, double 9.900000e+01, i64* %9)
%28 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.7, i64 0, i64 0), i32 8, double 9.900000e+01, i64* %10)
%29 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.8, i64 0, i64 0), i32 4, double 9.900000e+01, float* %11)
%30 = call i32 (i8*, i32, double, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.9, i64 0, i64 0), i32 8, double 9.900000e+01, double* %12)
ret i32 0
}