On 4/28/08 7:46 AM, Roel Meeuws wrote:

So here is what I would like to know: what kind of metrics could I
measure at e.g. GIMPLE level, and what steps do I need to take to
implement a pass for GIMPLE to measure the needed values?

You can measure anything that is language-independent (though you could try to discern some FE attributes from the types you get). You can also do some limited measurements on target properties using target hooks.

Writing a GIMPLE pass should not be too hard. There are some articles and online tutorials that may help.

See http://gcc.gnu.org/wiki/GettingStarted


Diego.

Reply via email to