llvm-6502/test
Diego Novillo e75c2b3e54 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220915 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-30 18:00:06 +00:00
..
Analysis
Assembler
Bindings [OCaml] Expose LLVM{Get,Set}DLLStorageClass. 2014-10-30 08:30:08 +00:00
Bitcode
BugPoint
CodeGen ARM: test default values for TAG_CPU_unaligned_access attribute. 2014-10-30 17:05:44 +00:00
DebugInfo Fix PR21189 -- Emit symbol subsection required to debug LLVM-built binaries with VS2012+ 2014-10-24 01:27:45 +00:00
ExecutionEngine [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
Feature
FileCheck
Instrumentation [dfsan] New calling convention for custom functions with variadic arguments. 2014-10-30 13:22:57 +00:00
Integer
JitListener
Linker Add a test for the -suppress-warnings option. 2014-10-25 01:14:15 +00:00
LTO
MC [AVX512] Added VBROADCAST{SS/SD} encoding for VL subset. 2014-10-30 14:21:47 +00:00
Object Fix getRelocationValueString to return the symbol name for EM_386. 2014-10-29 18:37:13 +00:00
Other
TableGen
tools Enable the slp vectorizer in the gold plugin. 2014-10-30 00:38:54 +00:00
Transforms Add profile writing capabilities for sampling profiles. 2014-10-30 18:00:06 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Make llvm-go test dependency optional. 2014-10-23 19:51:40 +00:00
lit.cfg [OCaml] Enable backtraces in tests. 2014-10-30 08:29:57 +00:00
lit.site.cfg.in [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile.tests
TestRunner.sh