search for: matchinginlineasm

Displaying 3 results from an estimated 3 matches for "matchinginlineasm".

2013 Aug 14
1
[LLVMdev] [PATCH] fix corruption in X86AsmParser
...cpp --- test/lib/Target/X86/AsmParser/X86AsmParser.cpp 2013-05-05 02:40:33.000000000 +0200 +++ llvm-toolchain-3.3-3.3/lib/Target/X86/AsmParser/X86AsmParser.cpp 2013-08-14 16:26:44.721547396 +0200 @@ -2382,8 +2382,10 @@ if (!WasOriginallyInvalidOperand) { ArrayRef<SMRange> Ranges = MatchingInlineAsm ? EmptyRanges : Op->getLocRange(); - return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", - Ranges, MatchingInlineAsm); + SmallString<126> Msg; + raw_svector_ostream OS(Msg); + OS << "invali...
2013 Feb 05
2
[LLVMdev] AsmParser for backend
...gt; &Operands); bool mnemonicIsValid(StringRef Mnemonic); unsigned MatchInstructionImpl( const SmallVectorImpl<MCParsedAsmOperand*> &Operands, MCInst &Inst, unsigned &ErrorInfo, bool matchingInlineAsm, unsigned VariantID = 0); enum OperandMatchResultTy { MatchOperand_Success, // operand matched successfully MatchOperand_NoMatch, // operand did not match MatchOperand_ParseFail // operand matched but had errors }; OperandMatchResultTy Matc...
2013 Feb 05
0
[LLVMdev] AsmParser for backend
...l mnemonicIsValid(StringRef Mnemonic); > unsigned MatchInstructionImpl( > const > SmallVectorImpl<MCParsedAsmOperand*> &Operands, > MCInst &Inst, > unsigned &ErrorInfo, bool matchingInlineAsm, > unsigned VariantID = 0); > > enum OperandMatchResultTy { > MatchOperand_Success, // operand matched successfully > MatchOperand_NoMatch, // operand did not match > MatchOperand_ParseFail // operand matched but had errors &gt...