InstrProf: Support for value profiling in the indexed profile format
authorJustin Bogner <mail@justinbogner.com>
Tue, 29 Sep 2015 22:13:58 +0000 (22:13 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 29 Sep 2015 22:13:58 +0000 (22:13 +0000)
commitc96f87a89298932b0f4f3187a4270f558c48898a
tree1cdc805fdf5db597e385e125d5263c304d12dfd5
parent3b3752c898d041fcab9455581136ebc6de921610
InstrProf: Support for value profiling in the indexed profile format

Add support to the indexed instrprof reader and writer for the format
that will be used for value profiling.

Patch by Betul Buyukkurt, with minor modifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248833 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfReader.h
include/llvm/ProfileData/InstrProfWriter.h
lib/ProfileData/InstrProf.cpp
lib/ProfileData/InstrProfIndexed.h
lib/ProfileData/InstrProfReader.cpp
lib/ProfileData/InstrProfWriter.cpp
tools/llvm-profdata/llvm-profdata.cpp
unittests/ProfileData/CoverageMappingTest.cpp
unittests/ProfileData/InstrProfTest.cpp