Lines Matching refs:StartLoc
47 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
48 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
290 bool MSP430AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister() argument
292 switch (tryParseRegister(RegNo, StartLoc, EndLoc)) { in ParseRegister()
294 return Error(StartLoc, "invalid register name"); in ParseRegister()
305 SMLoc &StartLoc, in tryParseRegister() argument
317 StartLoc = T.getLoc(); in tryParseRegister()
457 SMLoc StartLoc, EndLoc; in ParseOperand() local
458 if (!ParseRegister(RegNo, StartLoc, EndLoc)) { in ParseOperand()
459 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
467 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
484 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
492 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
497 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
505 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
512 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
518 MCConstantExpr::create(0, getContext()), StartLoc, EndLoc)); in ParseOperand()
520 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
525 SMLoc StartLoc = getParser().getTok().getLoc(); in ParseOperand() local
530 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()