summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-04-20 20:45:00 +0000
committerAndrew Trick <atrick@apple.com>2012-04-20 20:45:00 +0000
commit1b42280917638c00f5e7012383627966b682ee30 (patch)
tree33e67f86a301019d8cb248c7ed41657f9b9b3e48
parent03eaaf5b12ae6d7ddcb2238b2c26365077f3317d (diff)
downloadbcm5719-llvm-1b42280917638c00f5e7012383627966b682ee30.tar.gz
bcm5719-llvm-1b42280917638c00f5e7012383627966b682ee30.zip
Added TargetRegisterInfo::getRegPressureSetName.
llvm-svn: 155235
-rw-r--r--llvm/include/llvm/Target/TargetRegisterInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetRegisterInfo.h b/llvm/include/llvm/Target/TargetRegisterInfo.h
index 6ddd36451b5..471d9aeb473 100644
--- a/llvm/include/llvm/Target/TargetRegisterInfo.h
+++ b/llvm/include/llvm/Target/TargetRegisterInfo.h
@@ -515,13 +515,16 @@ public:
return 0;
}
- /// Get the weight in units of pressure for this register class.
+// Get the weight in units of pressure for this register class.
virtual const RegClassWeight &getRegClassWeight(
const TargetRegisterClass *RC) const = 0;
/// Get the number of dimensions of register pressure.
virtual unsigned getNumRegPressureSets() const = 0;
+ /// Get the name of this register unit pressure set.
+ virtual const char *getRegPressureSetName(unsigned Idx) const = 0;
+
/// Get the register unit pressure limit for this dimension.
/// This limit must be adjusted dynamically for reserved registers.
virtual unsigned getRegPressureSetLimit(unsigned Idx) const = 0;
OpenPOWER on IntegriCloud