#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*/ printf(char *);
void MakeExpressionTree() {
  printf("\x1B[36m"
         "\t\t\t\t\t\t\t\t\t *\n"
         "\x1B[0m");
  printf("\x1B[35m"
         "\t\t\t\t\t\t\t\t\t/ \\ \n"
         "\x1B[0m");
  printf("\x1B[36m"
         "\t\t\t\t\t\t\t\t       +   c\n"
         "\x1B[0m");
  printf("\x1B[35m"
         "\t\t\t\t\t\t\t\t      / \\\n"
         "\x1B[0m");
  printf("\x1B[36m"
         "\t\t\t\t\t\t\t\t     a   b\n\n"
         "\x1B[0m");
}


x86 assembly (clang, -O0):
<MakeExpressionTree>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<MakeExpressionTree>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xefe(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf21(%rip),%rdi
pop    %rax
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [22 x i8] c"\1B[36m\09\09\09\09\09\09\09\09\09 *\0A\1B[0m\00"
@.str.1 = [24 x i8] c"\1B[35m\09\09\09\09\09\09\09\09\09/ \\ \0A\1B[0m\00"
@.str.2 = [31 x i8] c"\1B[36m\09\09\09\09\09\09\09\09 + c\0A\1B[0m\00"
@.str.3 = [28 x i8] c"\1B[35m\09\09\09\09\09\09\09\09 / \\\0A\1B[0m\00"
@.str.4 = [30 x i8] c"\1B[36m\09\09\09\09\09\09\09\09 a b\0A\0A\1B[0m\00"
define void @MakeExpressionTree() {
%1 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [22 x i8] c"\1B[36m\09\09\09\09\09\09\09\09\09 *\0A\1B[0m\00"
@.str.1 = [24 x i8] c"\1B[35m\09\09\09\09\09\09\09\09\09/ \\ \0A\1B[0m\00"
@.str.2 = [31 x i8] c"\1B[36m\09\09\09\09\09\09\09\09 + c\0A\1B[0m\00"
@.str.3 = [28 x i8] c"\1B[35m\09\09\09\09\09\09\09\09 / \\\0A\1B[0m\00"
@.str.4 = [30 x i8] c"\1B[36m\09\09\09\09\09\09\09\09 a b\0A\0A\1B[0m\00"
define void @MakeExpressionTree() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
ret void
}