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);
354 static SMLoc RefineErrorLoc(const SMLoc Loc, const OperandVector &Operands,
356 if (ErrorInfo != ~0ULL && ErrorInfo < Operands.size()) {
357 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc();
429 OperandVector &Operands,
435 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm);
452 if (ErrorInfo >= Operands.size())
455 ErrorLoc = ((XtensaOperand &)*Operands[ErrorInfo]).getStartLoc();
462 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
465 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
469 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
472 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
475 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
478 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
481 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
484 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
487 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
490 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
493 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
496 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
500 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
504 return Error(RefineErrorLoc(IDLoc, Operands, ErrorInfo),
512 ParseStatus XtensaAsmParser::parsePCRelTarget(OperandVector &Operands) {
529 Operands.push_back(XtensaOperand::createImm(Expr, S, getLexer().getLoc()));
549 ParseStatus XtensaAsmParser::parseRegister(OperandVector &Operands,
594 Operands.push_back(XtensaOperand::createToken("(", FirstS));
598 Operands.push_back(XtensaOperand::createReg(RegNo, S, E));
602 Operands.push_back(XtensaOperand::createToken(")", getLoc()));
608 ParseStatus XtensaAsmParser::parseImmediate(OperandVector &Operands) {
635 return parseOperandWithModifier(Operands);
639 Operands.push_back(XtensaOperand::createImm(Res, S, E));
643 ParseStatus XtensaAsmParser::parseOperandWithModifier(OperandVector &Operands) {
648 /// from this information, adding to Operands.
650 bool XtensaAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic,
654 ParseStatus Res = MatchOperandParserImpl(Operands, Mnemonic);
665 if (parseRegister(Operands, true, SR).isSuccess())
669 if (parseImmediate(Operands).isSuccess())
678 OperandVector &Operands) {
686 Operands.push_back(XtensaOperand::createToken(Name.take_front(3), NameLoc));
698 if (parseOperand(Operands, Name))
703 Operands.push_back(XtensaOperand::createReg(RegNo, S, E));
706 Operands.push_back(XtensaOperand::createToken(Name, NameLoc));
709 if (parseOperand(Operands, Name))
719 if (parseOperand(Operands, Name, true))
735 OperandVector &Operands) {
738 return ParseInstructionWithSR(Info, Name, NameLoc, Operands);
742 Operands.push_back(XtensaOperand::createToken(Name, NameLoc));
749 if (parseOperand(Operands, Name))
754 if (parseOperand(Operands, Name))