Lines Matching refs:AMDGPUOperand

57 class AMDGPUOperand : public MCParsedAsmOperand {  class
69 AMDGPUOperand(KindTy Kind_, const AMDGPUAsmParser *AsmParser_) in AMDGPUOperand() function in __anoneb28f2920111::AMDGPUOperand
72 using Ptr = std::unique_ptr<AMDGPUOperand>;
109 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
937 auto getPredicate(std::function<bool(const AMDGPUOperand &Op)> P) const { in getPredicate()
1143 static AMDGPUOperand::Ptr CreateImm(const AMDGPUAsmParser *AsmParser, in CreateImm()
1147 auto Op = std::make_unique<AMDGPUOperand>(Immediate, AsmParser); in CreateImm()
1158 static AMDGPUOperand::Ptr CreateToken(const AMDGPUAsmParser *AsmParser, in CreateToken()
1161 auto Res = std::make_unique<AMDGPUOperand>(Token, AsmParser); in CreateToken()
1169 static AMDGPUOperand::Ptr CreateReg(const AMDGPUAsmParser *AsmParser, in CreateReg()
1172 auto Op = std::make_unique<AMDGPUOperand>(Register, AsmParser); in CreateReg()
1180 static AMDGPUOperand::Ptr CreateExpr(const AMDGPUAsmParser *AsmParser, in CreateExpr()
1182 auto Op = std::make_unique<AMDGPUOperand>(Expression, AsmParser); in CreateExpr()
1190 raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods) { in operator <<()
1386 using OptionalImmIndexMap = std::map<AMDGPUOperand::ImmTy, unsigned>;
1566 std::unique_ptr<AMDGPUOperand> parseRegister(bool RestoreOnFailure = false);
1593 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1598 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1603 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone);
1630 AMDGPUOperand::ImmTy ImmTy);
1689 SMLoc getOperandLoc(std::function<bool(const AMDGPUOperand&)> Test,
1691 SMLoc getImmLoc(AMDGPUOperand::ImmTy Type, const OperandVector &Operands) const;
1844 AMDGPUOperand::ImmTy Type);
1959 bool AMDGPUOperand::isInlinableImm(MVT type) const { in isInlinableImm()
2022 bool AMDGPUOperand::isLiteralImm(MVT type) const { in isLiteralImm()
2075 bool AMDGPUOperand::isRegClass(unsigned RCID) const { in isRegClass()
2079 bool AMDGPUOperand::isVRegWithInputMods() const { in isVRegWithInputMods()
2086 template <bool IsFake16> bool AMDGPUOperand::isT16VRegWithInputMods() const { in isT16VRegWithInputMods()
2091 bool AMDGPUOperand::isSDWAOperand(MVT type) const { in isSDWAOperand()
2100 bool AMDGPUOperand::isSDWAFP16Operand() const { in isSDWAFP16Operand()
2104 bool AMDGPUOperand::isSDWAFP32Operand() const { in isSDWAFP32Operand()
2108 bool AMDGPUOperand::isSDWAInt16Operand() const { in isSDWAInt16Operand()
2112 bool AMDGPUOperand::isSDWAInt32Operand() const { in isSDWAInt32Operand()
2116 bool AMDGPUOperand::isBoolReg() const { in isBoolReg()
2122 uint64_t AMDGPUOperand::applyInputFPModifiers(uint64_t Val, unsigned Size) const in applyInputFPModifiers()
2139 void AMDGPUOperand::addImmOperands(MCInst &Inst, unsigned N, bool ApplyModifiers) const { in addImmOperands()
2157 void AMDGPUOperand::addLiteralImmOperand(MCInst &Inst, int64_t Val, bool ApplyModifiers) const { in addLiteralImmOperand()
2347 void AMDGPUOperand::addRegOperands(MCInst &Inst, unsigned N) const { in addRegOperands()
2351 bool AMDGPUOperand::isInlineValue() const { in isInlineValue()
2964 std::unique_ptr<AMDGPUOperand>
2980 return AMDGPUOperand::CreateReg(this, Reg, StartLoc, EndLoc); in parseRegister()
3016 AMDGPUOperand::Modifiers Mods; in parseImm()
3035 AMDGPUOperand::CreateImm(this, RealVal.bitcastToAPInt().getZExtValue(), S, in parseImm()
3036 AMDGPUOperand::ImmTyNone, true)); in parseImm()
3037 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseImm()
3064 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S)); in parseImm()
3065 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseImm()
3070 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S)); in parseImm()
3244 AMDGPUOperand::Modifiers Mods; in parseRegOrImmWithFPInputMods()
3250 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseRegOrImmWithFPInputMods()
3277 AMDGPUOperand::Modifiers Mods; in parseRegOrImmWithIntInputMods()
3281 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back()); in parseRegOrImmWithIntInputMods()
3301 Operands.push_back(AMDGPUOperand::CreateImm(this, 0, Loc, in parseVReg32OrOff()
3302 AMDGPUOperand::ImmTyOff, false)); in parseVReg32OrOff()
3309 std::unique_ptr<AMDGPUOperand> Reg = parseRegister(); in parseVReg32OrOff()
3660 auto Loc = ((AMDGPUOperand &)*Operands[ParsedIdx]).getStartLoc(); in validateVOPDRegBankConstraints()
4202 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getFlatOffsetLoc()
4280 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getSMEMOffsetLoc()
4441 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyDppCtrl, Operands); in validateDPP()
4457 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[Src1Idx]); in validateDPP()
4615 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getBLGPLoc()
4693 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyGDS, Operands); in validateDS()
4744 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4759 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4779 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateCoherencyBits()
4802 SMLoc S = getImmLoc(AMDGPUOperand::ImmTyCPol, Operands); in validateTHAndScopeBits()
4867 SMLoc Loc = getImmLoc(AMDGPUOperand::ImmTyTFE, Operands); in validateTFE()
4899 Error(getImmLoc(AMDGPUOperand::ImmTyClampSI, Operands), in validateInstruction()
4904 Error(getImmLoc(AMDGPUOperand::ImmTyOpSel, Operands), in validateInstruction()
4909 Error(getImmLoc(AMDGPUOperand::ImmTyNegLo, Operands), in validateInstruction()
4914 Error(getImmLoc(AMDGPUOperand::ImmTyNegHi, Operands), in validateInstruction()
4923 Error(getImmLoc(AMDGPUOperand::ImmTyD16, Operands), in validateInstruction()
4928 Error(getImmLoc(AMDGPUOperand::ImmTyDim, Operands), in validateInstruction()
4938 Error(getImmLoc(AMDGPUOperand::ImmTyDMask, Operands), in validateInstruction()
4943 Error(getImmLoc(AMDGPUOperand::ImmTyDMask, Operands), in validateInstruction()
5075 const auto &Op = ((AMDGPUOperand &)*Operands[InvalidOprIdx]); in isInvalidVOPDY()
5077 const auto &PrevOp = ((AMDGPUOperand &)*Operands[InvalidOprIdx - 1]); in isInvalidVOPDY()
5121 StringRef Mnemo = ((AMDGPUOperand &)*Operands[0]).getToken(); in MatchAndEmitInstruction()
5140 ErrorLoc = ((AMDGPUOperand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
6080 AMDGPUOperand::CreateToken(this, "[", LBraceLoc)); in parseOperand()
6081 Operands.push_back(AMDGPUOperand::CreateToken(this, "]", RBraceLoc)); in parseOperand()
6130 Operands.push_back(AMDGPUOperand::CreateToken(this, Name, NameLoc)); in ParseInstruction()
6171 Operands.push_back(AMDGPUOperand::CreateToken(this, Name, S)); in parseTokenOp()
6185 const char *Prefix, OperandVector &Operands, AMDGPUOperand::ImmTy ImmTy, in parseIntWithPrefix()
6198 Operands.push_back(AMDGPUOperand::CreateImm(this, Value, S, ImmTy)); in parseIntWithPrefix()
6203 const char *Prefix, OperandVector &Operands, AMDGPUOperand::ImmTy ImmTy, in parseOperandArrayWithPrefix()
6238 Operands.push_back(AMDGPUOperand::CreateImm(this, Val, S, ImmTy)); in parseOperandArrayWithPrefix()
6244 AMDGPUOperand::ImmTy ImmTy) { in parseNamedBit()
6261 if (isGFX9() && ImmTy == AMDGPUOperand::ImmTyA16) in parseNamedBit()
6262 ImmTy = AMDGPUOperand::ImmTyR128A16; in parseNamedBit()
6264 Operands.push_back(AMDGPUOperand::CreateImm(this, Bit, S, ImmTy)); in parseNamedBit()
6325 Operands.push_back(AMDGPUOperand::CreateImm(this, CPolVal, StringLoc, in parseCPol()
6326 AMDGPUOperand::ImmTyCPol)); in parseCPol()
6330 StringRef Mnemo = ((AMDGPUOperand &)*Operands[0]).getToken(); in parseCPol()
6361 AMDGPUOperand::CreateImm(this, Enabled, OpLoc, AMDGPUOperand::ImmTyCPol)); in parseCPol()
6457 AMDGPUOperand::ImmTy ImmT, in addOptionalImmOperand()
6462 ((AMDGPUOperand &)*Operands[Idx]).addImmOperands(Inst, 1); in addOptionalImmOperand()
6505 AMDGPUOperand::ImmTy ImmTy) { in tryParseIndexKey()
6513 if (ImmTy == AMDGPUOperand::ImmTyIndexKey16bit && (ImmVal < 0 || ImmVal > 1)) in tryParseIndexKey()
6516 if (ImmTy == AMDGPUOperand::ImmTyIndexKey8bit && (ImmVal < 0 || ImmVal > 3)) in tryParseIndexKey()
6519 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, ImmTy)); in tryParseIndexKey()
6524 return tryParseIndexKey(Operands, AMDGPUOperand::ImmTyIndexKey8bit); in parseIndexKey8bit()
6528 return tryParseIndexKey(Operands, AMDGPUOperand::ImmTyIndexKey16bit); in parseIndexKey16bit()
6710 AMDGPUOperand::CreateImm(this, Format, Loc, AMDGPUOperand::ImmTyFORMAT)); in parseFORMAT()
6734 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands[Size - 2]); in parseFORMAT()
6735 assert(Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyFORMAT); in parseFORMAT()
6748 parseIntWithPrefix("offset", Operands, AMDGPUOperand::ImmTyOffset); in parseFlatOffset()
6751 AMDGPUOperand::ImmTyInstOffset); in parseFlatOffset()
6758 parseNamedBit("r128", Operands, AMDGPUOperand::ImmTyR128A16); in parseR128A16()
6760 Res = parseNamedBit("a16", Operands, AMDGPUOperand::ImmTyA16); in parseR128A16()
6766 parseIntWithPrefix("blgp", Operands, AMDGPUOperand::ImmTyBLGP); in parseBLGP()
6769 parseOperandArrayWithPrefix("neg", Operands, AMDGPUOperand::ImmTyBLGP); in parseBLGP()
6786 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtExp()
6805 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyExpTgt) { in cvtExp()
6820 if (OptionalIdx.find(AMDGPUOperand::ImmTyExpCompr) != OptionalIdx.end()) { in cvtExp()
6833 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpVM); in cvtExp()
6834 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpCompr); in cvtExp()
6928 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S)); in parseSWaitCnt()
7008 Operands.push_back(AMDGPUOperand::CreateImm(this, Delay, S)); in parseSDelayALU()
7013 AMDGPUOperand::isSWaitCnt() const { in isSWaitCnt()
7017 bool AMDGPUOperand::isSDelayALU() const { return isImm(); } in isSDelayALU()
7098 Operands.push_back(AMDGPUOperand::CreateImm(this, DepCtr, Loc)); in parseDepCtr()
7102 bool AMDGPUOperand::isDepCtr() const { return isS16Imm(); } in isDepCtr()
7198 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTyHwreg)); in parseHwreg()
7202 bool AMDGPUOperand::isHwreg() const { in isHwreg()
7315 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTySendMsg)); in parseSendMsg()
7319 bool AMDGPUOperand::isSendMsg() const { in isSendMsg()
7343 Operands.push_back(AMDGPUOperand::CreateImm(this, Slot, S, in parseInterpSlot()
7344 AMDGPUOperand::ImmTyInterpSlot)); in parseInterpSlot()
7379 Operands.push_back(AMDGPUOperand::CreateImm(this, Attr, S, in parseInterpAttr()
7380 AMDGPUOperand::ImmTyInterpAttr)); in parseInterpAttr()
7381 Operands.push_back(AMDGPUOperand::CreateImm( in parseInterpAttr()
7382 this, AttrChan, SChan, AMDGPUOperand::ImmTyInterpAttrChan)); in parseInterpAttr()
7405 Operands.push_back(AMDGPUOperand::CreateImm(this, Id, S, in parseExpTgt()
7406 AMDGPUOperand::ImmTyExpTgt)); in parseExpTgt()
7513 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S)); in parseExpr()
7515 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S)); in parseExpr()
7585 return ((AMDGPUOperand &)*Operands[0]).getStartLoc(); in getInstLoc()
7589 AMDGPUAsmParser::getOperandLoc(std::function<bool(const AMDGPUOperand&)> Test, in getOperandLoc()
7592 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in getOperandLoc()
7600 AMDGPUAsmParser::getImmLoc(AMDGPUOperand::ImmTy Type, in getImmLoc()
7602 auto Test = [=](const AMDGPUOperand& Op) { return Op.isImmTy(Type); }; in getImmLoc()
7609 auto Test = [=](const AMDGPUOperand& Op) { in getRegLoc()
7617 auto Test = [](const AMDGPUOperand& Op) { in getLitLoc()
7627 auto Test = [](const AMDGPUOperand &Op) { in getMandatoryLitLoc()
7635 auto Test = [](const AMDGPUOperand& Op) { in getConstLoc()
7887 Operands.push_back(AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTySwizzle)); in parseSwizzle()
7895 AMDGPUOperand::isSwizzle() const { in isSwizzle()
7966 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyGprIdxMode)); in parseGPRIdxMode()
7970 bool AMDGPUOperand::isGPRIdxMode() const { in isGPRIdxMode()
7989 AMDGPUOperand &Opr = ((AMDGPUOperand &)*Operands[Operands.size() - 1]); in parseSOPPBrTarget()
8025 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtMubufImpl()
8043 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtMubufImpl()
8057 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyNone) { in cvtMubufImpl()
8073 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOffset); in cvtMubufImpl()
8074 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyCPol, 0); in cvtMubufImpl()
8081 bool AMDGPUOperand::isSMRDOffset8() const { in isSMRDOffset8()
8085 bool AMDGPUOperand::isSMEMOffset() const { in isSMEMOffset()
8090 bool AMDGPUOperand::isSMRDLiteralOffset() const { in isSMRDLiteralOffset()
8151 AMDGPUOperand::ImmTyOModSI, ConvertOmodMul); in parseOModSI()
8156 AMDGPUOperand::ImmTyOModSI, ConvertOmodDiv); in parseOModSI()
8221 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3Interp()
8225 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3Interp()
8240 AMDGPUOperand::ImmTyHigh); in cvtVOP3Interp()
8244 AMDGPUOperand::ImmTyClampSI); in cvtVOP3Interp()
8248 AMDGPUOperand::ImmTyOModSI); in cvtVOP3Interp()
8259 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVINTERP()
8263 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVINTERP()
8273 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI); in cvtVINTERP()
8277 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOpSel); in cvtVINTERP()
8279 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyWaitEXP); in cvtVINTERP()
8318 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3()
8322 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3()
8336 AMDGPUOperand::ImmTyClampSI); in cvtVOP3()
8340 AMDGPUOperand::ImmTyOModSI); in cvtVOP3()
8392 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSel); in cvtVOP3P()
8398 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSelHi, in cvtVOP3P()
8404 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegLo); in cvtVOP3P()
8408 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegHi); in cvtVOP3P()
8471 ((AMDGPUOperand &)*Operands[i]).addRegOrImmWithFPInputModsOperands(Inst, 2); in addSrcModifiersAndSrc()
8473 ((AMDGPUOperand &)*Operands[i]).addRegOperands(Inst, 1); in addSrcModifiersAndSrc()
8479 ((AMDGPUOperand &)*Operands[1]).addRegOperands(Inst, 1); in cvtSWMMAC()
8482 ((AMDGPUOperand &)*Operands[1]).addRegOperands(Inst, 1); // srcTiedDef in cvtSWMMAC()
8483 ((AMDGPUOperand &)*Operands[4]).addRegOperands(Inst, 1); // src2 in cvtSWMMAC()
8487 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]); in cvtSWMMAC()
8493 AMDGPUOperand::ImmTyIndexKey8bit); in cvtSWMMAC()
8497 AMDGPUOperand::ImmTyIndexKey16bit); in cvtSWMMAC()
8500 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyClampSI); in cvtSWMMAC()
8517 Operands.push_back(AMDGPUOperand::CreateToken(this, "::", S)); in parseVOPD()
8521 Operands.push_back(AMDGPUOperand::CreateToken(this, OpYName, OpYLoc)); in parseVOPD()
8532 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[ParsedOprIdx]); in cvtVOPD()
8567 bool AMDGPUOperand::isDPP8() const { in isDPP8()
8571 bool AMDGPUOperand::isDPPCtrl() const { in isDPPCtrl()
8599 bool AMDGPUOperand::isBLGP() const { in isBLGP()
8603 bool AMDGPUOperand::isCBSZ() const { in isCBSZ()
8607 bool AMDGPUOperand::isABID() const { in isABID()
8611 bool AMDGPUOperand::isS16Imm() const { in isS16Imm()
8615 bool AMDGPUOperand::isU16Imm() const { in isU16Imm()
8666 Operands.push_back(AMDGPUOperand::CreateImm(this, Encoding, S, in parseDim()
8667 AMDGPUOperand::ImmTyDim)); in parseDim()
8706 Operands.push_back(AMDGPUOperand::CreateImm(this, DPP8, S, AMDGPUOperand::ImmTyDPP8)); in parseDPP8()
8844 AMDGPUOperand::CreateImm(this, Val, S, AMDGPUOperand::ImmTyDppCtrl)); in parseDPPCtrl()
8865 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtVOP3DPP()
8906 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtVOP3DPP()
8925 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI); in cvtVOP3DPP()
8928 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI); in cvtVOP3DPP()
8935 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOpSel); in cvtVOP3DPP()
8939 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDPP8); in cvtVOP3DPP()
8943 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppCtrl, 0xe4); in cvtVOP3DPP()
8944 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppRowMask, 0xf); in cvtVOP3DPP()
8945 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBankMask, 0xf); in cvtVOP3DPP()
8946 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBoundCtrl); in cvtVOP3DPP()
8950 AMDGPUOperand::ImmTyDppFI); in cvtVOP3DPP()
8960 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtDPP()
8972 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtDPP()
9012 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppRowMask, 0xf); in cvtDPP()
9013 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBankMask, 0xf); in cvtDPP()
9014 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBoundCtrl); in cvtDPP()
9017 AMDGPUOperand::ImmTyDppFI); in cvtDPP()
9028 AMDGPUOperand::ImmTy Type) { in parseSDWASel()
9053 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, Type)); in parseSDWASel()
9078 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTySDWADstUnused)); in parseSDWADstUnused()
9115 ((AMDGPUOperand &)*Operands[I++]).addRegOperands(Inst, 1); in cvtSDWA()
9119 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]); in cvtSDWA()
9157 AMDGPUOperand::ImmTyClampSI, 0); in cvtSDWA()
9161 AMDGPUOperand::ImmTyOModSI, 0); in cvtSDWA()
9165 AMDGPUOperand::ImmTySDWADstSel, SdwaSel::DWORD); in cvtSDWA()
9169 AMDGPUOperand::ImmTySDWADstUnused, in cvtSDWA()
9172 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9176 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI, 0); in cvtSDWA()
9179 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI, 0); in cvtSDWA()
9181 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWADstSel, SdwaSel::DWORD); in cvtSDWA()
9182 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWADstUnused, DstUnused::U… in cvtSDWA()
9183 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9184 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc1Sel, SdwaSel::DWORD… in cvtSDWA()
9189 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI, 0); in cvtSDWA()
9190 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc0Sel, SdwaSel::DWORD… in cvtSDWA()
9191 …addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySDWASrc1Sel, SdwaSel::DWORD… in cvtSDWA()
9240 return parseNamedBit("gds", Operands, AMDGPUOperand::ImmTyGDS); in parseCustomOperand()
9242 return parseNamedBit("tfe", Operands, AMDGPUOperand::ImmTyTFE); in parseCustomOperand()
9255 AMDGPUOperand &Operand = (AMDGPUOperand&)Op; in validateTargetOperandClass()
9319 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyEndpgm)); in parseEndpgm()
9323 bool AMDGPUOperand::isEndpgm() const { return isImmTy(ImmTyEndpgm); } in isEndpgm()
9329 bool AMDGPUOperand::isWaitVDST() const { in isWaitVDST()
9333 bool AMDGPUOperand::isWaitVAVDst() const { in isWaitVAVDst()
9337 bool AMDGPUOperand::isWaitVMVSrc() const { in isWaitVMVSrc()
9345 bool AMDGPUOperand::isWaitEXP() const { in isWaitEXP()
9353 bool AMDGPUOperand::isSplitBarrier() const { return isInlinableImm(MVT::i32); } in isSplitBarrier()