[LLVMdev] PATCH: Use size reduction -- wave2
Gordon Henriksen
gordonhenriksen at mac.com
Wed Apr 16 11:51:07 PDT 2008
On 2008-04-16, at 14:25, Dan Gohman wrote:
> On Apr 16, 2008, at 2:50 AM, heisenbug wrote:
>>
>
>> And now here is my educated speculation:
>> There are 2 things that became slower
>> 1) Use::getUser()
>> 2) Use::get/set due to tagging.
>>
>> The former is seldom called:
>>
>> $ find lib -name "*.cpp" | xargs grep "getUser(" | wc -l
>> 41
>
> The majority of those aren't actually Use::getUser, but on the other
> hand this grep misses all the users of
> value_use_iterator::operator*, which is much more popular.
> Unfortunately, overloaded operators are not the easiest to grep
> for ;-).
Perhaps someone should write some sort of C++ refactoring tool for that!
— Gordon
More information about the llvm-dev
mailing list