Lines Matching refs:AMDGPUOperand

59 class AMDGPUOperand : public MCParsedAsmOperand {  class
71 AMDGPUOperand(KindTy Kind_, const AMDGPUAsmParser *AsmParser_) in AMDGPUOperand() function in __anon6862249c0111::AMDGPUOperand
74 using Ptr = std::unique_ptr<AMDGPUOperand>;
109 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
947 auto getPredicate(std::function<bool(const AMDGPUOperand &Op)> P) const { in getPredicate()
1154 static AMDGPUOperand::Ptr CreateImm(const AMDGPUAsmParser *AsmParser, in CreateImm()
1158 auto Op = std::make_unique<AMDGPUOperand>(Immediate, AsmParser); in CreateImm()
1169 static AMDGPUOperand::Ptr CreateToken(const AMDGPUAsmParser *AsmParser, in CreateToken()
1172 auto Res = std::make_unique<AMDGPUOperand>(Token, AsmParser); in CreateToken()
1180 static AMDGPUOperand::Ptr CreateReg(const AMDGPUAsmParser *AsmParser, in CreateReg()
1183 auto Op = std::make_unique<AMDGPUOperand>(Register, AsmParser); in CreateReg()
1191 static AMDGPUOperand::Ptr CreateExpr(const AMDGPUAsmParser *AsmParser, in CreateExpr()
1193 auto Op = std::make_unique<AMDGPUOperand>(Expression, AsmParser); in CreateExpr()
1201 raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods) { in operator <<()
1396 using OptionalImmIndexMap = std::map<AMDGPUOperand::ImmTy, unsigned>;
1577 std::unique_ptr<AMDGPUOperand> parseRegister(bool RestoreOnFailure = false);
1604 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1609 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1614 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone);
1641 AMDGPUOperand::ImmTy ImmTy);
1724 SMLoc getOperandLoc(std::function<bool(const AMDGPUOperand&)> Test,
1726 SMLoc getImmLoc(AMDGPUOperand::ImmTy Type, const OperandVector &Operands) const;
1880 AMDGPUOperand::ImmTy Type);
2007 bool AMDGPUOperand::isInlinableImm(MVT type) const { in isInlinableImm()
2091 bool AMDGPUOperand::isLiteralImm(MVT type) const { in isLiteralImm()
2144 bool AMDGPUOperand::isRegClass(unsigned RCID) const { in isRegClass()
2148 bool AMDGPUOperand::isVRegWithInputMods() const { in isVRegWithInputMods()
2155 template <bool IsFake16> bool AMDGPUOperand::isT16VRegWithInputMods() const { in isT16VRegWithInputMods()
2160 bool AMDGPUOperand::isSDWAOperand(MVT type) const { in isSDWAOperand()
2168 bool AMDGPUOperand::isSDWAFP16Operand() const { in isSDWAFP16Operand()
2172 bool AMDGPUOperand::isSDWAFP32Operand() const { in isSDWAFP32Operand()
2176 bool AMDGPUOperand::isSDWAInt16Operand() const { in isSDWAInt16Operand()
2180 bool AMDGPUOperand::isSDWAInt32Operand() const { in isSDWAInt32Operand()
2184 bool AMDGPUOperand::isBoolReg() const { in isBoolReg()
2190 uint64_t AMDGPUOperand::applyInputFPModifiers(uint64_t Val, unsigned Size) const in applyInputFPModifiers()
2207 void AMDGPUOperand::addImmOperands(MCInst &Inst, unsigned N, bool ApplyModifiers) const { in addImmOperands()
2225 void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyModifiers) const { in addLiteralImmOperand()
2477 void AMDGPUOperand::addRegOperands(MCInst &Inst, unsigned N) const { in addRegOperands()
2481 bool AMDGPUOperand::isInlineValue() const { in isInlineValue()
3104 std::unique_ptr<AMDGPUOperand>
3120 return AMDGPUOperand::CreateReg(this, Reg, StartLoc, EndLoc); in parseRegister()
3156 AMDGPUOperand::Modifiers Mods; in parseImm()
3175 AMDGPUOperand::CreateImm(this, RealVal.bitcastToAPInt().getZExtValue(), S, in parseImm()
3176 AMDGPUOperand::ImmTyNone, true)); in parseImm()
3177 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseImm()
3204 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S)); in parseImm()
3205 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseImm()
3210 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S)); in parseImm()
3384 AMDGPUOperand::Modifiers Mods; in parseRegOrImmWithFPInputMods()
3390 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseRegOrImmWithFPInputMods()
3417 AMDGPUOperand::Modifiers Mods; in parseRegOrImmWithIntInputMods()
3421 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseRegOrImmWithIntInputMods()
3441 Operands.push_back(AMDGPUOperand::CreateImm(this, 0, Loc, in parseVReg32OrOff()
3442 AMDGPUOperand::ImmTyOff, false)); in parseVReg32OrOff()
3449 std::unique_ptr<AMDGPUOperand> Reg = parseRegister(); in parseVReg32OrOff()
3829 auto Loc = ((AMDGPUOperand &)*Operands[ParsedIdx]).getStartLoc(); in validateVOPDRegBankConstraints()
4372 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getFlatOffsetLoc()
4450 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getSMEMOffsetLoc()
4611 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyDppCtrl, Operands); in validateDPP()
4790 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getBLGPLoc()
4868 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyGDS, Operands); in validateDS()
4919 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4934 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4954 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4977 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateTHAndScopeBits()
5042 SMLoc Loc = getImmLoc(AMDGPUOperand::ImmTyTFE, Operands); in validateTFE()
5074 Error(getImmLoc(AMDGPUOperand::ImmTyClamp, Operands), in validateInstruction()
5079 Error(getImmLoc(AMDGPUOperand::ImmTyOpSel, Operands), in validateInstruction()
5084 Error(getImmLoc(AMDGPUOperand::ImmTyNegLo, Operands), in validateInstruction()
5089 Error(getImmLoc(AMDGPUOperand::ImmTyNegHi, Operands), in validateInstruction()
5098 Error(getImmLoc(AMDGPUOperand::ImmTyD16, Operands), in validateInstruction()
5103 Error(getImmLoc(AMDGPUOperand::ImmTyDim, Operands), in validateInstruction()
5113 Error(getImmLoc(AMDGPUOperand::ImmTyDMask, Operands), in validateInstruction()
5118 Error(getImmLoc(AMDGPUOperand::ImmTyDMask, Operands), in validateInstruction()
5250 const auto &Op = ((AMDGPUOperand &)*Operands[InvalidOprIdx]); in isInvalidVOPDY()
5252 const auto &PrevOp = ((AMDGPUOperand &)*Operands[InvalidOprIdx - 1]); in isInvalidVOPDY()
5292 StringRef Mnemo = ((AMDGPUOperand &)*Operands[0]).getToken(); in MatchAndEmitInstruction()
5311 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
6317 AMDGPUOperand::CreateToken(this, "[", LBraceLoc)); in parseOperand()
6318 Operands.push_back(AMDGPUOperand::CreateToken(this, "]", RBraceLoc)); in parseOperand()
6371 Operands.push_back(AMDGPUOperand::CreateToken(this, Name, NameLoc)); in ParseInstruction()
6412 Operands.push_back(AMDGPUOperand::CreateToken(this, Name, S)); in parseTokenOp()
6426 const char *Prefix, OperandVector &Operands, AMDGPUOperand::ImmTy ImmTy, in parseIntWithPrefix()
6439 Operands.push_back(AMDGPUOperand::CreateImm(this, Value, S, ImmTy)); in parseIntWithPrefix()
6444 const char *Prefix, OperandVector &Operands, AMDGPUOperand::ImmTy ImmTy, in parseOperandArrayWithPrefix()
6479 Operands.push_back(AMDGPUOperand::CreateImm(this, Val, S, ImmTy)); in parseOperandArrayWithPrefix()
6485 AMDGPUOperand::ImmTy ImmTy) { in parseNamedBit()
6502 if (isGFX9() && ImmTy == AMDGPUOperand::ImmTyA16) in parseNamedBit()
6503 ImmTy = AMDGPUOperand::ImmTyR128A16; in parseNamedBit()
6505 Operands.push_back(AMDGPUOperand::CreateImm(this, Bit, S, ImmTy)); in parseNamedBit()
6566 Operands.push_back(AMDGPUOperand::CreateImm(this, CPolVal, StringLoc, in parseCPol()
6567 AMDGPUOperand::ImmTyCPol)); in parseCPol()
6571 StringRef Mnemo = ((AMDGPUOperand &)*Operands[0]).getToken(); in parseCPol()
6602 AMDGPUOperand::CreateImm(this, Enabled, OpLoc, AMDGPUOperand::ImmTyCPol)); in parseCPol()
6695 AMDGPUOperand::ImmTy ImmT, in addOptionalImmOperand()
6700 ((AMDGPUOperand &)*Operands[Idx]).addImmOperands(Inst, 1); in addOptionalImmOperand()
6743 AMDGPUOperand::ImmTy ImmTy) { in tryParseIndexKey()
6751 if (ImmTy == AMDGPUOperand::ImmTyIndexKey16bit && (ImmVal < 0 || ImmVal > 1)) in tryParseIndexKey()
6754 if (ImmTy == AMDGPUOperand::ImmTyIndexKey8bit && (ImmVal < 0 || ImmVal > 3)) in tryParseIndexKey()
6757 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, ImmTy)); in tryParseIndexKey()
6762 return tryParseIndexKey(Operands, AMDGPUOperand::ImmTyIndexKey8bit); in parseIndexKey8bit()
6766 return tryParseIndexKey(Operands, AMDGPUOperand::ImmTyIndexKey16bit); in parseIndexKey16bit()
6948 AMDGPUOperand::CreateImm(this, Format, Loc, AMDGPUOperand::ImmTyFORMAT)); in parseFORMAT()
6972 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands[Size - 2]); in parseFORMAT()
6973 assert(Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyFORMAT); in parseFORMAT()
6986 parseIntWithPrefix("offset", Operands, AMDGPUOperand::ImmTyOffset); in parseFlatOffset()
6989 AMDGPUOperand::ImmTyInstOffset); in parseFlatOffset()
6996 parseNamedBit("r128", Operands, AMDGPUOperand::ImmTyR128A16); in parseR128A16()
6998 Res = parseNamedBit("a16", Operands, AMDGPUOperand::ImmTyA16); in parseR128A16()
7004 parseIntWithPrefix("blgp", Operands, AMDGPUOperand::ImmTyBLGP); in parseBLGP()
7007 parseOperandArrayWithPrefix("neg", Operands, AMDGPUOperand::ImmTyBLGP); in parseBLGP()
7024 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtExp()
7043 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyExpTgt) { in cvtExp()
7058 if (OptionalIdx.find(AMDGPUOperand::ImmTyExpCompr) != OptionalIdx.end()) { in cvtExp()
7071 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpVM); in cvtExp()
7072 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpCompr); in cvtExp()
7166 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S)); in parseSWaitCnt()
7246 Operands.push_back(AMDGPUOperand::CreateImm(this, Delay, S)); in parseSDelayALU()
7251 AMDGPUOperand::isSWaitCnt() const { in isSWaitCnt()
7255 bool AMDGPUOperand::isSDelayALU() const { return isImm(); } in isSDelayALU()
7336 Operands.push_back(AMDGPUOperand::CreateImm(this, DepCtr, Loc)); in parseDepCtr()
7340 bool AMDGPUOperand::isDepCtr() const { return isS16Imm(); } in isDepCtr()
7425 AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTyHwreg)); in parseHwreg()
7429 bool AMDGPUOperand::isHwreg() const { in isHwreg()
7546 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTySendMsg)); in parseSendMsg()
7550 bool AMDGPUOperand::isSendMsg() const { in isSendMsg()
7574 Operands.push_back(AMDGPUOperand::CreateImm(this, Slot, S, in parseInterpSlot()
7575 AMDGPUOperand::ImmTyInterpSlot)); in parseInterpSlot()
7610 Operands.push_back(AMDGPUOperand::CreateImm(this, Attr, S, in parseInterpAttr()
7611 AMDGPUOperand::ImmTyInterpAttr)); in parseInterpAttr()
7612 Operands.push_back(AMDGPUOperand::CreateImm( in parseInterpAttr()
7613 this, AttrChan, SChan, AMDGPUOperand::ImmTyInterpAttrChan)); in parseInterpAttr()
7636 Operands.push_back(AMDGPUOperand::CreateImm(this, Id, S, in parseExpTgt()
7637 AMDGPUOperand::ImmTyExpTgt)); in parseExpTgt()
7744 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S)); in parseExpr()
7746 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S)); in parseExpr()
7814 return ((AMDGPUOperand &)*Operands[0]).getStartLoc(); in getInstLoc()
7818 AMDGPUAsmParser::getOperandLoc(std::function<bool(const AMDGPUOperand&)> Test, in getOperandLoc()
7821 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getOperandLoc()
7829 AMDGPUAsmParser::getImmLoc(AMDGPUOperand::ImmTy Type, in getImmLoc()
7831 auto Test = [=](const AMDGPUOperand& Op) { return Op.isImmTy(Type); }; in getImmLoc()
7838 auto Test = [=](const AMDGPUOperand& Op) { in getRegLoc()
7846 auto Test = [](const AMDGPUOperand& Op) { in getLitLoc()
7856 auto Test = [](const AMDGPUOperand &Op) { in getMandatoryLitLoc()
7864 auto Test = [](const AMDGPUOperand& Op) { in getConstLoc()
8158 Operands.push_back(AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTySwizzle)); in parseSwizzle()
8166 AMDGPUOperand::isSwizzle() const { in isSwizzle()
8237 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyGprIdxMode)); in parseGPRIdxMode()
8241 bool AMDGPUOperand::isGPRIdxMode() const { in isGPRIdxMode()
8260 AMDGPUOperand &Opr = ((AMDGPUOperand &)*Operands[Operands.size() - 1]); in parseSOPPBrTarget()
8300 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtMubufImpl()
8314 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyNone) { in cvtMubufImpl()
8330 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOffset); in cvtMubufImpl()
8331 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyCPol, 0); in cvtMubufImpl()
8338 bool AMDGPUOperand::isSMRDOffset8() const { in isSMRDOffset8()
8342 bool AMDGPUOperand::isSMEMOffset() const { in isSMEMOffset()
8347 bool AMDGPUOperand::isSMRDLiteralOffset() const { in isSMRDLiteralOffset()
8465 AMDGPUOperand::ImmTyOModSI, ConvertOmodMul); in parseOModSI()
8470 AMDGPUOperand::ImmTyOModSI, ConvertOmodDiv); in parseOModSI()
8546 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3Interp()
8550 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3Interp()
8565 AMDGPUOperand::ImmTyHigh); in cvtVOP3Interp()
8569 AMDGPUOperand::ImmTyClamp); in cvtVOP3Interp()
8573 AMDGPUOperand::ImmTyOModSI); in cvtVOP3Interp()
8584 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVINTERP()
8588 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVINTERP()
8598 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClamp); in cvtVINTERP()
8602 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOpSel); in cvtVINTERP()
8604 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyWaitEXP); in cvtVINTERP()
8643 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3()
8647 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3()
8663 AMDGPUOperand::ImmTyByteSel); in cvtVOP3()
8668 AMDGPUOperand::ImmTyClamp); in cvtVOP3()
8672 AMDGPUOperand::ImmTyOModSI); in cvtVOP3()
8728 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSel); in cvtVOP3P()
8734 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSelHi, in cvtVOP3P()
8740 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegLo); in cvtVOP3P()
8744 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegHi); in cvtVOP3P()
8816 ((AMDGPUOperand &)*Operands[i]).addRegOrImmWithFPInputModsOperands(Inst, 2); in addSrcModifiersAndSrc()
8818 ((AMDGPUOperand &)*Operands[i]).addRegOperands(Inst, 1); in addSrcModifiersAndSrc()
8824 ((AMDGPUOperand &)*Operands[1]).addRegOperands(Inst, 1); in cvtSWMMAC()
8827 ((AMDGPUOperand &)*Operands[1]).addRegOperands(Inst, 1); // srcTiedDef in cvtSWMMAC()
8828 ((AMDGPUOperand &)*Operands[4]).addRegOperands(Inst, 1); // src2 in cvtSWMMAC()
8832 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtSWMMAC()
8838 AMDGPUOperand::ImmTyIndexKey8bit); in cvtSWMMAC()
8842 AMDGPUOperand::ImmTyIndexKey16bit); in cvtSWMMAC()
8845 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyClamp); in cvtSWMMAC()
8862 Operands.push_back(AMDGPUOperand::CreateToken(this, "::", S)); in parseVOPD()
8866 Operands.push_back(AMDGPUOperand::CreateToken(this, OpYName, OpYLoc)); in parseVOPD()
8877 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[ParsedOprIdx]); in cvtVOPD()
8912 bool AMDGPUOperand::isDPP8() const { in isDPP8()
8916 bool AMDGPUOperand::isDPPCtrl() const { in isDPPCtrl()
8944 bool AMDGPUOperand::isBLGP() const { in isBLGP()
8948 bool AMDGPUOperand::isS16Imm() const { in isS16Imm()
8952 bool AMDGPUOperand::isU16Imm() const { in isU16Imm()
9003 Operands.push_back(AMDGPUOperand::CreateImm(this, Encoding, S, in parseDim()
9004 AMDGPUOperand::ImmTyDim)); in parseDim()
9043 Operands.push_back(AMDGPUOperand::CreateImm(this, DPP8, S, AMDGPUOperand::ImmTyDPP8)); in parseDPP8()
9181 AMDGPUOperand::CreateImm(this, Val, S, AMDGPUOperand::ImmTyDppCtrl)); in parseDPPCtrl()
9202 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3DPP()
9244 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3DPP()
9265 AMDGPUOperand::ImmTyByteSel); in cvtVOP3DPP()
9269 AMDGPUOperand::ImmTyClamp); in cvtVOP3DPP()
9272 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI); in cvtVOP3DPP()
9279 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOpSel); in cvtVOP3DPP()
9283 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDPP8); in cvtVOP3DPP()
9287 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppCtrl, 0xe4); in cvtVOP3DPP()
9288 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppRowMask, 0xf); in cvtVOP3DPP()
9289 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBankMask, 0xf); in cvtVOP3DPP()
9290 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBoundCtrl); in cvtVOP3DPP()
9294 AMDGPUOperand::ImmTyDppFI); in cvtVOP3DPP()
9304 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtDPP()
9316 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtDPP()
9356 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppRowMask, 0xf); in cvtDPP()
9357 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBankMask, 0xf); in cvtDPP()
9358 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBoundCtrl); in cvtDPP()
9361 AMDGPUOperand::ImmTyDppFI); in cvtDPP()
9372 AMDGPUOperand::ImmTy Type) { in parseSDWASel()
9397 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, Type)); in parseSDWASel()
9422 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTySDWADstUnused)); in parseSDWADstUnused()
9459 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtSDWA()
9463 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtSDWA()
9501 AMDGPUOperand::ImmTyClamp, 0); in cvtSDWA()
9505 AMDGPUOperand::ImmTyOModSI, 0); in cvtSDWA()
9509 AMDGPUOperand::ImmTySDWADstSel, SdwaSel::DWORD); in cvtSDWA()
9513 AMDGPUOperand::ImmTySDWADstUnused, in cvtSDWA()
9516 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9521 AMDGPUOperand::ImmTyClamp, 0); in cvtSDWA()
9524 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI, 0); in cvtSDWA()
9526 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWADstSel, SdwaSel::DWORD); in cvtSDWA()
9527 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWADstUnused, DstUnused::U… in cvtSDWA()
9528 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9529 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc1Sel, SdwaSel::DWORD… in cvtSDWA()
9535 AMDGPUOperand::ImmTyClamp, 0); in cvtSDWA()
9536 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9537 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc1Sel, SdwaSel::DWORD… in cvtSDWA()
9586 return parseNamedBit("gds", Operands, AMDGPUOperand::ImmTyGDS); in parseCustomOperand()
9588 return parseNamedBit("tfe", Operands, AMDGPUOperand::ImmTyTFE); in parseCustomOperand()
9601 AMDGPUOperand &Operand = (AMDGPUOperand&)Op; in validateTargetOperandClass()
9665 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyEndpgm)); in parseEndpgm()
9669 bool AMDGPUOperand::isEndpgm() const { return isImmTy(ImmTyEndpgm); } in isEndpgm()
9675 bool AMDGPUOperand::isSplitBarrier() const { return isInlinableImm(MVT::i32); } in isSplitBarrier()