Lines Matching refs:SMLoc

66   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
68 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
73 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
76 SMLoc NameLoc, OperandVector &Operands) override;
84 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
85 SMLoc &EndLoc) override;
87 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
89 bool processLRW(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
90 bool processJSRI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
91 bool processJMPI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
182 SMLoc StartLoc, EndLoc;
397 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
399 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
471 static std::unique_ptr<CSKYOperand> createToken(StringRef Str, SMLoc S) { in createToken()
479 static std::unique_ptr<CSKYOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
480 SMLoc E) { in createReg()
489 unsigned RegNoTo, SMLoc S) { in createRegSeq()
499 createRegList(SmallVector<unsigned, 4> reglist, SMLoc S) { in createRegList()
533 static std::unique_ptr<CSKYOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
534 SMLoc E) { in createImm()
543 SMLoc S, SMLoc E) { in createConstpoolOp()
653 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
657 bool CSKYAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
692 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
698 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
709 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
791 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
795 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
799 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
803 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
807 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
811 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
815 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
823 bool CSKYAsmParser::processLRW(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processLRW()
871 bool CSKYAsmParser::processJSRI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processJSRI()
892 bool CSKYAsmParser::processJMPI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processJMPI()
913 bool CSKYAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()
1011 bool CSKYAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
1012 SMLoc &EndLoc) { in ParseRegister()
1027 SMLoc S = getLoc(); in parseRegister()
1028 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister()
1119 SMLoc S = getLoc(); in parseImmediate()
1125 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
1171 SMLoc S = getLoc(); in parseCSKYSymbol()
1172 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCSKYSymbol()
1251 SMLoc S = getLoc(); in parseDataSymbol()
1252 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseDataSymbol()
1353 SMLoc S = getLoc(); in parseConstpoolSymbol()
1354 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseConstpoolSymbol()
1445 SMLoc S = getLoc(); in parsePSRFlag()
1446 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parsePSRFlag()
1489 SMLoc S = getLoc(); in parseRegSeq()
1517 SMLoc S = getLoc(); in parseRegList()
1570 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction()
1593 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
1603 SMLoc &StartLoc, in tryParseRegister()
1604 SMLoc &EndLoc) { in tryParseRegister()
1636 SMLoc TagLoc; in parseDirectiveAttribute()
1671 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveAttribute()