[llvm-commits] [llvm] r155235 - /llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
Andrew Trick
atrick at apple.com
Fri Apr 20 13:45:00 PDT 2012
Author: atrick
Date: Fri Apr 20 15:45:00 2012
New Revision: 155235
URL: http://llvm.org/viewvc/llvm-project?rev=155235&view=rev
Log:
Added TargetRegisterInfo::getRegPressureSetName.
Modified:
llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetRegisterInfo.h?rev=155235&r1=155234&r2=155235&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetRegisterInfo.h Fri Apr 20 15:45:00 2012
@@ -515,13 +515,16 @@
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;
More information about the llvm-commits
mailing list