1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Dehao Chen 8dd25458fa Use the first instruction's count to estimate the funciton's entry frequency.
Summary: In the current implementation, we only have accurate profile count for standalone symbols. For inlined functions, we do not have entry count data because it's not available in LBR. In this patch, we use the first instruction's frequency to estimiate the function's entry count, especially for inlined functions. This may be inaccurate due to debug info in optimized code. However, this is a better estimate than the static 80/20 estimation we have in the current implementation.

Reviewers: tejohnson, davidxl

Reviewed By: tejohnson

Subscribers: sanjoy, llvm-commits, aprantl

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

llvm-svn: 315369
2017-10-10 21:13:50 +00:00
..
Analysis Convert an APInt to int64_t properly in TTI::getGEPCost(). 2017-10-04 20:47:33 +00:00
Assembler
Bindings
Bitcode Bitcode: add an auto-upgrade for LTO section name 2017-10-06 18:06:59 +00:00
BugPoint
CodeGen [x86] fix prefix typos for CHECK lines; NFC 2017-10-10 21:12:47 +00:00
DebugInfo Re-land "[llvm-dwarfdump] Print type names in DW_AT_type DIEs" 2017-10-10 14:15:25 +00:00
DllTool
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker Re-land "[llvm-dwarfdump] Print type names in DW_AT_type DIEs" 2017-10-10 14:15:25 +00:00
LTO
MC [mips] Duplicate the reciprocal instruction definitions for FP32 2017-10-10 14:41:11 +00:00
Object Convert two uses of ErrorOr to Expected. 2017-10-10 20:00:07 +00:00
ObjectYAML [ObjectYAML] Handle SHF_COMPRESSED 2017-10-03 06:35:55 +00:00
Other [NewPassManager] Run global dead code elimination after the inliner. 2017-10-05 18:36:01 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel] Add support for ValueType operands in patterns. 2017-10-09 18:14:53 +00:00
ThinLTO/X86
tools [llvm-objcopy] Add support for removing sections 2017-10-10 18:47:09 +00:00
Transforms Use the first instruction's count to estimate the funciton's entry frequency. 2017-10-10 21:13:50 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py [lit] Improve tool substitution in lit. 2017-10-06 17:54:46 +00:00
lit.site.cfg.py.in
TestRunner.sh