#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*/ DSENSITIVITY(double);
double __BUILTIN_DAED_DBETWEEN_WITH_ULP(double, double);
int main(void) {
  double x1, x2, x3;
  double r;
  x1 = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-15.0, 15.0);
  x2 = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-15.0, 15.0);
  x3 = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-15.0, 15.0);
  r = 2 * x1 * x2 * x3 + 3 * x3 * x3 - x2 * x1 * x2 * x3 + 3 * x3 * x3 - x2;
  DSENSITIVITY(r);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xed9(%rip),%xmm0
movsd  0xed9(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  0xebf(%rip),%xmm0
movsd  0xebf(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x18(%rbp)
movsd  0xea5(%rip),%xmm0
movsd  0xea5(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  0xe83(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movsd  0xe64(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe17(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
movsd  0xed4(%rip),%xmm0
movsd  0xed4(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xeb9(%rip),%xmm0
movsd  0xeb9(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe9e(%rip),%xmm0
movsd  0xe9e(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  0x10(%rsp),%xmm3
movapd %xmm3,%xmm1
addsd  %xmm3,%xmm1
movsd  0x8(%rsp),%xmm4
mulsd  %xmm4,%xmm1
movsd  0xe81(%rip),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm4,%xmm3
mulsd  %xmm4,%xmm3
mulsd  %xmm0,%xmm3
subsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
subsd  %xmm4,%xmm1
movapd %xmm1,%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
store i32 0, i32* %1
%6 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
store double %6, double* %2
%7 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
store double %7, double* %3
%8 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
store double %8, double* %4
%9 = load double, double* %2
%10 = fmul double 2.000000e+00, %9
%11 = load double, double* %3
%12 = fmul double %10, %11
%13 = load double, double* %4
%14 = load double, double* %4
%15 = fmul double 3.000000e+00, %14
%16 = load double, double* %4
%17 = fmul double %15, %16
%18 = call double @llvm.fmuladd.f64(double %12, double %13, double %17)
%19 = load double, double* %3
%20 = load double, double* %2
%21 = fmul double %19, %20
%22 = load double, double* %3
%23 = fmul double %21, %22
%24 = load double, double* %4
%25 = fneg double %23
%26 = call double @llvm.fmuladd.f64(double %25, double %24, double %18)
%27 = load double, double* %4
%28 = fmul double 3.000000e+00, %27
%29 = load double, double* %4
%30 = call double @llvm.fmuladd.f64(double %28, double %29, double %26)
%31 = load double, double* %3
%32 = fsub double %30, %31
store double %32, double* %5
%33 = load double, double* %5
%34 = call i32 @DSENSITIVITY(double %33)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
%2 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
%3 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double -1.500000e+01, double 1.500000e+01)
%4 = fmul double %1, 2.000000e+00
%5 = fmul double %4, %2
%6 = fmul double %3, 3.000000e+00
%7 = fmul double %3, %6
%8 = tail call double @llvm.fmuladd.f64(double %5, double %3, double %7)
%9 = fneg double %2
%10 = fmul double %1, %9
%11 = fmul double %2, %10
%12 = tail call double @llvm.fmuladd.f64(double %11, double %3, double %8)
%13 = tail call double @llvm.fmuladd.f64(double %6, double %3, double %12)
%14 = fsub double %13, %2
%15 = tail call i32 @DSENSITIVITY(double %14)
ret i32 0
}