llvm/lib/ProfileData
Nathan Slingerland e0a7f28fc6 [llvm-profdata] Add merge() to InstrProfRecord
Summary:
This change refactors two aspects of InstrProfRecord:

1) Add a merge() method to InstrProfRecord (previously InstrProfWriter combineInstrProfRecords()) in order to better encapsulate this functionality and to make the InstrProfRecord and SampleRecord APIs more consistent.

2) Make InstrProfRecord mergeValueProfData() a private method since it is only ever called internally by merge().

Reviewers: dnovillo, bogner, davidxl

Subscribers: silvas, vsk, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253695 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-20 19:12:43 +00:00
..
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
CoverageMapping.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CoverageMappingReader.cpp [PGO] Use template file to define runtime structures 2015-11-05 00:47:26 +00:00
CoverageMappingWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
InstrProf.cpp [PGO] Move value profile data definitions out of IndexedInstrProf 2015-11-17 23:00:40 +00:00
InstrProfReader.cpp Minor cleanups (from review feedback) 2015-11-18 22:42:27 +00:00
InstrProfWriter.cpp [llvm-profdata] Add merge() to InstrProfRecord 2015-11-20 19:12:43 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
Makefile
SampleProf.cpp SamplePGO - Tweak debugging output for function samples. NFC. 2015-11-19 22:18:30 +00:00
SampleProfReader.cpp SamplePGO - Add dump routines for LineLocation, SampleRecord and FunctionSamples 2015-11-13 20:24:28 +00:00
SampleProfWriter.cpp SamplePGO - Sort samples by source location when emitting as text. 2015-11-19 15:33:08 +00:00