1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib
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 Rename OptimizationDiagnosticInfo.* to OptimizationRemarkEmitter.* 2017-10-09 23:19:02 +00:00
AsmParser Remove unused variables. No functionality change. 2017-10-08 19:11:02 +00:00
BinaryFormat llvm-dwarfdump: implement --find for .apple_names 2017-09-28 18:10:52 +00:00
Bitcode Bitcode: add an auto-upgrade for LTO section name 2017-10-06 18:06:59 +00:00
CodeGen Convert condition to an early exit (NFC). 2017-10-10 20:33:43 +00:00
DebugInfo Re-land "[llvm-dwarfdump] Print type names in DW_AT_type DIEs" 2017-10-10 14:15:25 +00:00
Demangle
ExecutionEngine Try to make gcc happy. 2017-10-10 19:27:51 +00:00
Fuzzer [FuzzerUtil] Partially revert D38481 on FuzzerUtil 2017-10-04 01:05:34 +00:00
FuzzMutate
IR Bitcode: add an auto-upgrade for LTO section name 2017-10-06 18:06:59 +00:00
IRReader Move the stripping of invalid debug info from the Verifier to AutoUpgrade. 2017-10-02 18:31:29 +00:00
LineEditor
Linker
LTO LTO: Improve error reporting when adding a cache entry. 2017-10-03 00:44:21 +00:00
MC [MC] Thread unique_ptr<MCObjectWriter> through the create.*ObjectWriter 2017-10-10 16:28:07 +00:00
Object Simplify. NFC. 2017-10-10 21:03:46 +00:00
ObjectYAML AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
Option
Passes Rename OptimizationDiagnosticInfo.* to OptimizationRemarkEmitter.* 2017-10-09 23:19:02 +00:00
ProfileData [ProfileData] Fix data racing in merging indexed profiles 2017-10-05 17:05:20 +00:00
Support [AMDGPU] Lower enqueued blocks and generate runtime metadata 2017-10-10 19:39:48 +00:00
TableGen [Support] Rename tool_output_file to ToolOutputFile, NFC 2017-09-23 01:03:17 +00:00
Target [X86] Fix some patterns that select VLX instructions, but were incorrectly also checking presence of BWI instructions. 2017-10-10 21:07:14 +00:00
Testing
ToolDrivers Convert the archive writer to use Error. 2017-09-21 23:13:36 +00:00
Transforms Use the first instruction's count to estimate the funciton's entry frequency. 2017-10-10 21:13:50 +00:00
WindowsManifest Fix bug 34608 by moving private header out of public header. 2017-09-14 23:01:13 +00:00
XRay [XRay][tools] Support arg1 logging entries in the basic logging mode 2017-10-05 05:18:17 +00:00
CMakeLists.txt
LLVMBuild.txt