This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Maintaining/representing def-use/use-def information
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Andrew MacLeod <amacleod at redhat dot com>
- Cc: Chris Lattner <sabre at nondot dot org>, Jeff Law <law at redhat dot com>,gcc mailing list <gcc at gcc dot gnu dot org>
- Date: Mon, 15 Dec 2003 21:55:53 +0100
- Subject: Re: [tree-ssa] Maintaining/representing def-use/use-def information
- References: <Pine.LNX.4.44.0312151353030.26453-100000@nondot.org> <1071521234.3257.1817.camel@p4>
Hello,
> Ultimately, I dont see much difference other than implementation
> details...
... and about three times more memory spent, I would estimate. For a
single assignment statement, we have:
1) The var_decl node
2) The ssa name
3) modify_expr
4) operation_expr
+ pointers to link them together, versus
1) single entity containing just the operation code and two pointers to
the arguments (+additional information like type, etc).
Zdenek