Lines Matching refs:SMLoc
38 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
40 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
45 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
48 SMLoc NameLoc, OperandVector &Operands) override;
52 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
53 SMLoc &EndLoc) override;
98 SMLoc StartLoc, EndLoc;
192 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
194 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
225 static std::unique_ptr<CSKYOperand> createToken(StringRef Str, SMLoc S) { in createToken()
233 static std::unique_ptr<CSKYOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
234 SMLoc E) { in createReg()
242 static std::unique_ptr<CSKYOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
243 SMLoc E) { in createImm()
284 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
288 bool CSKYAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
325 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
331 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
342 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
371 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
375 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
395 bool CSKYAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
396 SMLoc &EndLoc) { in ParseRegister()
411 SMLoc S = getLoc(); in parseRegister()
412 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister()
497 SMLoc S = getLoc(); in parseImmediate()
501 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
538 SMLoc S = getLoc(); in parseCSKYSymbol()
539 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCSKYSymbol()
572 SMLoc S = getLoc(); in parseConstpoolSymbol()
573 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseConstpoolSymbol()
600 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction()
623 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
633 SMLoc &StartLoc, in tryParseRegister()
634 SMLoc &EndLoc) { in tryParseRegister()