Inline asm multiple alternative constraints development phase 2 - improved basic...
[oota-llvm.git] / lib / Target / Mips / MipsISelLowering.h
index 460747bf5438838cc8dd6942d9af39579ae7fd23..1e8cc80b64291ebf27c691e1f53b776bd0ea4813 100644 (file)
@@ -139,6 +139,11 @@ namespace llvm {
     // Inline asm support
     ConstraintType getConstraintType(const std::string &Constraint) const;
 
+    /// Examine constraint string and operand type and determine a weight value.
+    /// The operand object must already have been set up with the operand type.
+    ConstraintWeight getSingleConstraintMatchWeight(
+      AsmOperandInfo &info, const char *constraint) const;
+
     std::pair<unsigned, const TargetRegisterClass*> 
               getRegForInlineAsmConstraint(const std::string &Constraint,
               EVT VT) const;