llvm-6502/unittests/IR
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
..
AttributesTest.cpp
CMakeLists.txt
ConstantRangeTest.cpp
ConstantsTest.cpp
DebugInfoTest.cpp
DominatorTreeTest.cpp
InstructionsTest.cpp
IRBuilderTest.cpp
LegacyPassManagerTest.cpp
Makefile
MDBuilderTest.cpp
MetadataTest.cpp Add function entry count metadata. 2015-05-13 15:13:45 +00:00
PassManagerTest.cpp
PatternMatch.cpp
TypeBuilderTest.cpp
TypesTest.cpp
UserTest.cpp
UseTest.cpp
ValueHandleTest.cpp
ValueMapTest.cpp
ValueTest.cpp
VerifierTest.cpp
WaymarkTest.cpp