1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/include/llvm/ProfileData
Reid Kleckner 8067073c48 [Support] Split MallocAllocator out of Allocator.h
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
2020-01-24 17:29:32 -08:00
..
Coverage Revert "[Coverage] Revise format to reduce binary size" 2019-12-04 10:35:14 -08:00
GCOV.h Use llvm::stable_sort 2019-04-23 14:51:27 +00:00
InstrProf.h [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
InstrProfData.inc Revert "[Coverage] Revise format to reduce binary size" 2019-12-04 10:35:14 -08:00
InstrProfReader.h [PGO] Fix typos from r359612. NFC. 2019-10-01 18:06:50 +00:00
InstrProfWriter.h [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
ProfileCommon.h [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
SampleProf.h [Support] Split MallocAllocator out of Allocator.h 2020-01-24 17:29:32 -08:00
SampleProfReader.h [AutoFDO] Properly merge context-sensitive profile of inlinee back to outlined function 2019-12-05 15:57:55 -08:00
SampleProfWriter.h SampleProfWriter - fix uninitialized variable warnings. NFCI. 2019-11-07 14:18:44 +00:00