int MAIN() {
  int i, j, k;
  float m, n, l;
  k = (1 + 2) * 3 - 4 / 5 + -1;
  write(k);
  write("\n");
  i = 1;
  j = 2;
  k = 3;
  k = i * j - k * 4 - 5;
  write(k);
  write("\n");
  l = (1.0 + 2.0) * 3.0 - 4.0 / 5.0 + -1.0;
  write(l);
  write("\n");
  m = 1.0;
  n = 2.0;
  l = 3.0;
  l = m * n - l * 4.0 - 5.0;
  write(l);
  write("\n");
  l = l / (2.0 * l);
  write(l);
  write("\n");
  return 0;
}


x86 assembly (clang, -O0):
<MAIN>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x8,-0xc(%rbp)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1030 <write@plt>
lea    0xef8(%rip),%rdi
mov    $0x0,%al
call   1030 <write@plt>
movl   $0x1,-0x4(%rbp)
movl   $0x2,-0x8(%rbp)
movl   $0x3,-0xc(%rbp)
mov    -0x4(%rbp),%eax
imul   -0x8(%rbp),%eax
mov    -0xc(%rbp),%ecx
shl    $0x2,%ecx
sub    %ecx,%eax
sub    $0x5,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%edi
mov    $0x0,%al
call   1030 <write@plt>
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1030 <write@plt>
movss  0xea3(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    $0x1,%al
call   1030 <write@plt>
lea    0xe8b(%rip),%rdi
mov    $0x0,%al
call   1030 <write@plt>
movss  0xe74(%rip),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  0xe63(%rip),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  0xe52(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x10(%rbp),%xmm0
mulss  -0x14(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  0xe0f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xdf7(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    $0x1,%al
call   1030 <write@plt>
lea    0xdf3(%rip),%rdi
mov    $0x0,%al
call   1030 <write@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x18(%rbp),%xmm1
cvtss2sd %xmm1,%xmm2
movsd  0xdaa(%rip),%xmm1
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    $0x1,%al
call   1030 <write@plt>
lea    0xdaa(%rip),%rdi
mov    $0x0,%al
call   1030 <write@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MAIN>:
push   %rbx
mov    $0x8,%edi
xor    %eax,%eax
call   1030 <write@plt>
lea    0xef4(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <write@plt>
mov    $0xfffffff1,%edi
xor    %eax,%eax
call   1030 <write@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <write@plt>
movsd  0xeb4(%rip),%xmm0
mov    $0x1,%al
call   1030 <write@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <write@plt>
movsd  0xea3(%rip),%xmm0
mov    $0x1,%al
call   1030 <write@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <write@plt>
movsd  0xe92(%rip),%xmm0
mov    $0x1,%al
call   1030 <write@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <write@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
define i32 @MAIN() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca float
%5 = alloca float
%6 = alloca float
store i32 8, i32* %3
%7 = load i32, i32* %3
%8 = call i32 (i32, ...) bitcast (i32 (...)* @write to i32 (i32, ...)*)(i32 %7)
%9 = call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %1
store i32 2, i32* %2
store i32 3, i32* %3
%10 = load i32, i32* %1
%11 = load i32, i32* %2
%12 = mul nsw i32 %10, %11
%13 = load i32, i32* %3
%14 = mul nsw i32 %13, 4
%15 = sub nsw i32 %12, %14
%16 = sub nsw i32 %15, 5
store i32 %16, i32* %3
%17 = load i32, i32* %3
%18 = call i32 (i32, ...) bitcast (i32 (...)* @write to i32 (i32, ...)*)(i32 %17)
%19 = call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store float 0x401CCCCCC0000000, float* %6
%20 = load float, float* %6
%21 = fpext float %20 to double
%22 = call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double %21)
%23 = call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store float 1.000000e+00, float* %4
store float 2.000000e+00, float* %5
store float 3.000000e+00, float* %6
%24 = load float, float* %4
%25 = load float, float* %5
%26 = fmul float %24, %25
%27 = fpext float %26 to double
%28 = load float, float* %6
%29 = fpext float %28 to double
%30 = fneg double %29
%31 = call double @llvm.fmuladd.f64(double %30, double 4.000000e+00, double %27)
%32 = fsub double %31, 5.000000e+00
%33 = fptrunc double %32 to float
store float %33, float* %6
%34 = load float, float* %6
%35 = fpext float %34 to double
%36 = call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double %35)
%37 = call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%38 = load float, float* %6
%39 = fpext float %38 to double
%40 = load float, float* %6
%41 = fpext float %40 to double
%42 = fmul double 2.000000e+00, %41
%43 = fdiv double %39, %42
%44 = fptrunc double %43 to float
store float %44, float* %6
%45 = load float, float* %6
%46 = fpext float %45 to double
%47 = call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double %46)
%48 = call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c"\0A\00"
define i32 @MAIN() {
%1 = tail call i32 (i32, ...) bitcast (i32 (...)* @write to i32 (i32, ...)*)(i32 8)
%2 = tail call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 (i32, ...) bitcast (i32 (...)* @write to i32 (i32, ...)*)(i32 -15)
%4 = tail call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double 0x401CCCCCC0000000)
%6 = tail call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double -1.500000e+01)
%8 = tail call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%9 = tail call i32 (double, ...) bitcast (i32 (...)* @write to i32 (double, ...)*)(double 5.000000e-01)
%10 = tail call i32 (i8*, ...) bitcast (i32 (...)* @write to i32 (i8*, ...)*)(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret i32 0
}