Displaying 3 results from an estimated 3 matches for "dieabbrev".
2015 May 20
5
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...2.7% 104752 llvm::DwarfCompileUnit::constructInlinedScopeDIE(llvm::LexicalScope*)
8.19 MB 0.8% 33547 llvm::DwarfCompileUnit::constructImportedEntityDIE(llvm::DIImportedEntity const*)
A lot of this is the pair of `SmallVector<, 12>` it has for its values
(look into `DIEAbbrev` for the second one). Here's a histogram of how
many DIEs have each value count:
# of Values DIEs with # with # or fewer
0 3128 3128
1 109522 112650
2 180382 293032
3 90836...
2015 May 21
2
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...mpileUnit::constructInlinedScopeDIE(llvm::LexicalScope*)
>> 8.19 MB 0.8% 33547 llvm::DwarfCompileUnit::constructImportedEntityDIE(llvm::DIImportedEntity const*)
>>
>> A lot of this is the pair of `SmallVector<, 12>` it has for its values
>> (look into `DIEAbbrev` for the second one). Here's a histogram of how
>> many DIEs have each value count:
>>
>> # of Values DIEs with # with # or fewer
>> 0 3128 3128
>> 1 109522 112650
>> 2 180382...
2015 May 24
3
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...arts, 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 MB (baseline)
- 0001: 845 MB - refactor
- 0002: 879 MB - pass DIEValue by value (momentary setback)
- 0003: 829 MB - merge DIEAbbrevData into DIEValue
- 0004: 829 MB - refactor
- 0005: 829 MB - refactor
- 0006: 829 MB - refactor
- 0007: 764 MB - change DIE::Values to a linked list
- 0008: 756 MB - change DIE::Children to a linked list
(Still measuring memory on `llc` for `-flto -g`; details in r236629.)
@Eric, you me...