Lines Matching defs:AsmParser
87 const AMDGPUAsmParser *AsmParser;
91 : MCParsedAsmOperand(), Kind(Kind_), AsmParser(AsmParser_) {}
899 static AMDGPUOperand::Ptr CreateImm(const AMDGPUAsmParser *AsmParser,
903 auto Op = std::make_unique<AMDGPUOperand>(Immediate, AsmParser);
913 static AMDGPUOperand::Ptr CreateToken(const AMDGPUAsmParser *AsmParser,
916 auto Res = std::make_unique<AMDGPUOperand>(Token, AsmParser);
924 static AMDGPUOperand::Ptr CreateReg(const AMDGPUAsmParser *AsmParser,
927 auto Op = std::make_unique<AMDGPUOperand>(Register, AsmParser);
935 static AMDGPUOperand::Ptr CreateExpr(const AMDGPUAsmParser *AsmParser,
937 auto Op = std::make_unique<AMDGPUOperand>(Expression, AsmParser);
951 // AsmParser
1127 // AsmParser::parseDirectiveSet() cannot be specialized for specific target.
1582 AsmParser->hasInv2PiInlineImm());
1592 type, AsmParser->hasInv2PiInlineImm());
1598 AsmParser->hasInv2PiInlineImm());
1604 AsmParser->hasInv2PiInlineImm());
1614 type, AsmParser->hasInv2PiInlineImm());
1619 AsmParser->hasInv2PiInlineImm());
1670 return isRegKind() && AsmParser->getMRI()->getRegClass(RCID).contains(getReg());
1674 if (AsmParser->isVI())
1676 else if (AsmParser->isGFX9() || AsmParser->isGFX10())
1699 return (AsmParser->getFeatureBits()[AMDGPU::FeatureWavefrontSize64] && isSCSrcB64()) ||
1700 (AsmParser->getFeatureBits()[AMDGPU::FeatureWavefrontSize32] && isSCSrcB32());
1721 if (AMDGPU::isSISrcOperand(AsmParser->getMII()->get(Inst.getOpcode()),
1733 const auto& InstDesc = AsmParser->getMII()->get(Inst.getOpcode());
1754 AsmParser->hasInv2PiInlineImm())) {
1763 const_cast<AMDGPUAsmParser *>(AsmParser)->Warning(Inst.getLoc(),
1827 AsmParser->hasInv2PiInlineImm())) {
1839 if (AMDGPU::isInlinableLiteral64(Val, AsmParser->hasInv2PiInlineImm())) {
1855 AsmParser->hasInv2PiInlineImm())) {
1869 AsmParser->hasInv2PiInlineImm()));
1897 Inst.addOperand(MCOperand::createReg(AMDGPU::getMCReg(getReg(), AsmParser->getSTI())));
1924 // AsmParser