Lines Matching refs:getTok

829     StringRef RegName = Parser.getTok().getString();  in ParseAMDGPURegister()
952 const auto &Tok = Parser.getTok(); in parseRegister()
975 SMLoc S = Parser.getTok().getLoc(); in parseImm()
1039 if (getLexer().getKind() == AsmToken::Identifier && Parser.getTok().getString() == "abs") { in parseRegOrImmWithFPInputMods()
1043 Error(Parser.getTok().getLoc(), "expected left paren after abs"); in parseRegOrImmWithFPInputMods()
1051 Error(Parser.getTok().getLoc(), "expected register or immediate"); in parseRegOrImmWithFPInputMods()
1069 Error(Parser.getTok().getLoc(), "expected vertical bar"); in parseRegOrImmWithFPInputMods()
1077 Error(Parser.getTok().getLoc(), "expected closing parentheses"); in parseRegOrImmWithFPInputMods()
1095 if (getLexer().getKind() == AsmToken::Identifier && Parser.getTok().getString() == "sext") { in parseRegOrImmWithIntInputMods()
1099 Error(Parser.getTok().getLoc(), "expected left paren after sext"); in parseRegOrImmWithIntInputMods()
1113 Error(Parser.getTok().getLoc(), "expected closing parentheses"); in parseRegOrImmWithIntInputMods()
1188 Major = getLexer().getTok().getIntVal(); in ParseDirectiveMajorMinor()
1198 Minor = getLexer().getTok().getIntVal(); in ParseDirectiveMajorMinor()
1245 Stepping = getLexer().getTok().getIntVal(); in ParseDirectiveHSACodeObjectISA()
1255 VendorName = getLexer().getTok().getStringContents(); in ParseDirectiveHSACodeObjectISA()
1265 ArchName = getLexer().getTok().getStringContents(); in ParseDirectiveHSACodeObjectISA()
1299 StringRef ID = getLexer().getTok().getIdentifier(); in ParseDirectiveAMDKernelCodeT()
1324 StringRef KernelName = Parser.getTok().getString(); in ParseDirectiveAMDGPUHsaKernel()
1336 StringRef GlobalName = Parser.getTok().getIdentifier(); in ParseDirectiveAMDGPUHsaModuleGlobal()
1347 StringRef GlobalName = Parser.getTok().getIdentifier(); in ParseDirectiveAMDGPUHsaProgramGlobal()
1463 const auto &Tok = Parser.getTok(); in parseOperand()
1543 StringRef Name = Parser.getTok().getString(); in parseIntWithPrefix()
1569 SMLoc S = Parser.getTok().getLoc(); in parseIntWithPrefix()
1588 SMLoc S = Parser.getTok().getLoc(); in parseNamedBit()
1595 StringRef Tok = Parser.getTok().getString(); in parseNamedBit()
1635 StringRef Tok = Parser.getTok().getString(); in parseStringWithPrefix()
1650 Value = Parser.getTok().getString(); in parseStringWithPrefix()
1721 StringRef CntName = Parser.getTok().getString(); in parseCnt()
1770 SMLoc S = Parser.getTok().getLoc(); in parseSWaitCntOps()
1794 if (Parser.getTok().getString() != "hwreg") in parseHwregConstruct()
1805 const StringRef tok = Parser.getTok().getString(); in parseHwregConstruct()
1857 SMLoc S = Parser.getTok().getLoc(); in parseHwreg()
1907 if (Parser.getTok().getString() != "sendmsg") in parseSendMsgConstruct()
1918 const std::string tok = Parser.getTok().getString(); in parseSendMsgConstruct()
1961 const StringRef Tok = Parser.getTok().getString(); in parseSendMsgConstruct()
2005 SMLoc S = Parser.getTok().getLoc(); in parseSendMsgOp()
2089 SMLoc S = Parser.getTok().getLoc(); in parseSOppBrTarget()
2104 Parser.getTok().getString()), getContext()), S)); in parseSOppBrTarget()
2381 StringRef Name = Parser.getTok().getString(); in parseOModOperand()
2460 SMLoc S = Parser.getTok().getLoc(); in parseDPPCtrl()
2465 Prefix = Parser.getTok().getString(); in parseDPPCtrl()
2501 Int = getLexer().getTok().getIntVal(); in parseDPPCtrl()
2509 Int += (getLexer().getTok().getIntVal() << 2); in parseDPPCtrl()
2517 Int += (getLexer().getTok().getIntVal() << 4); in parseDPPCtrl()
2525 Int += (getLexer().getTok().getIntVal() << 6); in parseDPPCtrl()
2536 Int = getLexer().getTok().getIntVal(); in parseDPPCtrl()
2621 SMLoc S = Parser.getTok().getLoc(); in parseSDWASel()
2652 SMLoc S = Parser.getTok().getLoc(); in parseSDWADstUnused()