Lines Matching refs:SMLoc

49   bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
54 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
55 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
56 SMLoc &EndLoc) override;
59 SMLoc NameLoc, OperandVector &Operands) override;
82 bool emit(MCInst &Instruction, SMLoc const &Loc, MCStreamer &Out) const;
83 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
85 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
87 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
109 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand()
111 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand()
113 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
115 AVROperand(unsigned Reg, MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
127 SMLoc Start, End;
202 static std::unique_ptr<AVROperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
206 static std::unique_ptr<AVROperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
207 SMLoc E) { in CreateReg()
211 static std::unique_ptr<AVROperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
212 SMLoc E) { in CreateImm()
217 CreateMemri(unsigned RegNum, const MCExpr *Val, SMLoc S, SMLoc E) { in CreateMemri()
241 SMLoc getStartLoc() const override { return Start; } in getStartLoc()
242 SMLoc getEndLoc() const override { return End; } in getEndLoc()
278 bool AVRAsmParser::invalidOperand(SMLoc const &Loc, in invalidOperand()
281 SMLoc ErrorLoc = Loc; in invalidOperand()
291 if (Op.getStartLoc() != SMLoc()) { in invalidOperand()
304 bool AVRAsmParser::missingFeature(llvm::SMLoc const &Loc, in missingFeature()
309 bool AVRAsmParser::emit(MCInst &Inst, SMLoc const &Loc, MCStreamer &Out) const { in emit()
316 bool AVRAsmParser::MatchAndEmitInstruction(SMLoc Loc, unsigned &Opcode, in MatchAndEmitInstruction()
403 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
421 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
430 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
504 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
559 SMLoc E, S; in parseMemriOperand()
570 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
579 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
587 bool AVRAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
588 SMLoc &EndLoc) { in ParseRegister()
597 SMLoc &StartLoc, in tryParseRegister()
598 SMLoc &EndLoc) { in tryParseRegister()
617 StringRef Mnemonic, SMLoc NameLoc, in ParseInstruction()
634 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
641 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
662 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues()