[PGO] Unify VP data format between raw and indexed profile (Reader)
authorXinliang David Li <davidxl@google.com>
Fri, 4 Dec 2015 01:02:10 +0000 (01:02 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 4 Dec 2015 01:02:10 +0000 (01:02 +0000)
commit7579d3aaed060dd8002e11f9c64f27508ec32f3c
tree22ef84e96568cd07c82b3ac8eba2636abfb4b670
parentcd7c95d7e887ecda0b795690623ea9567f0659e7
[PGO] Unify VP data format between raw and indexed profile (Reader)

With the latest refactoring and code sharing patches landed,
it is possible to unify the value profile implementation between
raw and indexed profile. This is the patch in raw profile reader
that uses the common interface.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254677 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProfReader.h
lib/ProfileData/InstrProfReader.cpp