Induction Variable
Rajkishore Barik
rajbarik@in.ibm.com
Sat May 28 12:11:00 GMT 2005
Hi,
Can someone tell me how to obtain the following:
1) Given a rtx, find out if it is an induction variable.
2) For an induction variable, find all the loop nest
3) For each loopnest, find the corresponding upper and lower bounds
(compile-time)
4) For an induction variables, find the increment/decrement value
I tried using the "iv_analysis_init(loop)", "iv_analyze()" and
"iv_iv_analysis_done()". However,
since I am calling these functions later in the stage (just before
register allocation), they give me
ICE. Any clue?
Aliasing:
5) Given two mem-rtx "a" and "b" find if they alias to each other. Assume
that "a" and "b"
represent programmer defined arrays which are never assigned directly. I
looked at the code
of alias.c, but the interfaces are not clear to me as to how they should
be used to get what I want.
regards,
Raj
More information about the Gcc
mailing list