Lines Matching defs:Operands

49                         SMLoc NameLoc, OperandVector &Operands) override;
51 OperandVector &Operands, MCStreamer &Out,
64 ParseStatus parseImmediate(OperandVector &Operands);
65 ParseStatus parseRegister(OperandVector &Operands, bool AllowParens = false,
67 ParseStatus parseOperandWithModifier(OperandVector &Operands);
68 bool parseOperand(OperandVector &Operands, StringRef Mnemonic,
71 SMLoc NameLoc, OperandVector &Operands);
76 ParseStatus parsePCRelTarget(OperandVector &Operands);
359 static SMLoc RefineErrorLoc(const SMLoc Loc, const OperandVector &Operands,
361 if (ErrorInfo != ~0ULL && ErrorInfo < Operands.size()) {
362 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc();
434 OperandVector &Operands,
440 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm);
457 if (ErrorInfo >= Operands.size())
460 ErrorLoc = ((XtensaOperand &)*Operands[ErrorInfo]).getStartLoc();
467 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
470 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
474 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
477 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
480 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
483 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
486 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
489 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
492 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
495 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
498 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
501 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
504 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
507 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
511 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
515 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
523 ParseStatus XtensaAsmParser::parsePCRelTarget(OperandVector &Operands) {
540 Operands.push_back(XtensaOperand::createImm(Expr, S, getLexer().getLoc()));
560 ParseStatus XtensaAsmParser::parseRegister(OperandVector &Operands,
605 Operands.push_back(XtensaOperand::createToken("(", FirstS));
609 Operands.push_back(XtensaOperand::createReg(RegNo, S, E));
613 Operands.push_back(XtensaOperand::createToken(")", getLoc()));
619 ParseStatus XtensaAsmParser::parseImmediate(OperandVector &Operands) {
646 return parseOperandWithModifier(Operands);
650 Operands.push_back(XtensaOperand::createImm(Res, S, E));
654 ParseStatus XtensaAsmParser::parseOperandWithModifier(OperandVector &Operands) {
659 /// from this information, adding to Operands.
661 bool XtensaAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic,
665 ParseStatus Res = MatchOperandParserImpl(Operands, Mnemonic);
676 if (parseRegister(Operands, true, SR).isSuccess())
680 if (parseImmediate(Operands).isSuccess())
689 OperandVector &Operands) {
697 Operands.push_back(XtensaOperand::createToken(Name.take_front(3), NameLoc));
709 if (parseOperand(Operands, Name))
714 Operands.push_back(XtensaOperand::createReg(RegNo, S, E));
717 Operands.push_back(XtensaOperand::createToken(Name, NameLoc));
720 if (parseOperand(Operands, Name))
730 if (parseOperand(Operands, Name, true))
746 OperandVector &Operands) {
749 return ParseInstructionWithSR(Info, Name, NameLoc, Operands);
753 Operands.push_back(XtensaOperand::createToken(Name, NameLoc));
760 if (parseOperand(Operands, Name))
765 if (parseOperand(Operands, Name))