Lines Matching refs:SMLoc

42   bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
48 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
49 SMLoc &EndLoc) override;
52 SMLoc NameLoc, OperandVector &Operands) override;
61 SMLoc NameLoc, OperandVector &Operands);
65 bool ParseLiteralValues(unsigned Size, SMLoc L);
113 SMLoc Start, End;
116 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand()
118 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand()
120 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand()
122 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, SMLoc const &E) in MSP430Operand()
194 static std::unique_ptr<MSP430Operand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
198 static std::unique_ptr<MSP430Operand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
199 SMLoc E) { in CreateReg()
203 static std::unique_ptr<MSP430Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
204 SMLoc E) { in CreateImm()
210 SMLoc S, SMLoc E) { in CreateMem()
214 static std::unique_ptr<MSP430Operand> CreateIndReg(unsigned RegNum, SMLoc S, in CreateIndReg()
215 SMLoc E) { in CreateIndReg()
219 static std::unique_ptr<MSP430Operand> CreatePostIndReg(unsigned RegNum, SMLoc S, in CreatePostIndReg()
220 SMLoc E) { in CreatePostIndReg()
224 SMLoc getStartLoc() const override { return Start; } in getStartLoc()
225 SMLoc getEndLoc() const override { return End; } in getEndLoc()
253 bool MSP430AsmParser::MatchAndEmitInstruction(SMLoc Loc, unsigned &Opcode, in MatchAndEmitInstruction()
270 SMLoc ErrorLoc = Loc; in MatchAndEmitInstruction()
276 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
290 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
291 SMLoc &EndLoc) { in ParseRegister()
305 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()
367 SMLoc ExprLoc = getLexer().getLoc(); in parseJccInstruction()
380 SMLoc Loc = getLexer().getLoc(); in parseJccInstruction()
390 StringRef Name, SMLoc NameLoc, in ParseInstruction()
418 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
457 SMLoc StartLoc, EndLoc; in ParseOperand()
467 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
472 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
476 SMLoc RegStartLoc; in ParseOperand()
492 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
496 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
505 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
508 SMLoc RegStartLoc, EndLoc; in ParseOperand()
525 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand()
529 SMLoc EndLoc = getParser().getTok().getLoc(); in ParseOperand()
537 bool MSP430AsmParser::ParseLiteralValues(unsigned Size, SMLoc L) { in ParseLiteralValues()