diff options
| author | Andrew Trick <atrick@apple.com> | 2012-04-20 20:45:00 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2012-04-20 20:45:00 +0000 |
| commit | 1b42280917638c00f5e7012383627966b682ee30 (patch) | |
| tree | 33e67f86a301019d8cb248c7ed41657f9b9b3e48 | |
| parent | 03eaaf5b12ae6d7ddcb2238b2c26365077f3317d (diff) | |
| download | bcm5719-llvm-1b42280917638c00f5e7012383627966b682ee30.tar.gz bcm5719-llvm-1b42280917638c00f5e7012383627966b682ee30.zip | |
Added TargetRegisterInfo::getRegPressureSetName.
llvm-svn: 155235
| -rw-r--r-- | llvm/include/llvm/Target/TargetRegisterInfo.h | 5 |
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; |

