mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
8067073c48
StringMap.h is very popular (4K uses), and it doesn't need to see BumpPtrAllocator, which is relatively expensive according to ClangBuildAnalyzer. StringMap only needs MallocAllocator, so split that into AllocatorBase.h and use it instead. Here is the change in header uses: $ diff -u thedeps-before.txt thedeps-after.txt | \ grep '^[-+] ' | sort | uniq -c | sort -nr 3993 + ../llvm/include/llvm/Support/AllocatorBase.h 758 - ../llvm/include/llvm/Support/Allocator.h 270 - ../llvm/include/llvm/Support/Alignment.h 13 - ../llvm/include/llvm/Support/Host.h 6 - ../llvm/include/llvm/ADT/StringMap.h 4 - ../llvm/include/llvm/Support/SwapByteOrder.h 4 - ../llvm/include/llvm/Support/MathExtras.h 4 - ../llvm/include/llvm/Support/AlignOf.h 4 - ../llvm/include/llvm/ADT/SmallVector.h 1 - ../llvm/include/llvm/Support/PointerLikeTypeTraits.h Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D73392 |
||
---|---|---|
.. | ||
AppendingTypeTableBuilder.h | ||
CodeView.h | ||
CodeViewError.h | ||
CodeViewRecordIO.h | ||
CodeViewRegisters.def | ||
CodeViewSymbols.def | ||
CodeViewTypes.def | ||
ContinuationRecordBuilder.h | ||
CVRecord.h | ||
CVSymbolVisitor.h | ||
CVTypeVisitor.h | ||
DebugChecksumsSubsection.h | ||
DebugCrossExSubsection.h | ||
DebugCrossImpSubsection.h | ||
DebugFrameDataSubsection.h | ||
DebugInlineeLinesSubsection.h | ||
DebugLinesSubsection.h | ||
DebugStringTableSubsection.h | ||
DebugSubsection.h | ||
DebugSubsectionRecord.h | ||
DebugSubsectionVisitor.h | ||
DebugSymbolRVASubsection.h | ||
DebugSymbolsSubsection.h | ||
DebugUnknownSubsection.h | ||
EnumTables.h | ||
Formatters.h | ||
FunctionId.h | ||
GlobalTypeTableBuilder.h | ||
GUID.h | ||
LazyRandomTypeCollection.h | ||
Line.h | ||
MergingTypeTableBuilder.h | ||
RecordName.h | ||
RecordSerialization.h | ||
SimpleTypeSerializer.h | ||
StringsAndChecksums.h | ||
SymbolDeserializer.h | ||
SymbolDumpDelegate.h | ||
SymbolDumper.h | ||
SymbolRecord.h | ||
SymbolRecordHelpers.h | ||
SymbolRecordMapping.h | ||
SymbolSerializer.h | ||
SymbolVisitorCallbackPipeline.h | ||
SymbolVisitorCallbacks.h | ||
SymbolVisitorDelegate.h | ||
TypeCollection.h | ||
TypeDeserializer.h | ||
TypeDumpVisitor.h | ||
TypeHashing.h | ||
TypeIndex.h | ||
TypeIndexDiscovery.h | ||
TypeRecord.h | ||
TypeRecordHelpers.h | ||
TypeRecordMapping.h | ||
TypeStreamMerger.h | ||
TypeSymbolEmitter.h | ||
TypeTableCollection.h | ||
TypeVisitorCallbackPipeline.h | ||
TypeVisitorCallbacks.h |