Diego Novillo wrote:
> Richard Kenner wrote:
>
> > I don't see that. Why is it that much harder to link in with GCC
> than doing
> > it as a plugin?
>
> Limited time and steep learning curves. Typically, researchers are
> interested in rapid-prototyping to keep the paper mill going. Plug-ins
Quoting Martin Jambor <[EMAIL PROTECTED]>:
So as far as attracting new programmers, researchers and inexperienced
students in particular is concerned, I think that effort that
implementing plugins would take would be much better spent on keeping
documentation up to date, possibly impr
> > I think (if I'm correctly interpreting the list in passes.c) it is.
> It's
> > right after pass_warn_function_noreturn, just before pass_mudflap_2.
> Is
> > this right? I don't get any assertion about SSA not being available.
>
> In this case, it is also after pass_del_ssa, which means SSA ha
> > The tree_opt_pass for my pass has PROP_ssa set in the
> properties_required
> > field. Is this all I need to do?
>
> You need to put your pass after pass_build_ssa. Setting PROP_ssa does
> not build SSA itself, but it will cause an assertion failure if the
> pass is run while SSA is (not yet
I am adding a new optimisation pass to GCC and I have found that I probably
need to make use of SSA's definition-finding. The problem I am having is
that the trees I am working on don't seem to be in SSA form (i.e. not
SSA_NAME nodes).
I have looked endlessly and can't find any documentation on t
> -Original Message-
> From: Andrew Pinski [mailto:[EMAIL PROTECTED]
> Sent: 19 March 2007 00:47
> To: Alexander Lamaison
> Cc: gcc@gcc.gnu.org
> Subject: Re: Pointer addition/subtraction tree node
>
> On 3/18/07, Alexander Lamaison <[EMAIL PROTECTED]> wrot
is not a VAR_DECL. I don't think my theory is sounds
but if it is, is there a way to get this to work?
Thanks.
Alex.
> -Original Message-
> From: Andrew Pinski [mailto:[EMAIL PROTECTED]
> Sent: 19 March 2007 00:47
> To: Alexander Lamaison
> Cc: gcc@gcc.gnu.org
>
As part of adding a new pass to GCC I am intercepting addition to and
subtraction from pointers. These are represented by PLUS_EXPR and
MINUS_EXPR tree nodes. I need to be able to find out which of the node's
two operands is the actual pointer and which is the integer that has been
added to it.