From ffd4364bb0cd7215412cbdfabe1bd7372e475c13 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 18 May 2006 20:44:26 +0000 Subject: [PATCH] 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 --- lib/Target/Target.td | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 5e2ed94f6ba..3e7665fd2e9 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.