Home | History | Annotate | Download | only in AsmParser

Lines Matching defs:StartLoc

58   X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc);
115 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc);
172 SMLoc StartLoc, EndLoc;
199 : Kind(K), StartLoc(Start), EndLoc(End) {}
202 SMLoc getStartLoc() const { return StartLoc; }
206 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
451 static X86Operand *CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc) {
452 X86Operand *Res = new X86Operand(Register, StartLoc, EndLoc);
457 static X86Operand *CreateImm(const MCExpr *Val, SMLoc StartLoc, SMLoc EndLoc){
458 X86Operand *Res = new X86Operand(Immediate, StartLoc, EndLoc);
464 static X86Operand *CreateMem(const MCExpr *Disp, SMLoc StartLoc,
466 X86Operand *Res = new X86Operand(Memory, StartLoc, EndLoc);
479 unsigned Scale, SMLoc StartLoc, SMLoc EndLoc,
488 X86Operand *Res = new X86Operand(Memory, StartLoc, EndLoc);
522 StartLoc, SMLoc &EndLoc) {
525 StartLoc = PercentTok.getLoc();
535 return Error(StartLoc, "invalid register name",
536 SMRange(StartLoc, Tok.getEndLoc()));
555 return Error(StartLoc, "register %"
557 SMRange(StartLoc, Tok.getEndLoc()));
619 return Error(StartLoc, "invalid register name",
620 SMRange(StartLoc, Tok.getEndLoc()));
889 SMLoc StartLoc, EndLoc;
890 if (ParseRegister(BaseReg, StartLoc, EndLoc)) return 0;
892 Error(StartLoc, "eiz and riz can only be used as index registers",
893 SMRange(StartLoc, EndLoc));