Add a method for inline asm support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-26 20:27:33 +00:00
parent b3e789ac25
commit bc9ae377d9

View File

@ -390,6 +390,17 @@ public:
virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,
uint64_t Mask) const;
//===--------------------------------------------------------------------===//
// Inline Asm Support hooks
//
/// getRegForInlineAsmConstraint - Given a constraint letter or register
/// name (e.g. "r" or "edx"), return a list of registers that can be used to
/// satisfy the constraint. If the constraint isn't supported, or isn't a
/// register constraint, return an empty list.
virtual std::vector<unsigned>
getRegForInlineAsmConstraint(const std::string &Constraint) const;
//===--------------------------------------------------------------------===//
// Scheduler hooks
//