Displaying 2 results from an estimated 2 matches for "emitlabeldiff".
2015 May 24
3
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...overall memory drop
>> of 4%.
>
> Forgot to post numbers for this. Peak memory was at 920 MB before
> the five patches, and 884 MB after. (These exact numbers won't quite
> reproduce in ToT since I still haven't finished cleaning up and
> committing the MCSymbol and emitLabelDiff() work I hacked on top of,
> but the 36 MB drop should hold.)
I've cleaned all this up and committed the most obvious parts, as well
as a few unrelated memory improvements. I'm attaching my (almost?)
ready-to-go patches, which have the following effects on peak memory:
- 0000: 845 M...
2015 May 21
2
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...d.patch, which we're using to make Intrustruments more
>> accurate (instead of effectively leaking things onto BumpPtrAllocators,
>> really leak them with malloc()). (I've collected this data on top of a
>> few not-yet-committed patches to cheapen `MCSymbol` and
>> `EmitLabelDifference()` that chop around 8% of memory off the top, but
>> otherwise these numbers should be reproducible in ToT.)
>>
>> The `DIE` class is huge. Directly, it accounts for about 15% of backend
>> memory:
>>
>> Bytes Used Count Symbol Name
>> 77.87...