#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 *, double);
int main(void) {
  float priceOfGasolineInEngland = 0.99;
  int y = 0;
  short a = 1;
  double radius = 2.34566;
  y = 12;
  printf("priceOfGasolineInEngland: %f\n", priceOfGasolineInEngland);
  printf("y: %d\n", y);
  printf("a: %d\n ", a);
  printf("radius: %lf\n ", radius);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x3f7d70a4,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movw   $0x1,-0xa(%rbp)
movabs $0x4002c3e963dc486b,%rax
c3 02 40
mov    %rax,-0x18(%rbp)
movl   $0xc,-0x8(%rbp)
movss  -0x4(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xeaf(%rip),%rdi
call   1030 <printf@plt>
cvtsi2sdl -0x8(%rbp),%xmm0
lea    0xebc(%rip),%rdi
call   1030 <printf@plt>
movswl -0xa(%rbp),%eax
cvtsi2sd %eax,%xmm0
lea    0xeaf(%rip),%rdi
call   1030 <printf@plt>
movsd  -0x18(%rbp),%xmm0
lea    0xea6(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf08(%rip),%rdi
movsd  0xee0(%rip),%xmm0
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
movsd  0xed4(%rip),%xmm0
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
movsd  0xec8(%rip),%xmm0
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
movsd  0xebc(%rip),%xmm0
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [30 x i8] c"priceOfGasolineInEngland: %f\0A\00"
@.str.1 = [7 x i8] c"y: %d\0A\00"
@.str.2 = [8 x i8] c"a: %d\0A \00"
@.str.3 = [14 x i8] c"radius: %lf\0A \00"
define i32 @main() {
%1 = alloca float
%2 = alloca i32
%3 = alloca i16
%4 = alloca double
store float 0x3FEFAE1480000000, float* %1
store i32 0, i32* %2
store i16 1, i16* %3
store double 2.345660e+00, double* %4
store i32 12, i32* %2
%5 = load float, float* %1
%6 = fpext float %5 to double
%7 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), double %6)
%8 = load i32, i32* %2
%9 = sitofp i32 %8 to double
%10 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %9)
%11 = load i16, i16* %3
%12 = sitofp i16 %11 to double
%13 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double %12)
%14 = load double, double* %4
%15 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), double %14)
ret i32 0
}

LLVM IR (-O2):
@.str = [30 x i8] c"priceOfGasolineInEngland: %f\0A\00"
@.str.1 = [7 x i8] c"y: %d\0A\00"
@.str.2 = [8 x i8] c"a: %d\0A \00"
@.str.3 = [14 x i8] c"radius: %lf\0A \00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), double 0x3FEFAE1480000000)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double 1.200000e+01)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double 1.000000e+00)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0), double 2.345660e+00)
ret i32 0
}