Lines Matching defs:StartLoc
48 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
49 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
291 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
293 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) {
295 return Error(StartLoc, "invalid register name");
306 SMLoc &StartLoc,
318 StartLoc = T.getLoc();
458 SMLoc StartLoc, EndLoc;
459 if (!ParseRegister(RegNo, StartLoc, EndLoc)) {
460 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc));
468 SMLoc StartLoc = getParser().getTok().getLoc();
485 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc,
493 SMLoc StartLoc = getParser().getTok().getLoc();
498 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc,
506 SMLoc StartLoc = getParser().getTok().getLoc();
513 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc));
519 MCConstantExpr::create(0, getContext()), StartLoc, EndLoc));
521 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc));
526 SMLoc StartLoc = getParser().getTok().getLoc();
531 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc));