#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*/ cdbr(float, float);
int /*<<< orphan*/ cebr(float, float);
int main(void) {
  float f1, f2;
  float d1, d2;
  f1 = 3.14f;
  f2 = f1;
  cebr(f1, f2);
  f2 = f1 + 10.;
  cebr(f1, f2);
  f2 = f1 - 100.;
  cebr(f1, f2);
  d1 = 2.78;
  d2 = d1;
  cdbr(d1, d2);
  d2 = d1 + 10.;
  cdbr(d1, d2);
  d2 = d1 - 100.;
  cdbr(d1, d2);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xedd(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
call   1040 <cebr@plt>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xea2(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
call   1040 <cebr@plt>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe6d(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
call   1040 <cebr@plt>
movss  0xe59(%rip),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x10(%rbp),%xmm0
movss  -0x14(%rbp),%xmm1
call   1030 <cdbr@plt>
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe22(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x10(%rbp),%xmm0
movss  -0x14(%rbp),%xmm1
call   1030 <cdbr@plt>
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xded(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x10(%rbp),%xmm0
movss  -0x14(%rbp),%xmm1
call   1030 <cdbr@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
movss  0xed7(%rip),%xmm0
movaps %xmm0,%xmm1
call   1040 <cebr@plt>
movss  0xecb(%rip),%xmm1
movss  0xebf(%rip),%xmm0
call   1040 <cebr@plt>
movss  0xeba(%rip),%xmm1
movss  0xeaa(%rip),%xmm0
call   1040 <cebr@plt>
movss  0xea9(%rip),%xmm0
movaps %xmm0,%xmm1
call   1030 <cdbr@plt>
movss  0xe9d(%rip),%xmm1
movss  0xe91(%rip),%xmm0
call   1030 <cdbr@plt>
movss  0xe8c(%rip),%xmm1
movss  0xe7c(%rip),%xmm0
call   1030 <cdbr@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
store i32 0, i32* %1
store float 0x40091EB860000000, float* %2
%6 = load float, float* %2
store float %6, float* %3
%7 = load float, float* %2
%8 = load float, float* %3
%9 = call i32 @cebr(float %7, float %8)
%10 = load float, float* %2
%11 = fpext float %10 to double
%12 = fadd double %11, 1.000000e+01
%13 = fptrunc double %12 to float
store float %13, float* %3
%14 = load float, float* %2
%15 = load float, float* %3
%16 = call i32 @cebr(float %14, float %15)
%17 = load float, float* %2
%18 = fpext float %17 to double
%19 = fsub double %18, 1.000000e+02
%20 = fptrunc double %19 to float
store float %20, float* %3
%21 = load float, float* %2
%22 = load float, float* %3
%23 = call i32 @cebr(float %21, float %22)
store float 0x40063D70A0000000, float* %4
%24 = load float, float* %4
store float %24, float* %5
%25 = load float, float* %4
%26 = load float, float* %5
%27 = call i32 @cdbr(float %25, float %26)
%28 = load float, float* %4
%29 = fpext float %28 to double
%30 = fadd double %29, 1.000000e+01
%31 = fptrunc double %30 to float
store float %31, float* %5
%32 = load float, float* %4
%33 = load float, float* %5
%34 = call i32 @cdbr(float %32, float %33)
%35 = load float, float* %4
%36 = fpext float %35 to double
%37 = fsub double %36, 1.000000e+02
%38 = fptrunc double %37 to float
store float %38, float* %5
%39 = load float, float* %4
%40 = load float, float* %5
%41 = call i32 @cdbr(float %39, float %40)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @cebr(float 0x40091EB860000000, float 0x40091EB860000000)
%2 = tail call i32 @cebr(float 0x40091EB860000000, float 0x402A47AE20000000)
%3 = tail call i32 @cebr(float 0x40091EB860000000, float 0xC058370A40000000)
%4 = tail call i32 @cdbr(float 0x40063D70A0000000, float 0x40063D70A0000000)
%5 = tail call i32 @cdbr(float 0x40063D70A0000000, float 0x40298F5C20000000)
%6 = tail call i32 @cdbr(float 0x40063D70A0000000, float 0xC0584E1480000000)
ret i32 0
}