diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-05-18 20:44:26 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-18 20:44:26 +0000 |
| commit | f3cbd7ef3183b37c989e9a07985b55e2372ac5c6 (patch) | |
| tree | 91ab63527c93be8c0144d9516e98cd29b6050c59 /llvm | |
| parent | d8e2f6ebc1c475bf7dde27f2ba1b8bf0706d80bf (diff) | |
| download | bcm5719-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.td | 6 |
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. |

