aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-21 02:17:39 +0000
committerChris Lattner <sabre@nondot.org>2004-08-21 02:17:39 +0000
commitb4d83c1f2c4cc60598e99d00861aeb9ba8e91019 (patch)
treea738afd236551fc0e1dc6f397a15c6f3a4eb43ce /lib/Target
parent72cf7df6a364c213a94d01e1f0f8d918940c8416 (diff)
downloadexternal_llvm-b4d83c1f2c4cc60598e99d00861aeb9ba8e91019.zip
external_llvm-b4d83c1f2c4cc60598e99d00861aeb9ba8e91019.tar.gz
external_llvm-b4d83c1f2c4cc60598e99d00861aeb9ba8e91019.tar.bz2
Add two values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/Target.td11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 41056b9..725d3bd 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -49,6 +49,17 @@ def isVoid : ValueType<0 , 11>; // Produces no value
class Register {
string Namespace = "";
string Name = "";
+
+ // SpillSize - If this value is set to a non-zero value, it is the size in
+ // bits of the spill slot required to hold this register. If this value is
+ // set to zero, the information is inferred from any register classes the
+ // register belongs to.
+ int SpillSize = 0;
+
+ // SpillAlignment - This value is used to specify the alignment required for
+ // spilling the register. Like SpillSize, this should only be explicitly
+ // specified if the register is not in a register class.
+ int SpillAlignment = 0;
}
// NamedReg - If the name for the 'def' of the register should not become the