Lines Matching refs:SMLoc

39   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
47 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 SMLoc NameLoc, OperandVector &Operands) override;
50 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
57 bool processInstruction(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
71 SMLoc NameLoc, OperandVector &Operands);
72 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
73 SMLoc &EndLoc) override { in tryParseRegister()
77 bool parseLiteralDirective(SMLoc L);
119 SMLoc StartLoc, EndLoc;
257 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
259 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
291 static std::unique_ptr<XtensaOperand> createToken(StringRef Str, SMLoc S) { in createToken()
299 static std::unique_ptr<XtensaOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
300 SMLoc E) { in createReg()
308 static std::unique_ptr<XtensaOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
309 SMLoc E) { in createImm()
354 static SMLoc RefineErrorLoc(const SMLoc Loc, const OperandVector &Operands, in RefineErrorLoc()
357 SMLoc ErrorLoc = Operands[ErrorInfo]->getStartLoc(); in RefineErrorLoc()
358 if (ErrorLoc == SMLoc()) in RefineErrorLoc()
365 bool XtensaAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()
428 bool XtensaAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
450 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
456 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
516 SMLoc S = getLexer().getLoc(); in parsePCRelTarget()
533 bool XtensaAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
534 SMLoc &EndLoc) { in parseRegister()
551 SMLoc FirstS = getLoc(); in parseRegister()
595 SMLoc S = getLoc(); in parseRegister()
596 SMLoc E = getParser().getTok().getEndLoc(); in parseRegister()
609 SMLoc S = getLoc(); in parseImmediate()
610 SMLoc E; in parseImmediate()
638 E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
677 StringRef Name, SMLoc NameLoc, in ParseInstructionWithSR()
701 SMLoc S = getLoc(); in ParseInstructionWithSR()
702 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in ParseInstructionWithSR()
713 SMLoc Loc = getLexer().getLoc(); in ParseInstructionWithSR()
724 SMLoc Loc = getLexer().getLoc(); in ParseInstructionWithSR()
734 StringRef Name, SMLoc NameLoc, in ParseInstruction()
758 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
767 bool XtensaAsmParser::parseLiteralDirective(SMLoc L) { in parseLiteralDirective()
770 SMLoc LiteralLoc = getLexer().getLoc(); in parseLiteralDirective()
784 SMLoc OpcodeLoc = getLexer().getLoc(); in parseLiteralDirective()
803 SMLoc Loc = getLexer().getLoc(); in parseDirective()