1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/lib
Diego Novillo a5ff3524ec Add profile writing capabilities for sampling profiles.
Summary:
This patch finishes up support for handling sampling profiles in both
text and binary formats. The new binary format uses uleb128 encoding to
represent numeric values. This makes profiles files about 25% smaller.

The profile writer class can write profiles in the existing text and the
new binary format. In subsequent patches, I will add the capability to
read (and perhaps write) profiles in the gcov format used by GCC.

Additionally, I will be adding support in llvm-profdata to manipulate
sampling profiles.

There was a bit of refactoring needed to separate some code that was in
the reader files, but is actually common to both the reader and writer.

The new test checks that reading the same profile encoded as text or
raw, produces the same results.

Reviewers: bogner, dexonsmith

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6000

llvm-svn: 220915
2014-10-30 18:00:06 +00:00
..
Analysis Reformat partially, where I touched for whitespace changes. 2014-10-28 11:54:52 +00:00
AsmParser X86: Implement the vectorcall calling convention 2014-10-28 01:29:26 +00:00
Bitcode Untabify. 2014-10-29 23:44:35 +00:00
CodeGen Whitespace. 2014-10-29 15:23:11 +00:00
DebugInfo [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
ExecutionEngine Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabled 2014-10-29 09:18:49 +00:00
IR [C API] PR19859: Add functions to query and modify branches. 2014-10-28 19:46:56 +00:00
IRReader Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
LineEditor
Linker Remove the PreserveSource linker mode. 2014-10-28 00:24:16 +00:00
LTO Add an option to the LTO code generator to disable vectorization during LTO 2014-10-26 21:50:58 +00:00
MC Attempt to fix the build after r220439 2014-10-22 22:46:05 +00:00
Object Fix unicode chars into ascii in comment lines. 2014-10-27 08:08:18 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Add profile writing capabilities for sampling profiles. 2014-10-30 18:00:06 +00:00
Support Fix bug where sys::Wait could wait on wrong pid. 2014-10-27 20:30:04 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target [AVX512] Added VBROADCAST{SS/SD} encoding for VL subset. 2014-10-30 14:21:47 +00:00
Transforms Add profile writing capabilities for sampling profiles. 2014-10-30 18:00:06 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile