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]

Count counterpart of TREE_USED?


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 


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