Hi all,
I'm adding a new functionality to gcc for a university project. I know
that, for each function, gcc creates a GIMPLE code that can be viewed
as a control flow graph. I'm able to visit nodes (basic blocks), edges
and statements of those graphs using some gcc macros.
But how can I obtain the
a = D.1295 + 19;
how can I recognize temporary variables, such as D.1295?
Thanks for support! bye!!
Andrea Callia D'Iddio
Hi all,
I added a new gcc pass, in wich I've to elaborate GIMPLE code... for
every GIMPLE statement I use TREE_CODE macro to know if is an
assignment, an IF-THEN-ELSE, etc. and for every GIMPLE expression I
use also TREE_CODE macro to know if it's an integer constant, an
addition, etc.
I know tha
I looked for "into" and "ssa" in passes.c, but I've not found
anything. Also I tried with options -fdump-tree-ssa and -O1 but, when
my pass is executed, code is only in GIMPLE form (in this last case a
file with code in SSA form is written, but I don't need a file, I'd
like that basic blocks conta
hi all,
I'm trying to make some optimizations in gcc, and I need to manipulate
control flow graph when code is translated in SSA form. I wrote
optimization code, but I noticed that when my code is executed the
code isn't in SSA form, it's only in GIMPLE form. How can I obtain the
SSA form to appl
Hi all,
first of all i want to thank you for the aid that i have receveid from
this mailing list. I have another little question:
if i have a statemente that is an expression, for example x+5 , how
can i know if the operation is plus (+), or minus (-), or equal(=) or
less (<) etc..
Can you give me
Great! thank you! I tested with your code and it works... but I'm
still a bit confused.
Could you help me with this simple example?
Suppose that I obtained a tree structure with the following command:
tree stmt = bsi_stmt (si);
and suppose I want to execute the following task:
For each tree sta
ow if statement is an assignement or another
instruction type. And if the statement is an assignement i'd like to
know wich is the name of the variable.
I have serchead too much but i have not found any information.
Thanks to all,
Andrea Callia D'Iddio
Dear all,
I wrote a new pass for gcc. Actually the pass is always executed, but
I'd like to execute it only if I specify an option from shell (ex. gcc
--mypass pippo.c). How can I do?
Thanks to all
Andrea
Hi all,
I'm trying to compile gcc 4.1 source (from debian). I need to be able
to compile it because I have to modify and add some code and
recompile. When I try to compile gcc I get the following error
message:
../.././fastjar/fastjar.texi:119: Unknown command `gcctabopt'.
../.././fastjar/fastja
10 matches
Mail list logo