This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
LOG_LINKS in the gcc
- To: gcc at gcc dot gnu dot org
- Subject: LOG_LINKS in the gcc
- From: Marcio de Oliveira Buss <ra990898 at ic dot unicamp dot br>
- Date: Wed, 27 Sep 2000 21:43:39 -0300 (EST)
Folks,
I am trying to implement some sort of use-def chains in
the gcc. Thus, I am looking for the data-dependencies between
the instructions.
I have found the LOG_LINKS, which tell me, for each reg
being used in an instruction, where is the most recent instruction
that defines that register WITHIN the same basic block (am I right?? )
But, and about the case when a definition of a "reg 1" is in
the basic block 3, for instance, and its next use is in the block 5?
The LOG_LINK of that instruction in the block 5 will not be pointed
to its definition in the block 3, will be??
Could someone help me by tell me how can I build the data-dependencies
relationships?
Thanks a lot.
Marcio Buss.