[PGO] Add another interface for annotateValueSite
authorRong Xu <xur@google.com>
Fri, 12 Feb 2016 21:36:17 +0000 (21:36 +0000)
committerRong Xu <xur@google.com>
Fri, 12 Feb 2016 21:36:17 +0000 (21:36 +0000)
commitbb49490de1dea43b036ecb9db09b4e6cce0b04b6
treedf6a4a281efede228f3947dcc306b9109955ae32
parenta6771b37f814b6c5d3f547323d9c49babef4844b
[PGO] Add another interface for annotateValueSite

Add another interface to function annotateValueSite() which directly uses the
VauleData array.

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

llvm-svn: 260741
llvm/include/llvm/ProfileData/InstrProf.h
llvm/lib/ProfileData/InstrProf.cpp
llvm/unittests/ProfileData/InstrProfTest.cpp