ProfileData: Introduce the InstrProfReader interface and a text reader
authorJustin Bogner <mail@justinbogner.com>
Fri, 21 Mar 2014 17:24:48 +0000 (17:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 21 Mar 2014 17:24:48 +0000 (17:24 +0000)
commitc0f3b725555df38fc4d9be6154af95dad83694f8
tree9b55483376292140b20656648ed1254eebff2e83
parent6c22b041da771c2cccc004d97fd49543f0ebf168
ProfileData: Introduce the InstrProfReader interface and a text reader

This introduces the ProfileData library and updates llvm-profdata to
use this library for reading profiles. InstrProfReader is an abstract
base class that will be subclassed for both the raw instrprof data
from compiler-rt and the efficient instrprof format that will be used
for PGO.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204482 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/ProfileData/InstrProf.h [new file with mode: 0644]
include/llvm/ProfileData/InstrProfReader.h [new file with mode: 0644]
lib/CMakeLists.txt
lib/LLVMBuild.txt
lib/Makefile
lib/ProfileData/CMakeLists.txt [new file with mode: 0644]
lib/ProfileData/InstrProf.cpp [new file with mode: 0644]
lib/ProfileData/InstrProfReader.cpp [new file with mode: 0644]
lib/ProfileData/LLVMBuild.txt [new file with mode: 0644]
lib/ProfileData/Makefile [new file with mode: 0644]
test/tools/llvm-profdata/errors.test
tools/llvm-profdata/CMakeLists.txt
tools/llvm-profdata/LLVMBuild.txt
tools/llvm-profdata/Makefile
tools/llvm-profdata/llvm-profdata.cpp