llvm-6502/include/llvm
Diego Novillo a3bccceda7 Add function entry count metadata.
Summary:
This adds three Function methods to handle function entry counts:
setEntryCount() and getEntryCount().

Entry counts are stored under the MD_prof metadata node with the name
"function_entry_count". They are unsigned 64 bit values set by profilers
(instrumentation and sample profiler changes coming up).

Added documentation for new profile metadata and tests.

Reviewers: dexonsmith, bogner

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237260 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-13 15:13:45 +00:00
..
ADT
Analysis Constify arguments in AliasSetTracker methods. NFC 2015-05-13 01:12:12 +00:00
AsmParser
Bitcode
CodeGen [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
Config
DebugInfo
ExecutionEngine
IR Add function entry count metadata. 2015-05-13 15:13:45 +00:00
IRReader
LineEditor
Linker
LTO
MC Reverting r237234, "Use std::bitset for SubtargetFeatures" 2015-05-13 10:28:46 +00:00
Object
Option
Passes
ProfileData Tidy comments in SampleProfile header. NFC. 2015-05-12 22:03:00 +00:00
Support
TableGen
Target Add missing #include and forward decl, found by modules build. 2015-05-12 21:49:03 +00:00
Transforms Change LoadAndStorePromoter to take ArrayRef instead of SmallVectorImpl&. 2015-05-13 01:12:16 +00:00
CMakeLists.txt
InitializePasses.h Delete dead code. NFC 2015-05-12 16:45:53 +00:00
LinkAllIR.h
LinkAllPasses.h
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h