Lines Matching refs:SMLoc
55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
57 bool parseSysAlias(StringRef Name, SMLoc NameLoc, OperandVector &Operands);
69 void Warning(SMLoc L, const Twine &Msg) { getParser().Warning(L, Msg); } in Warning()
70 bool Error(SMLoc L, const Twine &Msg) { return getParser().Error(L, Msg); } in Error()
71 bool showMatchError(SMLoc Loc, unsigned ErrCode);
73 bool parseDirectiveWord(unsigned Size, SMLoc L);
74 bool parseDirectiveInst(SMLoc L);
76 bool parseDirectiveTLSDescCall(SMLoc L);
78 bool parseDirectiveLOH(StringRef LOH, SMLoc L);
79 bool parseDirectiveLtorg(SMLoc L);
81 bool parseDirectiveReq(StringRef Name, SMLoc L);
82 bool parseDirectiveUnreq(SMLoc L);
84 bool validateInstruction(MCInst &Inst, SmallVectorImpl<SMLoc> &Loc);
85 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
131 SMLoc NameLoc, OperandVector &Operands) override;
132 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
167 SMLoc StartLoc, EndLoc;
323 SMLoc getStartLoc() const override { return StartLoc; } in getStartLoc()
325 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc()
1629 CreateToken(StringRef Str, bool IsSuffix, SMLoc S, MCContext &Ctx) { in CreateToken()
1640 CreateReg(unsigned RegNum, bool isVector, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateReg()
1651 char ElementKind, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateVectorList()
1663 CreateVectorIndex(unsigned Idx, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateVectorIndex()
1671 static std::unique_ptr<AArch64Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
1672 SMLoc E, MCContext &Ctx) { in CreateImm()
1682 SMLoc S, SMLoc E, in CreateShiftedImm()
1693 CreateCondCode(AArch64CC::CondCode Code, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateCondCode()
1701 static std::unique_ptr<AArch64Operand> CreateFPImm(unsigned Val, SMLoc S, in CreateFPImm()
1712 SMLoc S, in CreateBarrier()
1723 static std::unique_ptr<AArch64Operand> CreateSysReg(StringRef Str, SMLoc S, in CreateSysReg()
1739 static std::unique_ptr<AArch64Operand> CreateSysCR(unsigned Val, SMLoc S, in CreateSysCR()
1740 SMLoc E, MCContext &Ctx) { in CreateSysCR()
1750 SMLoc S, in CreatePrefetch()
1763 SMLoc S, in CreatePSBHint()
1776 bool HasExplicitAmount, SMLoc S, SMLoc E, MCContext &Ctx) { in CreateShiftExtend()
1947 bool AArch64AsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc, in ParseRegister()
1948 SMLoc &EndLoc) { in ParseRegister()
1951 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1); in ParseRegister()
2038 SMLoc S = getLoc(); in tryParseSysCROperand()
2068 SMLoc S = getLoc(); in tryParsePrefetch()
2123 SMLoc S = getLoc(); in tryParsePSBHint()
2150 SMLoc S = getLoc(); in tryParseAdrpLabel()
2190 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrpLabel()
2201 SMLoc S = getLoc(); in tryParseAdrLabel()
2211 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrLabel()
2221 SMLoc S = getLoc(); in tryParseFPImm()
2285 SMLoc S = getLoc(); in tryParseAddSubImm()
2306 SMLoc E = Parser.getTok().getLoc(); in tryParseAddSubImm()
2342 SMLoc E = Parser.getTok().getLoc(); in tryParseAddSubImm()
2377 SMLoc S = getLoc(); in parseCondCode()
2425 SMLoc S = Tok.getLoc(); in tryParseOptionalShiftExtend()
2439 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend()
2449 SMLoc E = Parser.getTok().getLoc(); in tryParseOptionalShiftExtend()
2466 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend()
2474 bool AArch64AsmParser::parseSysAlias(StringRef Name, SMLoc NameLoc, in parseSysAlias()
2486 SMLoc S = Tok.getLoc(); in parseSysAlias()
2753 SMLoc ExprLoc = getLoc(); in tryParseBarrierOperand()
2842 SMLoc S = getLoc(); in tryParseVectorRegister()
2858 SMLoc SIdx = getLoc(); in tryParseVectorRegister()
2870 SMLoc E = getLoc(); in tryParseVectorRegister()
2888 SMLoc S = getLoc(); in parseRegister()
2903 SMLoc LBracS = getLoc(); in parseRegister()
2907 SMLoc IntS = getLoc(); in parseRegister()
2912 SMLoc RBracS = getLoc(); in parseRegister()
3011 SMLoc S = getLoc(); in parseVectorList()
3023 SMLoc Loc = getLoc(); in parseVectorList()
3044 SMLoc Loc = getLoc(); in parseVectorList()
3080 SMLoc SIdx = getLoc(); in parseVectorList()
3092 SMLoc E = getLoc(); in parseVectorList()
3120 SMLoc S = getLoc(); in tryParseGPR64sp0Operand()
3167 SMLoc S, E; in parseOperand()
3170 SMLoc S = getLoc(); in parseOperand()
3175 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3180 SMLoc Loc = Parser.getTok().getLoc(); in parseOperand()
3213 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3261 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3266 SMLoc Loc = Parser.getTok().getLoc(); in parseOperand()
3283 E = SMLoc::getFromPointer(Loc.getPointer() - 1); in parseOperand()
3318 StringRef Name, SMLoc NameLoc, in ParseInstruction()
3373 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in ParseInstruction()
3389 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in ParseInstruction()
3442 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
3449 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
3460 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
3473 SmallVectorImpl<SMLoc> &Loc) { in validateInstruction()
3643 bool AArch64AsmParser::showMatchError(SMLoc Loc, unsigned ErrCode) { in showMatchError()
3773 bool AArch64AsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction()
3859 RegWidth == 32 ? AArch64::WZR : AArch64::XZR, false, SMLoc(), in MatchAndEmitInstruction()
3860 SMLoc(), getContext()); in MatchAndEmitInstruction()
4080 SmallVector<SMLoc, 8> OperandLocs; in MatchAndEmitInstruction()
4109 SMLoc ErrorLoc = IDLoc; in MatchAndEmitInstruction()
4116 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
4179 SMLoc ErrorLoc = ((AArch64Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
4180 if (ErrorLoc == SMLoc()) in MatchAndEmitInstruction()
4197 SMLoc Loc = DirectiveID.getLoc(); in ParseDirective()
4221 bool AArch64AsmParser::parseDirectiveWord(unsigned Size, SMLoc L) { in parseDirectiveWord()
4247 bool AArch64AsmParser::parseDirectiveInst(SMLoc Loc) { in parseDirectiveInst()
4288 bool AArch64AsmParser::parseDirectiveTLSDescCall(SMLoc L) { in parseDirectiveTLSDescCall()
4307 bool AArch64AsmParser::parseDirectiveLOH(StringRef IDVal, SMLoc Loc) { in parseDirectiveLOH()
4359 bool AArch64AsmParser::parseDirectiveLtorg(SMLoc L) { in parseDirectiveLtorg()
4366 bool AArch64AsmParser::parseDirectiveReq(StringRef Name, SMLoc L) { in parseDirectiveReq()
4369 SMLoc SRegLoc = getLoc(); in parseDirectiveReq()
4407 bool AArch64AsmParser::parseDirectiveUnreq(SMLoc L) { in parseDirectiveUnreq()
4547 SMLoc S = getLoc(); in tryParseGPRSeqPair()
4580 SMLoc M = getLoc(); in tryParseGPRSeqPair()
4588 SMLoc E = getLoc(); in tryParseGPRSeqPair()