#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*/ epaisseurDeTrait(float);
int /*<<< orphan*/ ligne(float, float, float, float);
void rectangleVide(float xCoin1, float yCoin1, float xCoin2, float yCoin2,
                   float taille) {
  epaisseurDeTrait(taille);
  ligne(xCoin1, yCoin1, xCoin1, yCoin2);
  ligne(xCoin1, yCoin1, xCoin2, yCoin1);
  ligne(xCoin2, yCoin2, xCoin1, yCoin2);
  ligne(xCoin2, yCoin2, xCoin2, yCoin1);
}


x86 assembly (clang, -O0):
<rectangleVide>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movss  %xmm0,-0x4(%rbp)
movss  %xmm1,-0x8(%rbp)
movss  %xmm2,-0xc(%rbp)
movss  %xmm3,-0x10(%rbp)
movss  %xmm4,-0x14(%rbp)
movss  -0x14(%rbp),%xmm0
call   1040 <epaisseurDeTrait@plt>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
movss  -0x4(%rbp),%xmm2
movss  -0x10(%rbp),%xmm3
call   1030 <ligne@plt>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
movss  -0xc(%rbp),%xmm2
movss  -0x8(%rbp),%xmm3
call   1030 <ligne@plt>
movss  -0xc(%rbp),%xmm0
movss  -0x10(%rbp),%xmm1
movss  -0x4(%rbp),%xmm2
movss  -0x10(%rbp),%xmm3
call   1030 <ligne@plt>
movss  -0xc(%rbp),%xmm0
movss  -0x10(%rbp),%xmm1
movss  -0xc(%rbp),%xmm2
movss  -0x8(%rbp),%xmm3
call   1030 <ligne@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rectangleVide>:
sub    $0x18,%rsp
movss  %xmm3,0x10(%rsp)
movss  %xmm2,0x14(%rsp)
movss  %xmm1,0xc(%rsp)
movss  %xmm0,0x8(%rsp)
movaps %xmm4,%xmm0
call   1040 <epaisseurDeTrait@plt>
movss  0x8(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
movaps %xmm0,%xmm2
movss  0x10(%rsp),%xmm3
call   1030 <ligne@plt>
movss  0x8(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
movss  0x14(%rsp),%xmm2
movaps %xmm1,%xmm3
call   1030 <ligne@plt>
movss  0x14(%rsp),%xmm0
movss  0x10(%rsp),%xmm1
movss  0x8(%rsp),%xmm2
movaps %xmm1,%xmm3
call   1030 <ligne@plt>
movss  0x14(%rsp),%xmm0
movss  0x10(%rsp),%xmm1
movaps %xmm0,%xmm2
movss  0xc(%rsp),%xmm3
add    $0x18,%rsp
jmp    1030 <ligne@plt>

LLVM IR (-O0):
define void @rectangleVide(float %0, float %1, float %2, float %3, float %4) {
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
store float %0, float* %6
store float %1, float* %7
store float %2, float* %8
store float %3, float* %9
store float %4, float* %10
%11 = load float, float* %10
%12 = call i32 @epaisseurDeTrait(float %11)
%13 = load float, float* %6
%14 = load float, float* %7
%15 = load float, float* %6
%16 = load float, float* %9
%17 = call i32 @ligne(float %13, float %14, float %15, float %16)
%18 = load float, float* %6
%19 = load float, float* %7
%20 = load float, float* %8
%21 = load float, float* %7
%22 = call i32 @ligne(float %18, float %19, float %20, float %21)
%23 = load float, float* %8
%24 = load float, float* %9
%25 = load float, float* %6
%26 = load float, float* %9
%27 = call i32 @ligne(float %23, float %24, float %25, float %26)
%28 = load float, float* %8
%29 = load float, float* %9
%30 = load float, float* %8
%31 = load float, float* %7
%32 = call i32 @ligne(float %28, float %29, float %30, float %31)
ret void
}

LLVM IR (-O2):
define void @rectangleVide(float %0, float %1, float %2, float %3, float %4) {
%6 = tail call i32 @epaisseurDeTrait(float %4)
%7 = tail call i32 @ligne(float %0, float %1, float %0, float %3)
%8 = tail call i32 @ligne(float %0, float %1, float %2, float %1)
%9 = tail call i32 @ligne(float %2, float %3, float %0, float %3)
%10 = tail call i32 @ligne(float %2, float %3, float %2, float %1)
ret void
}