#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*/ coloration(char *, char *);
int /*<<< orphan*/ printf(char *);
void afficherCaractereCouleurMastermind(void) {
  coloration("o", "31");
  printf(" = r (rouge)\t");
  coloration("o", "33");
  printf(" = j (jaune)\t");
  coloration("o", "32");
  printf(" = v (vert)\n");
  coloration("o", "34");
  printf(" = b (bleu)\t");
  printf("o = B (blanc)\t");
  coloration("o", "36");
  printf(" = c (cyan)\n");
  coloration("o", "35");
  printf(" = f (fuchia)\n\n");
}


x86 assembly (clang, -O0):
<afficherCaractereCouleurMastermind>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xed0(%rip),%rsi
call   1040 <coloration@plt>
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb6(%rip),%rdi
lea    0xec2(%rip),%rsi
call   1040 <coloration@plt>
lea    0xeb9(%rip),%rdi
call   1030 <printf@plt>
lea    0xe97(%rip),%rdi
lea    0xeb4(%rip),%rsi
call   1040 <coloration@plt>
lea    0xeab(%rip),%rdi
call   1030 <printf@plt>
lea    0xe78(%rip),%rdi
lea    0xea5(%rip),%rsi
call   1040 <coloration@plt>
lea    0xe9c(%rip),%rdi
call   1030 <printf@plt>
lea    0xe9d(%rip),%rdi
call   1030 <printf@plt>
lea    0xe4d(%rip),%rdi
lea    0xe99(%rip),%rsi
call   1040 <coloration@plt>
lea    0xe90(%rip),%rdi
call   1030 <printf@plt>
lea    0xe2e(%rip),%rdi
lea    0xe8a(%rip),%rsi
call   1040 <coloration@plt>
lea    0xe81(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<afficherCaractereCouleurMastermind>:
push   %rbx
lea    0xec8(%rip),%rbx
lea    0xec3(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xeb7(%rip),%rdi
call   1040 <printf@plt>
lea    0xeb9(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xead(%rip),%rdi
call   1040 <printf@plt>
lea    0xeaf(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xec8(%rip),%rdi
call   1030 <puts@plt>
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xe8b(%rip),%rdi
call   1040 <printf@plt>
lea    0xe8c(%rip),%rdi
call   1040 <printf@plt>
lea    0xe8f(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xe92(%rip),%rdi
call   1030 <puts@plt>
lea    0xe77(%rip),%rsi
mov    %rbx,%rdi
call   1050 <coloration@plt>
lea    0xe83(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"o\00"
@.str.1 = [3 x i8] c"31\00"
@.str.2 = [14 x i8] c" = r (rouge)\09\00"
@.str.3 = [3 x i8] c"33\00"
@.str.4 = [14 x i8] c" = j (jaune)\09\00"
@.str.5 = [3 x i8] c"32\00"
@.str.6 = [13 x i8] c" = v (vert)\0A\00"
@.str.7 = [3 x i8] c"34\00"
@.str.8 = [13 x i8] c" = b (bleu)\09\00"
@.str.9 = [15 x i8] c"o = B (blanc)\09\00"
@.str.10 = [3 x i8] c"36\00"
@.str.11 = [13 x i8] c" = c (cyan)\0A\00"
@.str.12 = [3 x i8] c"35\00"
@.str.13 = [16 x i8] c" = f (fuchia)\0A\0A\00"
define void @afficherCaractereCouleurMastermind() {
%1 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"o\00"
@.str.1 = [3 x i8] c"31\00"
@.str.2 = [14 x i8] c" = r (rouge)\09\00"
@.str.3 = [3 x i8] c"33\00"
@.str.4 = [14 x i8] c" = j (jaune)\09\00"
@.str.5 = [3 x i8] c"32\00"
@.str.7 = [3 x i8] c"34\00"
@.str.8 = [13 x i8] c" = b (bleu)\09\00"
@.str.9 = [15 x i8] c"o = B (blanc)\09\00"
@.str.10 = [3 x i8] c"36\00"
@.str.12 = [3 x i8] c"35\00"
@str = [12 x i8] c" = v (vert)\00"
@str.14 = [12 x i8] c" = c (cyan)\00"
@str.15 = [15 x i8] c" = f (fuchia)\0A\00"
define void @afficherCaractereCouleurMastermind() {
%1 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%7 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%9 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0))
%10 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.14, i64 0, i64 0))
%12 = tail call i32 @coloration(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.15, i64 0, i64 0))
ret void
}