Lines Matching refs:SMLoc

54   bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
59 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
60 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
61 SMLoc &EndLoc) override;
64 SMLoc NameLoc, OperandVector &Operands) override;
87 bool emit(MCInst &Instruction, SMLoc const &Loc, MCStreamer &Out) const;
88 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
90 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
92 ParseStatus parseLiteralValues(unsigned SizeInBytes, SMLoc L);
114 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand()
116 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand()
118 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
120 AVROperand(unsigned Reg, MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
132 SMLoc Start, End;
209 static std::unique_ptr<AVROperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
213 static std::unique_ptr<AVROperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
214 SMLoc E) { in CreateReg()
218 static std::unique_ptr<AVROperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
219 SMLoc E) { in CreateImm()
224 CreateMemri(unsigned RegNum, const MCExpr *Val, SMLoc S, SMLoc E) { in CreateMemri()
248 SMLoc getStartLoc() const override { return Start; } in getStartLoc()
249 SMLoc getEndLoc() const override { return End; } in getEndLoc()
285 bool AVRAsmParser::invalidOperand(SMLoc const &Loc, in invalidOperand()
288 SMLoc ErrorLoc = Loc; in invalidOperand()
298 if (Op.getStartLoc() != SMLoc()) { in invalidOperand()
311 bool AVRAsmParser::missingFeature(llvm::SMLoc const &Loc, in missingFeature()
316 bool AVRAsmParser::emit(MCInst &Inst, SMLoc const &Loc, MCStreamer &Out) const { in emit()
323 bool AVRAsmParser::MatchAndEmitInstruction(SMLoc Loc, unsigned &Opcode, in MatchAndEmitInstruction()
422 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
445 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
454 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
516 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
570 SMLoc E, S; in parseMemriOperand()
581 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
590 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
598 bool AVRAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
599 SMLoc &EndLoc) { in parseRegister()
607 ParseStatus AVRAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
608 SMLoc &EndLoc) { in tryParseRegister()
627 StringRef Mnemonic, SMLoc NameLoc, in ParseInstruction()
643 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
672 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
692 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues()