Lines Matching refs:SMLoc
39 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning()
40 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error()
48 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
50 bool ParseDirectiveWord(unsigned Size, SMLoc L);
52 bool MatchAndEmitInstruction(SMLoc IDLoc,
69 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc,
86 SMLoc StartLoc, EndLoc;
139 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc()
142 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc()
224 static MBlazeOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken()
233 static MBlazeOperand *CreateReg(unsigned RegNum, SMLoc S, SMLoc E) { in CreateReg()
241 static MBlazeOperand *CreateImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateImm()
249 static MBlazeOperand *CreateFslImm(const MCExpr *Val, SMLoc S, SMLoc E) { in CreateFslImm()
257 static MBlazeOperand *CreateMem(unsigned Base, const MCExpr *Off, SMLoc S, in CreateMem()
258 SMLoc E) { in CreateMem()
268 static MBlazeOperand *CreateMem(unsigned Base, unsigned Off, SMLoc S, in CreateMem()
269 SMLoc E) { in CreateMem()
321 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction()
325 SMLoc ErrorLoc; in MatchAndEmitInstruction()
345 if (ErrorLoc == SMLoc()) ErrorLoc = IDLoc; in MatchAndEmitInstruction()
363 SMLoc S = Base.getStartLoc(); in ParseMemory()
364 SMLoc O = Offset.getStartLoc(); in ParseMemory()
365 SMLoc E = Offset.getEndLoc(); in ParseMemory()
391 SMLoc &StartLoc, SMLoc &EndLoc) { in ParseRegister()
396 SMLoc S = Parser.getTok().getLoc(); in ParseRegister()
397 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseRegister()
423 SMLoc S = Parser.getTok().getLoc(); in ParseFsl()
424 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseFsl()
440 SMLoc S = Parser.getTok().getLoc(); in ParseImmediate()
441 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseImmediate()
487 ParseInstruction(StringRef Name, SMLoc NameLoc, in ParseInstruction()
534 bool MBlazeAsmParser::ParseDirectiveWord(unsigned Size, SMLoc L) { in ParseDirectiveWord()