This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SSA alias representation
- From: "Fran Baena" <franbaena at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 19 Feb 2008 20:27:03 +0100
- Subject: SSA alias representation
Hi everybody,
i am studing how gcc carries out Alias Representation and some questions appear.
For instance, given this code portion:
if ( ... )
p = &a;
else
if ( ... )
p = &b;
else
p = &c;
a = 5;
b = 3;
d = *p4;
My questions are:
- both p like *p need a Name Memory Tag structure? It is enough with only one?
- About versioning : every name can be versioned, cannot it?
- when are virtual operands inserted? Do they have to be versioned
at same time that real operands? For instance, # a6 = VDEF <a5>; a7 =
3;, this implies that alias computation is processed at same time that
SSA Renaming?
- Could the others names (TMT, NMT, SFT, etc.) be versioned?
(every name that is able to be part of a virtual operand could be
versioned....)
Thank you in advance,
Fran