[PGO] Add mapper callback to interfaces retrieving value data for site (NFC)
authorXinliang David Li <davidxl@google.com>
Tue, 24 Nov 2015 23:36:52 +0000 (23:36 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 24 Nov 2015 23:36:52 +0000 (23:36 +0000)
commit7de0a38604735add9cc9959d99b44fa5ebe6fe19
treea540086749273aa52ded3360a60e62eebaa5cd61
parentf65b5feba490438fca8b365dc84cee69f7d97ec7
[PGO] Add mapper callback to interfaces retrieving value data for site (NFC)

This allows cleaner implementation and merging retrieving/mapping in
one pass.

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