aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocBase.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-11 00:19:56 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-11 00:19:56 +0000
commit533f58ecdd8a4732c2f0e149387c4d8d8d4142de (patch)
tree762040ca5b96a295041b2dc2e4d78278bd46de1d /lib/CodeGen/RegAllocBase.h
parent4680dec5fb3a1b624f13ca9b2a555ca90a07973e (diff)
downloadexternal_llvm-533f58ecdd8a4732c2f0e149387c4d8d8d4142de.zip
external_llvm-533f58ecdd8a4732c2f0e149387c4d8d8d4142de.tar.gz
external_llvm-533f58ecdd8a4732c2f0e149387c4d8d8d4142de.tar.bz2
Add named timer groups for the different stages of register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r--lib/CodeGen/RegAllocBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h
index 7d13327..438a7d1 100644
--- a/lib/CodeGen/RegAllocBase.h
+++ b/lib/CodeGen/RegAllocBase.h
@@ -153,6 +153,9 @@ protected:
void verify();
#endif
+ // Use this group name for NamedRegionTimer.
+ static const char *TimerGroupName;
+
private:
void seedLiveVirtRegs(std::priority_queue<std::pair<float, unsigned> >&);