|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
gen/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.inc 5303 AMDGPUOperand &Operand = (AMDGPUOperand&)GOp;
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 93 using Ptr = std::unique_ptr<AMDGPUOperand>;
129 friend raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods);
895 static AMDGPUOperand::Ptr CreateImm(const AMDGPUAsmParser *AsmParser,
899 auto Op = std::make_unique<AMDGPUOperand>(Immediate, AsmParser);
909 static AMDGPUOperand::Ptr CreateToken(const AMDGPUAsmParser *AsmParser,
912 auto Res = std::make_unique<AMDGPUOperand>(Token, AsmParser);
920 static AMDGPUOperand::Ptr CreateReg(const AMDGPUAsmParser *AsmParser,
923 auto Op = std::make_unique<AMDGPUOperand>(Register, AsmParser);
931 static AMDGPUOperand::Ptr CreateExpr(const AMDGPUAsmParser *AsmParser,
933 auto Op = std::make_unique<AMDGPUOperand>(Expression, AsmParser);
941 raw_ostream &operator <<(raw_ostream &OS, AMDGPUOperand::Modifiers Mods) {
1101 using OptionalImmIndexMap = std::map<AMDGPUOperand::ImmTy, unsigned>;
1229 std::unique_ptr<AMDGPUOperand> parseRegister();
1250 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1250 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1256 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1256 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone,
1261 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone);
1261 AMDGPUOperand::ImmTy ImmTy = AMDGPUOperand::ImmTyNone);
1387 AMDGPUOperand::Ptr defaultDLC() const;
1388 AMDGPUOperand::Ptr defaultGLC() const;
1389 AMDGPUOperand::Ptr defaultSLC() const;
1391 AMDGPUOperand::Ptr defaultSMRDOffset8() const;
1392 AMDGPUOperand::Ptr defaultSMRDOffset20() const;
1393 AMDGPUOperand::Ptr defaultSMRDLiteralOffset() const;
1394 AMDGPUOperand::Ptr defaultFlatOffset() const;
1413 AMDGPUOperand::Ptr defaultRowMask() const;
1414 AMDGPUOperand::Ptr defaultBankMask() const;
1415 AMDGPUOperand::Ptr defaultBoundCtrl() const;
1416 AMDGPUOperand::Ptr defaultFI() const;
1421 AMDGPUOperand::ImmTy Type);
1433 AMDGPUOperand::Ptr defaultBLGP() const;
1434 AMDGPUOperand::Ptr defaultCBSZ() const;
1435 AMDGPUOperand::Ptr defaultABID() const;
1438 AMDGPUOperand::Ptr defaultEndpgmImmOperands() const;
1443 AMDGPUOperand::ImmTy Type;
2316 std::unique_ptr<AMDGPUOperand> AMDGPUAsmParser::parseRegister() {
2333 return AMDGPUOperand::CreateReg(this, Reg, StartLoc, EndLoc);
2372 AMDGPUOperand::CreateImm(this, RealVal.bitcastToAPInt().getZExtValue(), S,
2373 AMDGPUOperand::ImmTyNone, true));
2399 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S));
2401 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S));
2577 AMDGPUOperand::Modifiers Mods;
2582 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back());
2612 AMDGPUOperand::Modifiers Mods;
2616 AMDGPUOperand &Op = static_cast<AMDGPUOperand &>(*Operands.back());
2640 Operands.push_back(AMDGPUOperand::CreateImm(this, 0, Loc,
2641 AMDGPUOperand::ImmTyOff, false));
2648 std::unique_ptr<AMDGPUOperand> Reg = parseRegister();
3255 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
4447 AMDGPUOperand::CreateToken(this, "[", LBraceLoc));
4448 Operands.push_back(AMDGPUOperand::CreateToken(this, "]",
4486 Operands.push_back(AMDGPUOperand::CreateToken(this, Name, NameLoc));
4537 AMDGPUOperand::ImmTy ImmTy,
4550 Operands.push_back(AMDGPUOperand::CreateImm(this, Value, S, ImmTy));
4557 AMDGPUOperand::ImmTy ImmTy,
4596 Operands.push_back(AMDGPUOperand::CreateImm(this, Val, S, ImmTy));
4602 AMDGPUOperand::ImmTy ImmTy) {
4632 if (!isGFX10() && ImmTy == AMDGPUOperand::ImmTyDLC)
4635 Operands.push_back(AMDGPUOperand::CreateImm(this, Bit, S, ImmTy));
4642 AMDGPUOperand::ImmTy ImmT,
4720 AMDGPUOperand::CreateImm(this, Format, S, AMDGPUOperand::ImmTyFORMAT));
4720 AMDGPUOperand::CreateImm(this, Format, S, AMDGPUOperand::ImmTyFORMAT));
4733 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
4745 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOffset0);
4746 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOffset1);
4747 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyGDS);
4757 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
4774 AMDGPUOperand::ImmTy OffsetType =
4777 Inst.getOpcode() == AMDGPU::DS_SWIZZLE_B32_vi) ? AMDGPUOperand::ImmTySwizzle :
4778 AMDGPUOperand::ImmTyOffset;
4783 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyGDS);
4796 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
4815 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyExpTgt) {
4830 if (OptionalIdx.find(AMDGPUOperand::ImmTyExpCompr) != OptionalIdx.end()) {
4843 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpVM);
4844 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyExpCompr);
4937 Operands.push_back(AMDGPUOperand::CreateImm(this, Waitcnt, S));
5023 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTyHwreg));
5023 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTyHwreg));
5122 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTySendMsg));
5122 Operands.push_back(AMDGPUOperand::CreateImm(this, ImmVal, Loc, AMDGPUOperand::ImmTySendMsg));
5150 Operands.push_back(AMDGPUOperand::CreateImm(this, Slot, S,
5151 AMDGPUOperand::ImmTyInterpSlot));
5188 Operands.push_back(AMDGPUOperand::CreateImm(this, Attr, S,
5189 AMDGPUOperand::ImmTyInterpAttr));
5190 Operands.push_back(AMDGPUOperand::CreateImm(this, AttrChan, SChan,
5191 AMDGPUOperand::ImmTyAttrChan));
5278 Operands.push_back(AMDGPUOperand::CreateImm(this, Val, S,
5279 AMDGPUOperand::ImmTyExpTgt));
5355 Operands.push_back(AMDGPUOperand::CreateImm(this, IntVal, S));
5357 Operands.push_back(AMDGPUOperand::CreateExpr(this, Expr, S));
5640 Operands.push_back(AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTySwizzle));
5640 Operands.push_back(AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTySwizzle));
5729 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyGprIdxMode));
5729 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyGprIdxMode));
5752 AMDGPUOperand &Opr = ((AMDGPUOperand &)*Operands[Operands.size() - 1]);
5781 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultDLC() const {
5782 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDLC);
5782 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDLC);
5785 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultGLC() const {
5786 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyGLC);
5786 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyGLC);
5789 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultSLC() const {
5790 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTySLC);
5790 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTySLC);
5805 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
5819 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyNone) {
5852 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOffset);
5854 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyGLC);
5856 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySLC);
5859 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyTFE);
5863 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDLC);
5870 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[i]);
5879 if (Op.isImm() && Op.getImmTy() == AMDGPUOperand::ImmTyNone) {
5896 AMDGPUOperand::ImmTyOffset);
5897 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyFORMAT);
5898 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyGLC);
5899 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySLC);
5900 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyTFE);
5903 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDLC);
5927 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
5941 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDMask);
5943 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDim, -1);
5944 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyUNorm);
5946 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDLC);
5947 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyGLC);
5948 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySLC);
5949 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyR128A16);
5950 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyTFE);
5951 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyLWE);
5953 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDA);
5954 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyD16);
5979 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultSMRDOffset8() const {
5980 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5980 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5983 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultSMRDOffset20() const {
5984 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5984 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5987 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultSMRDLiteralOffset() const {
5988 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5988 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5991 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultFlatOffset() const {
5992 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
5992 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyOffset);
6037 {"offen", AMDGPUOperand::ImmTyOffen, true, nullptr},
6038 {"idxen", AMDGPUOperand::ImmTyIdxen, true, nullptr},
6039 {"addr64", AMDGPUOperand::ImmTyAddr64, true, nullptr},
6040 {"offset0", AMDGPUOperand::ImmTyOffset0, false, nullptr},
6041 {"offset1", AMDGPUOperand::ImmTyOffset1, false, nullptr},
6042 {"gds", AMDGPUOperand::ImmTyGDS, true, nullptr},
6043 {"lds", AMDGPUOperand::ImmTyLDS, true, nullptr},
6044 {"offset", AMDGPUOperand::ImmTyOffset, false, nullptr},
6045 {"inst_offset", AMDGPUOperand::ImmTyInstOffset, false, nullptr},
6046 {"dlc", AMDGPUOperand::ImmTyDLC, true, nullptr},
6047 {"format", AMDGPUOperand::ImmTyFORMAT, false, nullptr},
6048 {"glc", AMDGPUOperand::ImmTyGLC, true, nullptr},
6049 {"slc", AMDGPUOperand::ImmTySLC, true, nullptr},
6050 {"swz", AMDGPUOperand::ImmTySWZ, true, nullptr},
6051 {"tfe", AMDGPUOperand::ImmTyTFE, true, nullptr},
6052 {"d16", AMDGPUOperand::ImmTyD16, true, nullptr},
6053 {"high", AMDGPUOperand::ImmTyHigh, true, nullptr},
6054 {"clamp", AMDGPUOperand::ImmTyClampSI, true, nullptr},
6055 {"omod", AMDGPUOperand::ImmTyOModSI, false, ConvertOmodMul},
6056 {"unorm", AMDGPUOperand::ImmTyUNorm, true, nullptr},
6057 {"da", AMDGPUOperand::ImmTyDA, true, nullptr},
6058 {"r128", AMDGPUOperand::ImmTyR128A16, true, nullptr},
6059 {"a16", AMDGPUOperand::ImmTyR128A16, true, nullptr},
6060 {"lwe", AMDGPUOperand::ImmTyLWE, true, nullptr},
6061 {"d16", AMDGPUOperand::ImmTyD16, true, nullptr},
6062 {"dmask", AMDGPUOperand::ImmTyDMask, false, nullptr},
6063 {"dim", AMDGPUOperand::ImmTyDim, false, nullptr},
6064 {"row_mask", AMDGPUOperand::ImmTyDppRowMask, false, nullptr},
6065 {"bank_mask", AMDGPUOperand::ImmTyDppBankMask, false, nullptr},
6066 {"bound_ctrl", AMDGPUOperand::ImmTyDppBoundCtrl, false, ConvertBoundCtrl},
6067 {"fi", AMDGPUOperand::ImmTyDppFi, false, nullptr},
6068 {"dst_sel", AMDGPUOperand::ImmTySdwaDstSel, false, nullptr},
6069 {"src0_sel", AMDGPUOperand::ImmTySdwaSrc0Sel, false, nullptr},
6070 {"src1_sel", AMDGPUOperand::ImmTySdwaSrc1Sel, false, nullptr},
6071 {"dst_unused", AMDGPUOperand::ImmTySdwaDstUnused, false, nullptr},
6072 {"compr", AMDGPUOperand::ImmTyExpCompr, true, nullptr },
6073 {"vm", AMDGPUOperand::ImmTyExpVM, true, nullptr},
6074 {"op_sel", AMDGPUOperand::ImmTyOpSel, false, nullptr},
6075 {"op_sel_hi", AMDGPUOperand::ImmTyOpSelHi, false, nullptr},
6076 {"neg_lo", AMDGPUOperand::ImmTyNegLo, false, nullptr},
6077 {"neg_hi", AMDGPUOperand::ImmTyNegHi, false, nullptr},
6078 {"blgp", AMDGPUOperand::ImmTyBLGP, false, nullptr},
6079 {"cbsz", AMDGPUOperand::ImmTyCBSZ, false, nullptr},
6080 {"abid", AMDGPUOperand::ImmTyABID, false, nullptr}
6116 } else if (Op.Type == AMDGPUOperand::ImmTyOModSI) {
6118 } else if (Op.Type == AMDGPUOperand::ImmTySdwaDstSel ||
6119 Op.Type == AMDGPUOperand::ImmTySdwaSrc0Sel ||
6120 Op.Type == AMDGPUOperand::ImmTySdwaSrc1Sel) {
6122 } else if (Op.Type == AMDGPUOperand::ImmTySdwaDstUnused) {
6124 } else if (Op.Type == AMDGPUOperand::ImmTyOpSel ||
6125 Op.Type == AMDGPUOperand::ImmTyOpSelHi ||
6126 Op.Type == AMDGPUOperand::ImmTyNegLo ||
6127 Op.Type == AMDGPUOperand::ImmTyNegHi) {
6130 } else if (Op.Type == AMDGPUOperand::ImmTyDim) {
6132 } else if (Op.Type == AMDGPUOperand::ImmTyFORMAT && !isGFX10()) {
6148 AMDGPUOperand::ImmTyOModSI, ConvertOmodMul);
6153 AMDGPUOperand::ImmTyOModSI, ConvertOmodDiv);
6206 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
6221 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyHigh);
6225 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI);
6229 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI);
6246 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
6260 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
6270 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI);
6274 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI);
6319 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSel);
6324 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyOpSelHi,
6331 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegLo);
6332 addOptionalImmOperand(Inst, Operands, OptIdx, AMDGPUOperand::ImmTyNegHi);
6481 Operands.push_back(AMDGPUOperand::CreateImm(this, DimInfo->Encoding, S,
6482 AMDGPUOperand::ImmTyDim));
6538 Operands.push_back(AMDGPUOperand::CreateImm(this, DPP8, S, AMDGPUOperand::ImmTyDPP8));
6538 Operands.push_back(AMDGPUOperand::CreateImm(this, DPP8, S, AMDGPUOperand::ImmTyDPP8));
6654 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTyDppCtrl));
6654 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTyDppCtrl));
6658 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultRowMask() const {
6659 return AMDGPUOperand::CreateImm(this, 0xf, SMLoc(), AMDGPUOperand::ImmTyDppRowMask);
6659 return AMDGPUOperand::CreateImm(this, 0xf, SMLoc(), AMDGPUOperand::ImmTyDppRowMask);
6662 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultEndpgmImmOperands() const {
6663 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyEndpgm);
6663 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyEndpgm);
6666 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultBankMask() const {
6667 return AMDGPUOperand::CreateImm(this, 0xf, SMLoc(), AMDGPUOperand::ImmTyDppBankMask);
6667 return AMDGPUOperand::CreateImm(this, 0xf, SMLoc(), AMDGPUOperand::ImmTyDppBankMask);
6670 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultBoundCtrl() const {
6671 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDppBoundCtrl);
6671 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDppBoundCtrl);
6674 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultFI() const {
6675 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDppFi);
6675 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyDppFi);
6696 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
6734 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppRowMask, 0xf);
6735 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBankMask, 0xf);
6736 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppBoundCtrl);
6738 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyDppFi);
6749 AMDGPUOperand::ImmTy Type) {
6777 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, Type));
6806 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTySdwaDstUnused));
6806 Operands.push_back(AMDGPUOperand::CreateImm(this, Int, S, AMDGPUOperand::ImmTySdwaDstUnused));
6847 AMDGPUOperand &Op = ((AMDGPUOperand &)*Operands[I]);
6883 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI, 0);
6885 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI, 0);
6887 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstSel, SdwaSel::DWORD);
6888 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstUnused, DstUnused::UNUSED_PRESERVE);
6889 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc0Sel, SdwaSel::DWORD);
6893 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI, 0);
6895 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyOModSI, 0);
6897 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstSel, SdwaSel::DWORD);
6898 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaDstUnused, DstUnused::UNUSED_PRESERVE);
6899 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc0Sel, SdwaSel::DWORD);
6900 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc1Sel, SdwaSel::DWORD);
6905 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTyClampSI, 0);
6906 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc0Sel, SdwaSel::DWORD);
6907 addOptionalImmOperand(Inst, Operands, OptionalIdx, AMDGPUOperand::ImmTySdwaSrc1Sel, SdwaSel::DWORD);
6930 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultBLGP() const {
6931 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyBLGP);
6931 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyBLGP);
6934 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultCBSZ() const {
6935 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyCBSZ);
6935 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyCBSZ);
6938 AMDGPUOperand::Ptr AMDGPUAsmParser::defaultABID() const {
6939 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyABID);
6939 return AMDGPUOperand::CreateImm(this, 0, SMLoc(), AMDGPUOperand::ImmTyABID);
6961 AMDGPUOperand &Operand = (AMDGPUOperand&)Op;
7027 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyEndpgm));
7027 AMDGPUOperand::CreateImm(this, Imm, S, AMDGPUOperand::ImmTyEndpgm));
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>