LTO and Code Compaction \ Reverse Inlining \ Procedure Abstraction?
Daniel Berlin
dberlin@dberlin.org
Mon Jul 17 15:39:00 GMT 2006
Mark Mitchell wrote:
> Rafael EspÃndola wrote:
>>> Some people call this "uninlining". I've also heard the term
>>> "procedural abstraction". The generalization is to identify common code
>>> fragments that can be turned into functions. Then, replace the users of
>>> the common code with function calls.
>> Is this the same as Code Factoring?
>> http://gcc.gnu.org/projects/cfo.html
>
> Yes, that's another name.
>
Although i would hope that a IPA implementation would use a smarter
algorithm than what the RTL code factoring is doing (IE we should just
value number both functions, and we can then factor up to whatever point
the lhs value numbers are the same).
--Dan
More information about the Gcc
mailing list