Lines Matching refs:getLoc
412 return Error(Parser.getTok().getLoc(), "invalid register on avrtiny"); in tryParseRegisterOperand()
415 Operands.push_back(AVROperand::CreateReg(RegNo, T.getLoc(), T.getEndLoc())); in tryParseRegisterOperand()
422 SMLoc S = Parser.getTok().getLoc(); in tryParseExpression()
440 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression()
449 SMLoc S = Parser.getTok().getLoc(); in tryParseRelocExpression()
484 return Error(Parser.getTok().getLoc(), "unknown modifier"); in tryParseRelocExpression()
511 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression()
522 return Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
551 Parser.getTok().getLoc())); in parseOperand()
575 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
584 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
594 StartLoc = Parser.getTok().getLoc(); in parseRegister()
596 EndLoc = Parser.getTok().getLoc(); in parseRegister()
603 StartLoc = Parser.getTok().getLoc(); in tryParseRegister()
605 EndLoc = Parser.getTok().getLoc(); in tryParseRegister()
637 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
665 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
677 return parseLiteralValues(SIZE_LONG, DirectiveID.getLoc()); in parseDirective()
679 return parseLiteralValues(SIZE_WORD, DirectiveID.getLoc()); in parseDirective()
681 return parseLiteralValues(1, DirectiveID.getLoc()); in parseDirective()
709 return Error(Parser.getTok().getLoc(), "unknown modifier"); in parseLiteralValues()