Displaying 2 results from an estimated 2 matches for "parsedoperand".
2018 Nov 26
4
[RFC] Checking inline assembly for validity
...te multiple MCOperands (for example, a memory
operand with base and offset), but not the other way round, so this
information is stored in the MCOperand.
- When the AsmParser is running and a tracking object is present (it is only
present if we are parsing inline assembly), it records in each ParsedOperand
the indexes of the inline assembly statement operands which overlap with it.
This is done using the source location of the just-parsed MCParsedAsmOperand
and the string offsets recored in the tracking object by the AsmPrinter.
- Finally, after an instruction has been completely parsed, the As...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...getParser().ParseDirective(ID))
+ if (!ParseTargetDirective(ID))
return false;
Warning(IDLoc, "ignoring directive for now");
@@ -801,15 +633,14 @@ bool AsmParser::ParseStatement() {
Opcode.push_back(tolower(IDVal[i]));
SmallVector<MCParsedAsmOperand*, 8> ParsedOperands;
- bool HadError = getTargetParser().ParseInstruction(Opcode.str(), IDLoc,
- ParsedOperands);
+ bool HadError = ParseInstruction(Opcode.str(), IDLoc, ParsedOperands);
if (!HadError && Lexer.isNot(AsmToken::EndOfStatement))
HadEr...