Re: Understanding uses of a statement and def-use chains

2015-07-12 Thread rohit bhatia
Hi I request you to help me understand the solution to my problem. Am I misunderstanding the data structures or is there something wrong with my examples? Thanks and Regards Rohit On Thu, Jul 9, 2015 at 5:59 PM, rohit bhatia wrote: > Hi > > I am implementing a GCC Pass as IPA_Pass before the pa

Understanding uses of a statement and def-use chains

2015-07-09 Thread rohit bhatia
Hi I am implementing a GCC Pass as IPA_Pass before the pass "whole-program". I am using LTO to run my pass once during linking phase. I am having trouble interpreting the results of the def-use chains for SSA Variables. I am traversing the def use chains backwards to access the variables that aff