summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitf3cbd7ef3183b37c989e9a07985b55e2372ac5c6 (patch)
tree91ab63527c93be8c0144d9516e98cd29b6050c59 /llvm
parentd8e2f6ebc1c475bf7dde27f2ba1b8bf0706d80bf (diff)
downloadbcm5719-llvm-f3cbd7ef3183b37c989e9a07985b55e2372ac5c6.tar.gz
bcm5719-llvm-f3cbd7ef3183b37c989e9a07985b55e2372ac5c6.zip
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. llvm-svn: 28387
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Target.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td
index 5e2ed94f6ba..3e7665fd2e9 100644
--- a/llvm/lib/Target/Target.td
+++ b/llvm/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.
OpenPOWER on IntegriCloud