[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 26 12:27:45 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.36 -> 1.37
---
Log message:
Add a method for inline asm support.
---
Diffs of the changes: (+11 -0)
TargetLowering.h | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.36 llvm/include/llvm/Target/TargetLowering.h:1.37
--- llvm/include/llvm/Target/TargetLowering.h:1.36 Wed Jan 25 12:21:52 2006
+++ llvm/include/llvm/Target/TargetLowering.h Thu Jan 26 14:27:33 2006
@@ -391,6 +391,17 @@
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
//
More information about the llvm-commits
mailing list