Lines Matching refs:getLoc
3022 StartLoc = Tok.getLoc(); in ParseRegister()
3092 SMLoc S = Parser.getTok().getLoc(); in tryParseShiftRegister()
3134 SMLoc ImmLoc = Parser.getTok().getLoc(); in tryParseShiftRegister()
3161 SMLoc L = Parser.getTok().getLoc(); in tryParseShiftRegister()
3169 Error(Parser.getTok().getLoc(), in tryParseShiftRegister()
3200 Operands.push_back(ARMOperand::CreateReg(RegNo, RegTok.getLoc(), in tryParseRegisterWithWriteBack()
3206 ExclaimTok.getLoc())); in tryParseRegisterWithWriteBack()
3215 SMLoc SIdx = Parser.getTok().getLoc(); in tryParseRegisterWithWriteBack()
3226 return Error(Parser.getTok().getLoc(), "']' expected"); in tryParseRegisterWithWriteBack()
3292 SMLoc S = Parser.getTok().getLoc(); in parseITCondCode()
3330 SMLoc S = Parser.getTok().getLoc(); in parseCoprocNumOperand()
3353 SMLoc S = Parser.getTok().getLoc(); in parseCoprocRegOperand()
3372 SMLoc S = Parser.getTok().getLoc(); in parseCoprocOptionOperand()
3380 SMLoc Loc = Parser.getTok().getLoc(); in parseCoprocOptionOperand()
3452 SMLoc S = Parser.getTok().getLoc(); in parseRegisterList()
3454 SMLoc RegLoc = Parser.getTok().getLoc(); in parseRegisterList()
3495 SMLoc AfterMinusLoc = Parser.getTok().getLoc(); in parseRegisterList()
3522 RegLoc = Parser.getTok().getLoc(); in parseRegisterList()
3562 return Error(Parser.getTok().getLoc(), "'}' expected"); in parseRegisterList()
3571 Operands.push_back(ARMOperand::CreateToken("^",Parser.getTok().getLoc())); in parseRegisterList()
3599 SMLoc Loc = Parser.getTok().getLoc(); in parseVectorLane()
3610 Error(Parser.getTok().getLoc(), "']' expected"); in parseVectorLane()
3619 Error(Parser.getTok().getLoc(), "lane index out of range"); in parseVectorLane()
3636 SMLoc S = Parser.getTok().getLoc(); in parseVectorList()
3698 SMLoc RegLoc = Parser.getTok().getLoc(); in parseVectorList()
3728 Error(Parser.getTok().getLoc(), in parseVectorList()
3733 SMLoc AfterMinusLoc = Parser.getTok().getLoc(); in parseVectorList()
3773 RegLoc = Parser.getTok().getLoc(); in parseVectorList()
3804 SMLoc LaneLoc = Parser.getTok().getLoc(); in parseVectorList()
3829 SMLoc EndLoc = Parser.getTok().getLoc(); in parseVectorList()
3839 Error(Parser.getTok().getLoc(), "'}' expected"); in parseVectorList()
3886 SMLoc S = Parser.getTok().getLoc(); in parseMemBarrierOptOperand()
3926 SMLoc Loc = Parser.getTok().getLoc(); in parseMemBarrierOptOperand()
3958 SMLoc S = Parser.getTok().getLoc(); in parseInstSyncBarrierOptOperand()
3976 SMLoc Loc = Parser.getTok().getLoc(); in parseInstSyncBarrierOptOperand()
4010 SMLoc S = Parser.getTok().getLoc(); in parseProcIFlagsOperand()
4045 SMLoc S = Parser.getTok().getLoc(); in parseMSRMaskOperand()
4198 SMLoc S = Parser.getTok().getLoc(); in parseBankedRegOperand()
4256 Error(Parser.getTok().getLoc(), Op + " operand expected."); in parsePKHImm()
4263 Error(Parser.getTok().getLoc(), Op + " operand expected."); in parsePKHImm()
4271 Error(Parser.getTok().getLoc(), "'#' expected"); in parsePKHImm()
4277 SMLoc Loc = Parser.getTok().getLoc(); in parsePKHImm()
4303 SMLoc S = Tok.getLoc(); in parseSetEndImm()
4333 SMLoc S = Tok.getLoc(); in parseShifterImm()
4353 Error(Parser.getTok().getLoc(), "'#' expected"); in parseShifterImm()
4357 SMLoc ExLoc = Parser.getTok().getLoc(); in parseShifterImm()
4404 SMLoc S = Tok.getLoc(); in parseRotImm()
4415 Error(Parser.getTok().getLoc(), "'#' expected"); in parseRotImm()
4419 SMLoc ExLoc = Parser.getTok().getLoc(); in parseRotImm()
4453 SMLoc S = Parser.getTok().getLoc(); in parseModImm()
4480 Sx1 = Parser.getTok().getLoc(); in parseModImm()
4534 Sx2 = Parser.getTok().getLoc(); in parseModImm()
4567 SMLoc S = Parser.getTok().getLoc(); in parseBitfield()
4571 Error(Parser.getTok().getLoc(), "'#' expected"); in parseBitfield()
4577 SMLoc E = Parser.getTok().getLoc(); in parseBitfield()
4594 E = Parser.getTok().getLoc(); in parseBitfield()
4598 Error(Parser.getTok().getLoc(), "too few operands"); in parseBitfield()
4604 Error(Parser.getTok().getLoc(), "'#' expected"); in parseBitfield()
4645 SMLoc S = Tok.getLoc(); in parsePostIdxReg()
4662 Error(Parser.getTok().getLoc(), "register expected"); in parsePostIdxReg()
4674 E = Parser.getTok().getLoc(); in parsePostIdxReg()
4698 SMLoc S = Tok.getLoc(); in parseAM3Offset()
4744 Error(Tok.getLoc(), "register expected"); in parseAM3Offset()
4838 S = Parser.getTok().getLoc(); in parseMemory()
4844 return Error(BaseRegTok.getLoc(), "register expected"); in parseMemory()
4850 return Error(Tok.getLoc(), "malformed memory operand"); in parseMemory()
4863 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4879 E = Parser.getTok().getLoc(); in parseMemory()
4880 SMLoc AlignmentLoc = Tok.getLoc(); in parseMemory()
4907 return Error(Parser.getTok().getLoc(), "']' expected"); in parseMemory()
4920 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4935 E = Parser.getTok().getLoc(); in parseMemory()
4956 return Error(Parser.getTok().getLoc(), "']' expected"); in parseMemory()
4969 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4986 E = Parser.getTok().getLoc(); in parseMemory()
5002 return Error(Parser.getTok().getLoc(), "']' expected"); in parseMemory()
5013 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
5027 SMLoc Loc = Parser.getTok().getLoc(); in parseMemRegOffsetShift()
5050 Loc = Parser.getTok().getLoc(); in parseMemRegOffsetShift()
5055 return Error(HashTok.getLoc(), "'#' expected"); in parseMemRegOffsetShift()
5097 SMLoc S = Parser.getTok().getLoc(); in parseFPImm()
5132 SMLoc Loc = Tok.getLoc(); in parseFPImm()
5141 S, Parser.getTok().getLoc())); in parseFPImm()
5158 Parser.getTok().getLoc())); in parseFPImm()
5185 Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
5203 S = Parser.getTok().getLoc(); in parseOperand()
5220 S = Parser.getTok().getLoc(); in parseOperand()
5223 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5234 S = Parser.getTok().getLoc(); in parseOperand()
5248 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5256 Parser.getTok().getLoc())); in parseOperand()
5265 S = Parser.getTok().getLoc(); in parseOperand()
5279 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5284 S = Parser.getTok().getLoc(); in parseOperand()
5291 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5313 Error(Parser.getTok().getLoc(), "expected prefix identifier in operand"); in parsePrefix()
5339 Error(Parser.getTok().getLoc(), "unexpected prefix in operand"); in parsePrefix()
5357 Error(Parser.getTok().getLoc(), in parsePrefix()
5366 Error(Parser.getTok().getLoc(), "unexpected token after prefix"); in parsePrefix()
5977 SMLoc Loc = getLexer().getLoc(); in ParseInstruction()
8958 return parseLiteralValues(4, DirectiveID.getLoc()); in ParseDirective()
8960 return parseLiteralValues(2, DirectiveID.getLoc()); in ParseDirective()
8962 return parseDirectiveThumb(DirectiveID.getLoc()); in ParseDirective()
8964 return parseDirectiveARM(DirectiveID.getLoc()); in ParseDirective()
8966 return parseDirectiveThumbFunc(DirectiveID.getLoc()); in ParseDirective()
8968 return parseDirectiveCode(DirectiveID.getLoc()); in ParseDirective()
8970 return parseDirectiveSyntax(DirectiveID.getLoc()); in ParseDirective()
8972 return parseDirectiveUnreq(DirectiveID.getLoc()); in ParseDirective()
8974 return parseDirectiveFnEnd(DirectiveID.getLoc()); in ParseDirective()
8976 return parseDirectiveCantUnwind(DirectiveID.getLoc()); in ParseDirective()
8978 return parseDirectivePersonality(DirectiveID.getLoc()); in ParseDirective()
8980 return parseDirectiveHandlerData(DirectiveID.getLoc()); in ParseDirective()
8982 return parseDirectiveSetFP(DirectiveID.getLoc()); in ParseDirective()
8984 return parseDirectivePad(DirectiveID.getLoc()); in ParseDirective()
8986 return parseDirectiveRegSave(DirectiveID.getLoc(), false); in ParseDirective()
8988 return parseDirectiveRegSave(DirectiveID.getLoc(), true); in ParseDirective()
8990 return parseDirectiveLtorg(DirectiveID.getLoc()); in ParseDirective()
8992 return parseDirectiveEven(DirectiveID.getLoc()); in ParseDirective()
8994 return parseDirectivePersonalityIndex(DirectiveID.getLoc()); in ParseDirective()
8996 return parseDirectiveUnwindRaw(DirectiveID.getLoc()); in ParseDirective()
8998 return parseDirectiveMovSP(DirectiveID.getLoc()); in ParseDirective()
9000 return parseDirectiveArchExtension(DirectiveID.getLoc()); in ParseDirective()
9002 return parseDirectiveAlign(DirectiveID.getLoc()); in ParseDirective()
9004 return parseDirectiveThumbSet(DirectiveID.getLoc()); in ParseDirective()
9008 return parseDirectiveArch(DirectiveID.getLoc()); in ParseDirective()
9010 return parseDirectiveCPU(DirectiveID.getLoc()); in ParseDirective()
9012 return parseDirectiveEabiAttr(DirectiveID.getLoc()); in ParseDirective()
9014 return parseDirectiveFPU(DirectiveID.getLoc()); in ParseDirective()
9016 return parseDirectiveFnStart(DirectiveID.getLoc()); in ParseDirective()
9018 return parseDirectiveInst(DirectiveID.getLoc()); in ParseDirective()
9020 return parseDirectiveInst(DirectiveID.getLoc(), 'n'); in ParseDirective()
9022 return parseDirectiveInst(DirectiveID.getLoc(), 'w'); in ParseDirective()
9024 return parseDirectiveObjectArch(DirectiveID.getLoc()); in ParseDirective()
9026 return parseDirectiveTLSDescSeq(DirectiveID.getLoc()); in ParseDirective()
9141 Error(Parser.getTok().getLoc(), "unexpected token in directive"); in parseDirectiveThumbFunc()
9172 Error(Parser.getTok().getLoc(), "unexpected token in directive"); in parseDirectiveSyntax()
9199 Error(Parser.getTok().getLoc(), "unexpected token in directive"); in parseDirectiveCode()
9243 Error(Parser.getTok().getLoc(), "unexpected input in .req directive."); in parseDirectiveReq()
9326 TagLoc = Parser.getTok().getLoc(); in parseDirectiveEabiAttr()
9339 TagLoc = Parser.getTok().getLoc(); in parseDirectiveEabiAttr()
9356 Error(Parser.getTok().getLoc(), "comma expected"); in parseDirectiveEabiAttr()
9382 SMLoc ValueExprLoc = Parser.getTok().getLoc(); in parseDirectiveEabiAttr()
9402 Error(Parser.getTok().getLoc(), "comma expected"); in parseDirectiveEabiAttr()
9412 Error(Parser.getTok().getLoc(), "bad string constant"); in parseDirectiveEabiAttr()
9455 SMLoc FPUNameLoc = getTok().getLoc(); in parseDirectiveFPU()
9612 SMLoc FPRegLoc = Parser.getTok().getLoc(); in parseDirectiveSetFP()
9621 Error(Parser.getTok().getLoc(), "comma expected"); in parseDirectiveSetFP()
9627 SMLoc SPRegLoc = Parser.getTok().getLoc(); in parseDirectiveSetFP()
9649 Error(Parser.getTok().getLoc(), "'#' expected"); in parseDirectiveSetFP()
9655 SMLoc ExLoc = Parser.getTok().getLoc(); in parseDirectiveSetFP()
9692 Error(Parser.getTok().getLoc(), "'#' expected"); in parseDirectivePad()
9698 SMLoc ExLoc = Parser.getTok().getLoc(); in parseDirectivePad()
9896 SMLoc IndexLoc = Parser.getTok().getLoc(); in parseDirectivePersonalityIndex()
9932 SMLoc OffsetLoc = getLexer().getLoc(); in parseDirectiveUnwindRaw()
9950 Error(getLexer().getLoc(), "expected comma"); in parseDirectiveUnwindRaw()
9960 SMLoc OpcodeLoc = getLexer().getLoc(); in parseDirectiveUnwindRaw()
9987 Error(getLexer().getLoc(), "unexpected token in directive"); in parseDirectiveUnwindRaw()
10018 Error(Parser.getTok().getLoc(), "unexpected token"); in parseDirectiveTLSDescSeq()
10042 SMLoc SPRegLoc = Parser.getTok().getLoc(); in parseDirectiveMovSP()
10061 Error(Parser.getTok().getLoc(), "expected #constant"); in parseDirectiveMovSP()
10068 SMLoc OffsetLoc = Parser.getTok().getLoc(); in parseDirectiveMovSP()
10096 Error(getLexer().getLoc(), "unexpected token"); in parseDirectiveObjectArch()
10102 SMLoc ArchLoc = Parser.getTok().getLoc(); in parseDirectiveObjectArch()
10116 Error(getLexer().getLoc(), "unexpected token"); in parseDirectiveObjectArch()
10219 Error(getLexer().getLoc(), "unexpected token"); in parseDirectiveArchExtension()
10225 SMLoc ExtLoc = Parser.getTok().getLoc(); in parseDirectiveArchExtension()