<s>
Microsoft	B-Application
Phoenix	I-Application
was	O
an	O
SDK	B-Application
available	O
from	O
Microsoft	O
Connect	O
for	O
creating	O
compilers	O
,	O
optimize	O
code	O
,	O
and	O
perform	O
code	B-Application
analysis	I-Application
.	O
</s>
<s>
It	O
 [ was ] 	O
also	O
available	O
as	O
an	O
SDK	B-Application
,	O
a	O
pre-release	O
build	O
of	O
which	O
has	O
been	O
made	O
accessible	O
,	O
to	O
create	O
compilers	O
and	O
code	B-Application
analysis	I-Application
tools	O
using	O
the	O
Phoenix	B-Application
framework	O
.	O
</s>
<s>
Microsoft	B-Application
Phoenix	I-Application
defines	O
an	O
intermediate	O
representation	O
(	O
IR	O
)	O
for	O
programs	O
,	O
using	O
ASTs	B-Data_Structure
,	O
control-flow	O
graphs	O
,	O
and	O
an	O
exception	O
handling	O
model	O
.	O
</s>
<s>
For	O
any	O
program	O
to	O
be	O
handled	O
by	O
Phoenix	B-Application
,	O
it	O
needs	O
to	O
be	O
converted	O
to	O
this	O
representation	O
.	O
</s>
<s>
The	O
specification	O
for	O
these	O
file	O
type-specific	O
converters	O
,	O
called	O
file	O
readers	O
in	O
Phoenix	B-Application
terminology	O
,	O
is	O
also	O
specified	O
.	O
</s>
<s>
Phoenix	B-Application
comes	O
included	O
with	O
readers	O
for	O
Portable	O
Executable	O
binary	O
files	O
,	O
CIL	O
and	O
the	O
output	O
of	O
the	O
Visual	B-Application
C++	I-Application
front-end	O
.	O
</s>
<s>
Readers	O
for	O
other	O
languages	O
can	O
be	O
written	O
using	O
the	O
Phoenix	B-Application
SDK	B-Application
,	O
though	O
separate	O
tools	O
such	O
as	O
lex	B-General_Concept
and	O
yacc	B-Application
need	O
to	O
be	O
used	O
to	O
write	O
the	O
lexer	B-Application
and	O
parser	B-Language
,	O
respectively	O
.	O
</s>
<s>
Once	O
the	O
program	O
has	O
been	O
converted	O
to	O
the	O
IR	O
,	O
the	O
analysis	O
and	O
optimization	B-Application
tools	O
can	O
operate	O
on	O
that	O
form	O
.	O
</s>
<s>
Phoenix	B-Application
includes	O
a	O
selection	O
of	O
tools	O
–	O
including	O
block	O
counting	O
,	O
memory	O
analysis	O
,	O
code	B-Application
coverage	I-Application
,	O
code	B-Application
analysis	I-Application
and	O
optimization	B-Application
.	O
</s>
<s>
The	O
Phoenix	B-Application
SDK	B-Application
can	O
be	O
used	O
to	O
write	O
and	O
plug-in	O
other	O
tools	O
as	O
well	O
.	O
</s>
<s>
Code	B-Application
generation	I-Application
is	O
handled	O
by	O
providing	O
architecture-specific	O
(	O
either	O
physical	O
architecture	O
of	O
the	O
processor	O
or	O
a	O
virtual	B-Architecture
machine	I-Architecture
architecture	O
)	O
file	O
writers	O
.	O
</s>
<s>
Phoenix	B-Application
provides	O
the	O
c2.dll	O
compiler	O
backend	O
,	O
which	O
it	O
shares	O
with	O
Visual	B-Application
C++	I-Application
,	O
to	O
handle	O
analysis	O
,	O
optimization	B-Application
and	O
code	B-Application
generation	I-Application
for	O
the	O
x86	B-Operating_System
architecture	I-Operating_System
.	O
</s>
<s>
A	O
Phoenix	B-Application
component	O
(	O
phx.dll	O
)	O
is	O
used	O
for	O
some	O
of	O
the	O
static	O
analysis	O
(	O
FxCop	O
)	O
in	O
Visual	O
Studio	O
2010	O
.	O
</s>
<s>
(	O
The	O
Phoenix	B-Application
compiler	O
itself	O
,	O
which	O
is	O
required	O
for	O
most	O
instrumentation	O
insertion	O
to	O
work	O
,	O
is	O
not	O
included	O
with	O
Visual	O
Studio	O
.	O
)	O
</s>
