From: Andrew Trick Date: Fri, 20 Apr 2012 20:45:00 +0000 (+0000) Subject: Added TargetRegisterInfo::getRegPressureSetName. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d06c2decc2f5c296dfe914509ff841a639eb2a61;p=oota-llvm.git Added TargetRegisterInfo::getRegPressureSetName. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155235 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index 6ddd36451b5..471d9aeb473 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/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;