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()
440 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
449 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
511 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
564 SMLoc E, S; in parseMemriOperand()
575 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
584 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
592 bool AVRAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
593 SMLoc &EndLoc) { in parseRegister()
601 ParseStatus AVRAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
602 SMLoc &EndLoc) { in tryParseRegister()
621 StringRef Mnemonic, SMLoc NameLoc, in ParseInstruction()
637 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
665 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
685 ParseStatus AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues()