Lines Matching refs:SMLoc
53 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
58 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
59 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
60 SMLoc &EndLoc) override;
63 SMLoc NameLoc, OperandVector &Operands) override;
86 bool emit(MCInst &Instruction, SMLoc const &Loc, MCStreamer &Out) const;
87 bool invalidOperand(SMLoc const &Loc, OperandVector const &Operands,
89 bool missingFeature(SMLoc const &Loc, uint64_t const &ErrorInfo);
91 bool parseLiteralValues(unsigned SizeInBytes, SMLoc L);
113 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand()
115 AVROperand(unsigned Reg, SMLoc const &S, SMLoc const &E) in AVROperand()
117 AVROperand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
119 AVROperand(unsigned Reg, MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in AVROperand()
131 SMLoc Start, End;
208 static std::unique_ptr<AVROperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
212 static std::unique_ptr<AVROperand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
213 SMLoc E) { in CreateReg()
217 static std::unique_ptr<AVROperand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
218 SMLoc E) { in CreateImm()
223 CreateMemri(unsigned RegNum, const MCExpr *Val, SMLoc S, SMLoc E) { in CreateMemri()
247 SMLoc getStartLoc() const override { return Start; } in getStartLoc()
248 SMLoc getEndLoc() const override { return End; } in getEndLoc()
284 bool AVRAsmParser::invalidOperand(SMLoc const &Loc, in invalidOperand()
287 SMLoc ErrorLoc = Loc; in invalidOperand()
297 if (Op.getStartLoc() != SMLoc()) { in invalidOperand()
310 bool AVRAsmParser::missingFeature(llvm::SMLoc const &Loc, in missingFeature()
315 bool AVRAsmParser::emit(MCInst &Inst, SMLoc const &Loc, MCStreamer &Out) const { in emit()
322 bool AVRAsmParser::MatchAndEmitInstruction(SMLoc Loc, unsigned &Opcode, in MatchAndEmitInstruction()
421 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
439 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
448 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
521 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
575 SMLoc E, S; in parseMemriOperand()
586 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
595 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
603 bool AVRAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
604 SMLoc &EndLoc) { in ParseRegister()
613 SMLoc &StartLoc, in tryParseRegister()
614 SMLoc &EndLoc) { in tryParseRegister()
633 StringRef Mnemonic, SMLoc NameLoc, in ParseInstruction()
651 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
658 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
679 bool AVRAsmParser::parseLiteralValues(unsigned SizeInBytes, SMLoc L) { in parseLiteralValues()