This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Count counterpart of TREE_USED?
- From: degger at fhm dot edu
- To: gcc at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 00:37:52 +0100 (CET)
- Subject: Count counterpart of TREE_USED?
- Reply-to: degger at fhm dot edu
Hija,
TREE_USED can be used to determine whether a decl or stmt was used.
What I need is to figure out how often; I want to find out how rarely
a static function will be called within the same source to change the
inlining rules to not only take the size of the function but also pay
attention to the number of callers especially if there's only one
and there was no specific request to keep the static object around.
Any hints would be appreciated.
--
Servus,
Daniel