llvm-6502/include/llvm
Diego Novillo 40c949a1b4 Re-factor sample profile reader into lib/ProfileData.
Summary:
This patch moves the profile reading logic out of the Sample Profile
transformation into a generic profile reader facility in
lib/ProfileData.

The intent is to use this new reader to implement a sample profile
reader/writer that can be used to convert sample profiles from external
sources into LLVM.

This first patch introduces no functional changes. It moves the profile
reading code from lib/Transforms/SampleProfile.cpp into
lib/ProfileData/SampleProfReader.cpp.

In subsequent patches I will:

- Add a bitcode format for sample profiles to allow for more efficient
  encoding of the profile.
- Add a writer for both text and bitcode format profiles.
- Add a 'convert' command to llvm-profdata to be able to convert between
  the two (and serve as entry point for other sample profile formats).

Reviewers: bogner, echristo

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217437 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-09 12:40:50 +00:00
..
ADT Adding kalimba variants as Triple sub-architectures. 2014-09-05 06:46:43 +00:00
Analysis Don't static_cast invalid pointers 2014-09-08 19:31:25 +00:00
AsmParser Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
Bitcode Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
CodeGen Fast-ISel: Remove dead code after falling back from selecting call instructions (PR20863) 2014-09-08 20:24:10 +00:00
Config
DebugInfo Fix build faliure introduced by r217129. 2014-09-04 06:35:09 +00:00
ExecutionEngine [MCJIT] Const-ify the symbol lookup operations on RuntimeDyld. 2014-09-05 18:00:16 +00:00
IR Re-factor sample profile reader into lib/ProfileData. 2014-09-09 12:40:50 +00:00
IRReader Pass a MemoryBufferRef when we can avoid taking ownership. 2014-08-26 21:49:01 +00:00
LineEditor
Linker
LTO unique_ptrify LTOCodeGenerator::NativeObjectFile 2014-09-02 18:21:06 +00:00
MC MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
Object Adds the next bit of support for llvm-objdump’s -private-headers for executable Mach-O files. 2014-09-04 16:54:47 +00:00
Option
ProfileData Re-factor sample profile reader into lib/ProfileData. 2014-09-09 12:40:50 +00:00
Support BumpPtrAllocator: do the size check without moving any pointers 2014-09-07 04:24:31 +00:00
TableGen TableGen: unique_ptr-ify RecordKeeper 2014-08-24 19:10:57 +00:00
Target [AArch64] Improve AA to remove unneeded edges in the AA MI scheduling graph. 2014-09-08 14:43:48 +00:00
Transforms Add an AlignmentFromAssumptions Pass 2014-09-07 20:05:11 +00:00
CMakeLists.txt
InitializePasses.h Add an AlignmentFromAssumptions Pass 2014-09-07 20:05:11 +00:00
LinkAllIR.h
LinkAllPasses.h Add an AlignmentFromAssumptions Pass 2014-09-07 20:05:11 +00:00
module.modulemap Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassManager.h
PassRegistry.h
PassSupport.h