Lines Matching refs:StartLoc

48   bool parseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 ParseStatus tryParseRegister(MCRegister &Reg, SMLoc &StartLoc,
292 bool MSP430AsmParser::parseRegister(MCRegister &Reg, SMLoc &StartLoc, in parseRegister() argument
294 ParseStatus Res = tryParseRegister(Reg, StartLoc, EndLoc); in parseRegister()
296 return Error(StartLoc, "invalid register name"); in parseRegister()
305 ParseStatus MSP430AsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, in tryParseRegister() argument
317 StartLoc = T.getLoc(); in tryParseRegister()
452 SMLoc StartLoc, EndLoc; in ParseOperand() local
453 if (!parseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
454 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
462 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
477 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
485 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
490 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
498 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
505 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
510 MCConstantExpr::create(0, getContext()), StartLoc, EndLoc)); in ParseOperand()
512 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
517 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
522 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()