This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to traverse the tree structure for each function??


Hi,
    We are doing modulo scheduling , for this we need to do loop 
dependency analysis for finding the distance and direction vectors for 
finding II(initiation interval). We are using the function 
have_dependence_p( ) defined in dependence.c file. This file is used no 
where but we got a patch which tells how to enable loop dependence 
analysis. We have done all tha changes to it but still the problem is that 
while creating the def_use chain for each function we need to traverse the 
tree structure for the function. We are getting the initial tree node as 
the function but what abt the next node.
  How to traverse the tree structure when we have just the node for the 
function?

regards,
Ritu.  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]