llvm-project/llvm/lib/ProfileData
Xinliang David Li a9d784666e [Coverage] introduce class hierarchy (funcRecordReader) to support multiple versions of coverage data
[resubmit after fixing build bot failures: qualify make_unique and eliminate -Wcovered-switch-default warning.
With the planned size reduction change, the coverage format version is expected to be bumped up. This patch adds necessary support such that backward compatibility can be kept with maximal code sharing. Reading different versions of coverage data just requires instantiating the reader according to the version.

No functional change is intended.

Differiential Revision: http://reviews.llvm.org/D16133

llvm-svn: 257708
2016-01-13 23:29:33 +00:00
..
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
CoverageMapping.cpp Move coveragemap_error enum into coverage namespace and InstrProf.h /NFC 2016-01-10 21:56:33 +00:00
CoverageMappingReader.cpp [Coverage] introduce class hierarchy (funcRecordReader) to support multiple versions of coverage data 2016-01-13 23:29:33 +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 [Support] Add saturating multiply-add support function 2016-01-12 22:34:00 +00:00
InstrProfReader.cpp [PGO] Improve Indexed Profile Reader efficiency 2015-12-20 06:22:13 +00:00
InstrProfWriter.cpp [PGO] Ensure vp data in indexed profile always sorted 2016-01-08 05:45:21 +00:00
LLVMBuild.txt LLVMProfileData: Update LLVMBuild.txt corresponding to r217437. 2014-09-09 15:00:13 +00:00
Makefile
SampleProf.cpp [PGO] Handle and report overflow during profile merge for all types of data 2015-12-16 21:45:43 +00:00
SampleProfReader.cpp [PGO] Handle and report overflow during profile merge for all types of data 2015-12-16 21:45:43 +00:00
SampleProfWriter.cpp [ProfileData] Add unit test infrastructure for sample profile reader/writer 2015-12-10 17:21:42 +00:00