1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib
Dehao Chen fdbd269422 Use profile info to set function section prefix to group hot/cold functions.
Summary:
The original implementation is in r261607, which was reverted in r269726 to accomendate the ProfileSummaryInfo analysis pass. The new implementation:
1. add a new metadata for function section prefix
2. query against ProfileSummaryInfo in CGP to set the correct section prefix for each function
3. output the section prefix set by CGP

Reviewers: davidxl, eraman

Subscribers: vsk, llvm-commits

Differential Revision: https://reviews.llvm.org/D24989

llvm-svn: 284533
2016-10-18 20:42:47 +00:00
..
Analysis [SCEV] Make CompareValueComplexity a little bit smarter 2016-10-18 17:45:16 +00:00
AsmParser DebugInfo: change alignment type from uint64_t to uint32_t to save space. 2016-10-18 14:31:22 +00:00
Bitcode DebugInfo: change alignment type from uint64_t to uint32_t to save space. 2016-10-18 14:31:22 +00:00
CodeGen Use profile info to set function section prefix to group hot/cold functions. 2016-10-18 20:42:47 +00:00
DebugInfo Truncate long names in type records 2016-10-13 17:33:22 +00:00
Demangle
ExecutionEngine Handle relocations to thumb functions when dynamic linking COFF modules 2016-10-17 18:56:18 +00:00
Fuzzer [libFuzzer] detect leaks after every run when executing fixed inputs (./fuzzer -runs=1000000 my-file) 2016-10-18 18:38:08 +00:00
IR Use profile info to set function section prefix to group hot/cold functions. 2016-10-18 20:42:47 +00:00
IRReader
LibDriver
LineEditor
Linker [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
LTO Reduce global namespace pollution. NFC. 2016-10-18 19:39:31 +00:00
MC [ADT] Move CachedHashString to its own header in ADT, and rename to CachedHashStringRef. 2016-10-17 22:24:36 +00:00
Object One more additional error check for invalid Mach-O files for a 2016-10-18 20:24:12 +00:00
ObjectYAML
Option
Passes
ProfileData [Coverage] Support loading multiple binaries into a CoverageMapping 2016-10-14 17:16:53 +00:00
Support Reduce global namespace pollution. NFC. 2016-10-18 19:39:31 +00:00
TableGen
Target [AArch64] Avoid materializing 0.0 when generating FP SELECT 2016-10-18 20:37:35 +00:00
Transforms [esan] Remove global variable. 2016-10-18 19:39:23 +00:00
CMakeLists.txt
LLVMBuild.txt