Added a Flags field to TargetOperandInfo. Currently the only flag is
authorEvan Cheng <evan.cheng@apple.com>
Thu, 18 May 2006 20:44:26 +0000 (20:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 18 May 2006 20:44:26 +0000 (20:44 +0000)
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

lib/Target/Target.td

index 5e2ed94f6badb9edbcff8661cb9124327a43b2f4..3e7665fd2e981f8fae29cf6a0130a6be93cf17c3 100644 (file)
@@ -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.