Lines Matching refs:SMLoc
33 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
37 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
42 bool parseRegister(MCRegister &Reo, SMLoc &StartLoc, SMLoc &EndLoc) override;
43 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
44 SMLoc &EndLoc) override;
47 SMLoc NameLoc, OperandVector &Operands) override;
96 SMLoc StartLoc, EndLoc;
147 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
149 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
201 static std::unique_ptr<BPFOperand> createToken(StringRef Str, SMLoc S) { in createToken()
209 static std::unique_ptr<BPFOperand> createReg(unsigned RegNo, SMLoc S, in createReg()
210 SMLoc E) { in createReg()
218 static std::unique_ptr<BPFOperand> createImm(const MCExpr *Val, SMLoc S, in createImm()
219 SMLoc E) { in createImm()
307 bool BPFAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
312 SMLoc ErrorLoc; in MatchAndEmitInstruction()
337 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
353 bool BPFAsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister()
354 SMLoc &EndLoc) { in parseRegister()
360 ParseStatus BPFAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister()
361 SMLoc &EndLoc) { in tryParseRegister()
377 SMLoc S = getLoc(); in parseOperandAsOperator()
442 SMLoc S = getLoc(); in parseRegister()
443 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister()
475 SMLoc S = getLoc(); in parseImmediate()
480 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate()
489 SMLoc NameLoc, OperandVector &Operands) { in ParseInstruction()
494 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in ParseInstruction()
517 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
523 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()