Displaying 3 results from an estimated 3 matches for "matchoperand_success".
2013 Feb 05
2
[LLVMdev] AsmParser for backend
...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 MatchOperandParserImpl(
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
StringRef Mnemonic);
Opera...
2013 Feb 05
0
[LLVMdev] AsmParser for backend
...rImpl<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 MatchOperandParserImpl(
> SmallVectorImpl<MCParsedAsmOperand*> &Operands,
>...
2018 Sep 28
3
error: expected memory with 32-bit signed offset
...gson3A()) {
+ if (Parser.getTok().isNot(AsmToken::Comma)) {
+ Error(Parser.getTok().getLoc(), "',' expected");
+ return MatchOperand_ParseFail;
+ }
+
+ Parser.Lex(); // Eat the ',' token.
+
+ Res = parseAnyRegister(Operands);
+ if (Res != MatchOperand_Success)
+ return Res;
+
+ if (Parser.getTok().isNot(AsmToken::RParen)) {
+ Error(Parser.getTok().getLoc(), "')' expected");
+ return MatchOperand_ParseFail;
+ }
+ } else {
+ Error(Parser.getTok().getLoc(), "')' expected");
+ r...