Lines Matching refs:StartLoc
48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
289 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
301 StartLoc = T.getLoc(); in ParseRegister()
308 return Error(StartLoc, "invalid register name"); in ParseRegister()
441 SMLoc StartLoc, EndLoc; in ParseOperand() local
442 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
443 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
451 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
468 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
476 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
481 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
489 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
496 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
502 MCConstantExpr::create(0, getContext()), StartLoc, EndLoc)); in ParseOperand()
504 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
509 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
514 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()