llvm/lib
Dehao Chen 8580d5005b Add call branch annotation for ICP promoted direct call in SamplePGO mode.
Summary: SamplePGO uses branch_weight annotation to represent callsite hotness. When ICP promotes an indirect call to direct call, we need to make sure the direct call is annotated with branch_weight in SamplePGO mode, so that downstream function inliner can use hot callsite heuristic.

Reviewers: davidxl, eraman, xur

Reviewed By: davidxl, xur

Subscribers: mehdi_amini, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296028 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-23 22:15:18 +00:00
..
Analysis [ORE] Remove ORE.emit{{.+}} functions 2017-02-23 21:32:53 +00:00
AsmParser
Bitcode Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
CodeGen CodeGen: MachineBlockPlacement: Rename member to more general name. NFC. 2017-02-23 21:22:24 +00:00
DebugInfo Don't assume little endian in StreamReader / StreamWriter. 2017-02-18 01:35:33 +00:00
Demangle
ExecutionEngine [Orc] Rename ObjectLinkingLayer -> RTDyldObjectLinkingLayer. 2017-02-20 05:45:14 +00:00
Fuzzer [libFuzzer] Update traces hooks test after r293741 2017-02-22 23:12:36 +00:00
IR [ORE] Use const CodeRegions in the remark diagnostics. NFC. 2017-02-23 19:17:34 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO [LTO] Add ability to emit assembly to new LTO API 2017-02-15 20:36:36 +00:00
MC [WebAssembly] Implement the wasm binary container header. 2017-02-22 18:50:20 +00:00
Object Move llvm_unreachable out of switch. 2017-02-22 19:42:14 +00:00
ObjectYAML Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
Option
Passes Add call branch annotation for ICP promoted direct call in SamplePGO mode. 2017-02-23 22:15:18 +00:00
ProfileData Fix an obvious bug in SampleProfileReaderGCC. 2017-02-22 17:27:21 +00:00
Support Strip trailing whitespace. 2017-02-23 16:07:04 +00:00
TableGen
Target [Hexagon] Handle saturations in Hexagon bit tracker 2017-02-23 22:11:52 +00:00
Transforms Add call branch annotation for ICP promoted direct call in SamplePGO mode. 2017-02-23 22:15:18 +00:00
XRay [XRAY] [x86_64] Adding a Flight Data filetype reader to the llvm-xray Trace implementation. 2017-02-17 01:47:16 +00:00
CMakeLists.txt
LLVMBuild.txt