Lines Matching refs:StartLoc

48   bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
292 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
294 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { in ParseRegister()
296 return Error(StartLoc, "invalid register name"); in ParseRegister()
307 SMLoc &StartLoc, in tryParseRegister() argument
319 StartLoc = T.getLoc(); in tryParseRegister()
459 SMLoc StartLoc, EndLoc; in ParseOperand() local
460 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
461 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
469 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
486 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
494 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
499 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
507 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
514 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
520 MCConstantExpr::create(0, getContext()), StartLoc, EndLoc)); in ParseOperand()
522 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
527 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
532 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()