Lines Matching refs:SMLoc
77 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
83 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
90 SMLoc NameLoc, OperandVector &Operands) override;
98 StringRef Identifier, SMLoc S);
101 MatchAnyRegisterWithoutDollar(OperandVector &Operands, SMLoc S);
121 bool expandInstruction(MCInst &Inst, SMLoc IDLoc,
124 bool expandLoadImm(MCInst &Inst, SMLoc IDLoc,
127 bool expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
130 bool expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
133 void expandMemInst(MCInst &Inst, SMLoc IDLoc,
137 bool reportParseError(SMLoc Loc, Twine ErrorMsg);
146 bool parseDirectiveCPLoad(SMLoc Loc);
163 bool parseDataDirective(unsigned Size, SMLoc L);
193 int getATReg(SMLoc Loc);
195 bool processInstruction(MCInst &Inst, SMLoc IDLoc,
298 void WarnIfAssemblerTemporary(int RegNo, SMLoc Loc);
379 SMLoc StartLoc, EndLoc;
384 SMLoc S, SMLoc E,
723 static std::unique_ptr<MipsOperand> CreateToken(StringRef Str, SMLoc S,
736 CreateNumericReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S,
737 SMLoc E, MipsAsmParser &Parser) {
745 CreateGPRReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E,
753 CreateFGRReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E,
761 CreateFCCReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E,
769 CreateACCReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S, SMLoc E,
777 CreateMSA128Reg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S,
778 SMLoc E, MipsAsmParser &Parser) {
785 CreateMSACtrlReg(unsigned Index, const MCRegisterInfo *RegInfo, SMLoc S,
786 SMLoc E, MipsAsmParser &Parser) {
791 CreateImm(const MCExpr *Val, SMLoc S, SMLoc E, MipsAsmParser &Parser) {
800 CreateMem(std::unique_ptr<MipsOperand> Base, const MCExpr *Off, SMLoc S,
801 SMLoc E, MipsAsmParser &Parser) {
847 SMLoc getStartLoc() const override { return StartLoc; }
849 SMLoc getEndLoc() const override { return EndLoc; }
900 bool MipsAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc,
1032 bool MipsAsmParser::expandInstruction(MCInst &Inst, SMLoc IDLoc,
1055 void createShiftOr(int64_t Value, unsigned RegNo, SMLoc IDLoc,
1077 bool MipsAsmParser::expandLoadImm(MCInst &Inst, SMLoc IDLoc,
1175 MipsAsmParser::expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc,
1219 MipsAsmParser::expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc,
1253 void MipsAsmParser::expandMemInst(MCInst &Inst, SMLoc IDLoc,
1381 bool MipsAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
1406 SMLoc ErrorLoc = IDLoc;
1412 if (ErrorLoc == SMLoc())
1426 void MipsAsmParser::WarnIfAssemblerTemporary(int RegIndex, SMLoc Loc) {
1575 int MipsAsmParser::getATReg(SMLoc Loc) {
1622 SMLoc S = Parser.getTok().getLoc();
1637 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1660 SMLoc S = Parser.getTok().getLoc(); // Start location of the operand.
1664 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1766 SMLoc EndLoc;
1797 bool MipsAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
1798 SMLoc &EndLoc) {
1824 SMLoc S;
1855 SMLoc S;
1874 SMLoc E =
1875 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1880 SMLoc E =
1881 SMLoc
1907 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1938 SMLoc S = Parser.getTok().getLoc();
1971 SMLoc S) {
2018 MipsAsmParser::MatchAnyRegisterWithoutDollar(OperandVector &Operands, SMLoc S) {
2046 SMLoc S = Token.getLoc();
2082 SMLoc S = Parser.getTok().getLoc();
2086 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
2095 SMLoc S = getLexer().getLoc();
2123 SMLoc S = Parser.getTok().getLoc();
2129 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
2148 SMLoc S = Parser.getTok().getLoc();
2221 SMLoc Loc = getLexer().getLoc();
2226 SMLoc Loc = getLexer().getLoc();
2250 SMLoc Loc = getLexer().getLoc();
2255 SMLoc Loc = getLexer().getLoc();
2267 SMLoc NameLoc, OperandVector &Operands) {
2284 SMLoc Loc = getLexer().getLoc();
2296 SMLoc Loc = getLexer().getLoc();
2310 SMLoc Loc = getLexer().getLoc();
2319 SMLoc Loc = getLexer().getLoc();
2324 bool MipsAsmParser::reportParseError(SMLoc Loc, Twine ErrorMsg) {
2544 SMLoc Loc = getLexer().getLoc();
2553 bool MipsAsmParser::parseDirectiveCPLoad(SMLoc Loc) {
2704 bool MipsAsmParser::parseDataDirective(unsigned Size, SMLoc L) {
2805 SMLoc L = Lexer.getLoc();