Lines Matching refs:getTok

55   SMLoc getLoc() const { return getParser().getTok().getLoc(); }  in getLoc()
1980 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
2005 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryMatchVectorRegister()
2010 StringRef Name = Parser.getTok().getString(); in tryMatchVectorRegister()
2040 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryParseSysCROperand()
2045 StringRef Tok = Parser.getTok().getIdentifier(); in tryParseSysCROperand()
2069 const AsmToken &Tok = Parser.getTok(); in tryParsePrefetch()
2124 const AsmToken &Tok = Parser.getTok(); in tryParsePSBHint()
2153 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseAdrpLabel()
2204 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseAdrLabel()
2224 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseFPImm()
2231 if (Parser.getTok().is(AsmToken::Minus)) { in tryParseFPImm()
2235 const AsmToken &Tok = Parser.getTok(); in tryParseFPImm()
2287 if (Parser.getTok().is(AsmToken::Hash)) in tryParseAddSubImm()
2289 else if (Parser.getTok().isNot(AsmToken::Integer)) in tryParseAddSubImm()
2296 else if (Parser.getTok().isNot(AsmToken::Comma)) { in tryParseAddSubImm()
2306 SMLoc E = Parser.getTok().getLoc(); in tryParseAddSubImm()
2316 if (!Parser.getTok().is(AsmToken::Identifier) || in tryParseAddSubImm()
2317 !Parser.getTok().getIdentifier().equals_lower("lsl")) { in tryParseAddSubImm()
2318 Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate"); in tryParseAddSubImm()
2325 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseAddSubImm()
2329 if (Parser.getTok().isNot(AsmToken::Integer)) { in tryParseAddSubImm()
2330 Error(Parser.getTok().getLoc(), "only 'lsl #+N' valid after immediate"); in tryParseAddSubImm()
2334 int64_t ShiftAmount = Parser.getTok().getIntVal(); in tryParseAddSubImm()
2337 Error(Parser.getTok().getLoc(), "positive shift amount required"); in tryParseAddSubImm()
2342 SMLoc E = Parser.getTok().getLoc(); in tryParseAddSubImm()
2378 const AsmToken &Tok = Parser.getTok(); in parseCondCode()
2403 const AsmToken &Tok = Parser.getTok(); in tryParseOptionalShiftExtend()
2449 SMLoc E = Parser.getTok().getLoc(); in tryParseOptionalShiftExtend()
2450 if (!Parser.getTok().is(AsmToken::Integer) && in tryParseOptionalShiftExtend()
2451 !Parser.getTok().is(AsmToken::LParen)) { in tryParseOptionalShiftExtend()
2484 const AsmToken &Tok = Parser.getTok(); in parseSysAlias()
2744 const AsmToken &Tok = Parser.getTok(); in tryParseBarrierOperand()
2804 const AsmToken &Tok = Parser.getTok(); in tryParseSysReg()
2839 if (Parser.getTok().isNot(AsmToken::Identifier)) in tryParseVectorRegister()
2857 if (Parser.getTok().is(AsmToken::LBrac)) { in tryParseVectorRegister()
2871 if (Parser.getTok().isNot(AsmToken::RBrac)) { in tryParseVectorRegister()
2905 const AsmToken &Tok = Parser.getTok(); in parseRegister()
2934 if (Parser.getTok().is(AsmToken::Colon)) { in parseSymbolicImmVal()
2938 if (Parser.getTok().isNot(AsmToken::Identifier)) { in parseSymbolicImmVal()
2939 Error(Parser.getTok().getLoc(), in parseSymbolicImmVal()
2944 std::string LowerCase = Parser.getTok().getIdentifier().lower(); in parseSymbolicImmVal()
2984 Error(Parser.getTok().getLoc(), in parseSymbolicImmVal()
2991 if (Parser.getTok().isNot(AsmToken::Colon)) { in parseSymbolicImmVal()
2992 Error(Parser.getTok().getLoc(), "expect ':' after relocation specifier"); in parseSymbolicImmVal()
3010 assert(Parser.getTok().is(AsmToken::LCurly) && "Token is not a Left Bracket"); in parseVectorList()
3020 if (Parser.getTok().is(AsmToken::Minus)) { in parseVectorList()
3041 while (Parser.getTok().is(AsmToken::Comma)) { in parseVectorList()
3063 if (Parser.getTok().isNot(AsmToken::RCurly)) in parseVectorList()
3079 if (Parser.getTok().is(AsmToken::LBrac)) { in parseVectorList()
3093 if (Parser.getTok().isNot(AsmToken::RBrac)) { in parseVectorList()
3109 const AsmToken &Tok = Parser.getTok(); in tryParseGPR64sp0Operand()
3123 if (Parser.getTok().isNot(AsmToken::Comma)) { in tryParseGPR64sp0Operand()
3130 if (Parser.getTok().is(AsmToken::Hash)) in tryParseGPR64sp0Operand()
3133 if (Parser.getTok().isNot(AsmToken::Integer)) { in tryParseGPR64sp0Operand()
3180 SMLoc Loc = Parser.getTok().getLoc(); in parseOperand()
3227 if (Parser.getTok().is(AsmToken::Minus)) { in parseOperand()
3238 const AsmToken &Tok = Parser.getTok(); in parseOperand()
3266 SMLoc Loc = Parser.getTok().getLoc(); in parseOperand()
3343 if (Parser.getTok().is(AsmToken::Identifier) && in ParseInstruction()
3344 Parser.getTok().getIdentifier() == ".req") { in ParseInstruction()
3441 if (Parser.getTok().is(AsmToken::RBrac)) { in ParseInstruction()
3442 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
3448 if (Parser.getTok().is(AsmToken::Exclaim)) { in ParseInstruction()
3449 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
3460 SMLoc Loc = Parser.getTok().getLoc(); in ParseInstruction()
4311 if (getParser().getTok().isNot(AsmToken::Identifier)) { in parseDirectiveLOH()
4312 if (getParser().getTok().isNot(AsmToken::Integer)) in parseDirectiveLOH()
4316 int64_t Id = getParser().getTok().getIntVal(); in parseDirectiveLOH()
4321 StringRef Name = getTok().getIdentifier(); in parseDirectiveLOH()
4390 if (Parser.getTok().isNot(AsmToken::EndOfStatement)) { in parseDirectiveReq()
4391 Error(Parser.getTok().getLoc(), "unexpected input in .req directive"); in parseDirectiveReq()
4409 if (Parser.getTok().isNot(AsmToken::Identifier)) { in parseDirectiveUnreq()
4410 Error(Parser.getTok().getLoc(), "unexpected input in .unreq directive."); in parseDirectiveUnreq()
4414 RegisterReqs.erase(Parser.getTok().getIdentifier().lower()); in parseDirectiveUnreq()
4549 if (getParser().getTok().isNot(AsmToken::Identifier)) { in tryParseGPRSeqPair()
4581 if (getParser().getTok().isNot(AsmToken::Comma)) { in tryParseGPRSeqPair()