aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-18 20:44:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-18 20:44:26 +0000
commitffd4364bb0cd7215412cbdfabe1bd7372e475c13 (patch)
tree56eaff9d98e2cae91d6656784f127443b38dff23
parent21d03f2de0087d60dbf575d95924404a97852879 (diff)
Added a Flags field to TargetOperandInfo. Currently the only flag is
M_LOOK_UP_PTR_REG_CLASS which allows the register class of the operand to be resolved via a callback at runtime. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28387 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Target.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 5e2ed94f6b..3e7665fd2e 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -189,6 +189,12 @@ def ops;
/// of operands.
def variable_ops;
+/// ptr_rc definition - Mark this operand as being a pointer value whose
+/// register class is resolved dynamically via a callback to TargetInstrInfo.
+/// FIXME: We should probably change this to a class which contain a list of
+/// flags. But currently we have but one flag.
+def ptr_rc;
+
/// Operand Types - These provide the built-in operand types that may be used
/// by a target. Targets can optionally provide their own operand types as
/// needed, though this should not be needed for RISC targets.