Lines Matching refs:SMLoc
43 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
48 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
50 SMLoc &EndLoc) override;
53 SMLoc NameLoc, OperandVector &Operands) override;
62 SMLoc NameLoc, OperandVector &Operands);
66 bool ParseLiteralValues(unsigned Size, SMLoc L);
114 SMLoc Start, End;
117 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand()
119 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand()
121 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand()
123 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, in MSP430Operand()
124 SMLoc const &E) in MSP430Operand()
196 static std::unique_ptr<MSP430Operand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
200 static std::unique_ptr<MSP430Operand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
201 SMLoc E) { in CreateReg()
205 static std::unique_ptr<MSP430Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
206 SMLoc E) { in CreateImm()
212 SMLoc S, SMLoc E) { in CreateMem()
216 static std::unique_ptr<MSP430Operand> CreateIndReg(unsigned RegNum, SMLoc S, in CreateIndReg()
217 SMLoc E) { in CreateIndReg()
221 static std::unique_ptr<MSP430Operand> CreatePostIndReg(unsigned RegNum, SMLoc S, in CreatePostIndReg()
222 SMLoc E) { in CreatePostIndReg()
226 SMLoc getStartLoc() const override { return Start; } in getStartLoc()
227 SMLoc getEndLoc() const override { return End; } in getEndLoc()
255 bool MSP430AsmParser::MatchAndEmitInstruction(SMLoc Loc, unsigned &Opcode, in MatchAndEmitInstruction()
272 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction()
278 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
292 bool MSP430AsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
293 SMLoc &EndLoc) { in parseRegister()
305 ParseStatus MSP430AsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
306 SMLoc &EndLoc) { in tryParseRegister()
328 StringRef Name, SMLoc NameLoc, in parseJccInstruction()
359 Operands.push_back(MSP430Operand::CreateImm(CCode, SMLoc(), SMLoc())); in parseJccInstruction()
366 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
379 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
389 StringRef Name, SMLoc NameLoc, in ParseInstruction()
414 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
452 SMLoc StartLoc, EndLoc; in ParseOperand()
462 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
467 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
470 SMLoc RegStartLoc; in ParseOperand()
485 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
489 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
498 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
501 SMLoc RegStartLoc, EndLoc; in ParseOperand()
517 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
521 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
529 bool MSP430AsmParser::ParseLiteralValues(unsigned Size, SMLoc L) { in ParseLiteralValues()