Lines Matching refs:SMLoc

43   bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 OperandMatchResultTy tryParseRegister(unsigned &RegNo, 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(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
293 SMLoc &EndLoc) { in ParseRegister()
307 SMLoc &StartLoc, in tryParseRegister()
308 SMLoc &EndLoc) { in tryParseRegister()
330 StringRef Name, SMLoc NameLoc, in parseJccInstruction()
361 Operands.push_back(MSP430Operand::CreateImm(CCode, SMLoc(), SMLoc())); in parseJccInstruction()
369 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
382 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
392 StringRef Name, SMLoc NameLoc, in ParseInstruction()
420 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
459 SMLoc StartLoc, EndLoc; in ParseOperand()
469 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
474 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
478 SMLoc RegStartLoc; in ParseOperand()
494 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
498 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
507 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
510 SMLoc RegStartLoc, EndLoc; in ParseOperand()
527 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
531 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
539 bool MSP430AsmParser::ParseLiteralValues(unsigned Size, SMLoc L) { in ParseLiteralValues()