Lines Matching refs:SMLoc

68   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
70 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
75 bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
78 SMLoc NameLoc, OperandVector &Operands) override;
86 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
87 SMLoc &EndLoc) override;
89 bool processInstruction(MCInst &Inst, SMLoc IDLoc, OperandVector &Operands,
91 bool processLRW(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
92 bool processJSRI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
93 bool processJMPI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out);
184 SMLoc StartLoc, EndLoc;
399 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
401 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
473 static std::unique_ptr<CSKYOperand> createToken(StringRef Str, SMLoc S) { in createToken()
481 static std::unique_ptr<CSKYOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
482 SMLoc E) { in createReg()
491 unsigned RegNoTo, SMLoc S) { in createRegSeq()
501 createRegList(SmallVector<unsigned, 4> reglist, SMLoc S) { in createRegList()
535 static std::unique_ptr<CSKYOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
536 SMLoc E) { in createImm()
545 SMLoc S, SMLoc E) { in createConstpoolOp()
655 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in generateImmOutOfRangeError()
659 bool CSKYAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
694 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
700 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
711 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
793 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
797 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
801 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
805 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
809 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
813 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
817 SMLoc ErrorLoc = ((CSKYOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
825 bool CSKYAsmParser::processLRW(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processLRW()
873 bool CSKYAsmParser::processJSRI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processJSRI()
894 bool CSKYAsmParser::processJMPI(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out) { in processJMPI()
915 bool CSKYAsmParser::processInstruction(MCInst &Inst, SMLoc IDLoc, in processInstruction()
1013 bool CSKYAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
1014 SMLoc &EndLoc) { in parseRegister()
1029 SMLoc S = getLoc(); in parseRegister()
1030 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister()
1112 SMLoc S = getLoc(); in parseImmediate()
1116 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
1162 SMLoc S = getLoc(); in parseCSKYSymbol()
1163 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCSKYSymbol()
1237 SMLoc S = getLoc(); in parseDataSymbol()
1238 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseDataSymbol()
1318 SMLoc S = getLoc(); in parseConstpoolSymbol()
1319 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseConstpoolSymbol()
1390 SMLoc S = getLoc(); in parsePSRFlag()
1391 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parsePSRFlag()
1426 SMLoc S = getLoc(); in parseRegSeq()
1447 SMLoc S = getLoc(); in parseRegList()
1489 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction()
1507 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
1516 ParseStatus CSKYAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
1517 SMLoc &EndLoc) { in tryParseRegister()
1545 SMLoc TagLoc; in parseDirectiveAttribute()
1578 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveAttribute()