Lines Matching refs:MCSubtargetInfo
105 Optional<uint8_t> getHsaAbiVersion(const MCSubtargetInfo *STI) { in getHsaAbiVersion()
124 bool isHsaAbiVersion2(const MCSubtargetInfo *STI) { in isHsaAbiVersion2()
130 bool isHsaAbiVersion3(const MCSubtargetInfo *STI) { in isHsaAbiVersion3()
136 bool isHsaAbiVersion4(const MCSubtargetInfo *STI) { in isHsaAbiVersion4()
142 bool isHsaAbiVersion5(const MCSubtargetInfo *STI) { in isHsaAbiVersion5()
148 bool isHsaAbiVersion3AndAbove(const MCSubtargetInfo *STI) { in isHsaAbiVersion3AndAbove()
454 AMDGPUTargetID::AMDGPUTargetID(const MCSubtargetInfo &STI) in AMDGPUTargetID()
650 unsigned getWavefrontSize(const MCSubtargetInfo *STI) { in getWavefrontSize()
659 unsigned getLocalMemorySize(const MCSubtargetInfo *STI) { in getLocalMemorySize()
668 unsigned getEUsPerCU(const MCSubtargetInfo *STI) { in getEUsPerCU()
679 unsigned getMaxWorkGroupsPerCU(const MCSubtargetInfo *STI, in getMaxWorkGroupsPerCU()
691 unsigned getMinWavesPerEU(const MCSubtargetInfo *STI) { in getMinWavesPerEU()
695 unsigned getMaxWavesPerEU(const MCSubtargetInfo *STI) { in getMaxWavesPerEU()
704 unsigned getWavesPerEUForWorkGroup(const MCSubtargetInfo *STI, in getWavesPerEUForWorkGroup()
710 unsigned getMinFlatWorkGroupSize(const MCSubtargetInfo *STI) { in getMinFlatWorkGroupSize()
714 unsigned getMaxFlatWorkGroupSize(const MCSubtargetInfo *STI) { in getMaxFlatWorkGroupSize()
719 unsigned getWavesPerWorkGroup(const MCSubtargetInfo *STI, in getWavesPerWorkGroup()
724 unsigned getSGPRAllocGranule(const MCSubtargetInfo *STI) { in getSGPRAllocGranule()
733 unsigned getSGPREncodingGranule(const MCSubtargetInfo *STI) { in getSGPREncodingGranule()
737 unsigned getTotalNumSGPRs(const MCSubtargetInfo *STI) { in getTotalNumSGPRs()
744 unsigned getAddressableNumSGPRs(const MCSubtargetInfo *STI) { in getAddressableNumSGPRs()
756 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumSGPRs()
773 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs()
790 unsigned getNumExtraSGPRs(const MCSubtargetInfo *STI, bool VCCUsed, in getNumExtraSGPRs()
815 unsigned getNumExtraSGPRs(const MCSubtargetInfo *STI, bool VCCUsed, in getNumExtraSGPRs()
821 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks()
827 unsigned getVGPRAllocGranule(const MCSubtargetInfo *STI, in getVGPRAllocGranule()
842 unsigned getVGPREncodingGranule(const MCSubtargetInfo *STI, in getVGPREncodingGranule()
854 unsigned getTotalNumVGPRs(const MCSubtargetInfo *STI) { in getTotalNumVGPRs()
862 unsigned getAddressableNumVGPRs(const MCSubtargetInfo *STI) { in getAddressableNumVGPRs()
877 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumVGPRs()
888 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMaxNumVGPRs()
897 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumVGPRs, in getNumVGPRBlocks()
908 const MCSubtargetInfo *STI) { in initDefaultAMDKernelCodeT()
944 const MCSubtargetInfo *STI) { in getDefaultAmdhsaKernelDescriptor()
1190 const MCSubtargetInfo &STI) { in getDefaultCustomOperandEncoding()
1203 const MCSubtargetInfo &STI) { in isSymbolicCustomOperandEncoding()
1222 const MCSubtargetInfo &STI) { in decodeCustomOperand()
1246 const MCSubtargetInfo &STI) { in encodeCustomOperand()
1271 int getDefaultDepCtrEncoding(const MCSubtargetInfo &STI) { in getDefaultDepCtrEncoding()
1279 const MCSubtargetInfo &STI) { in isSymbolicDepCtrEncoding()
1285 bool &IsDefault, const MCSubtargetInfo &STI) { in decodeDepCtr()
1291 const MCSubtargetInfo &STI) { in encodeDepCtr()
1304 int64_t getHwregId(const StringRef Name, const MCSubtargetInfo &STI) { in getHwregId()
1305 int Idx = getOprIdx<const MCSubtargetInfo &>(Name, Opr, OPR_SIZE, STI); in getHwregId()
1327 StringRef getHwreg(unsigned Id, const MCSubtargetInfo &STI) { in getHwreg()
1328 int Idx = getOprIdx<const MCSubtargetInfo &>(Id, Opr, OPR_SIZE, STI); in getHwreg()
1396 bool isSupportedTgtId(unsigned Id, const MCSubtargetInfo &STI) { in isSupportedTgtId()
1434 static StringLiteral const *getNfmtLookupTable(const MCSubtargetInfo &STI) { in getNfmtLookupTable()
1442 int64_t getNfmt(const StringRef Name, const MCSubtargetInfo &STI) { in getNfmt()
1451 StringRef getNfmtName(unsigned Id, const MCSubtargetInfo &STI) { in getNfmtName()
1456 bool isValidDfmtNfmt(unsigned Id, const MCSubtargetInfo &STI) { in isValidDfmtNfmt()
1463 bool isValidNfmt(unsigned Id, const MCSubtargetInfo &STI) { in isValidNfmt()
1476 int64_t getUnifiedFormat(const StringRef Name, const MCSubtargetInfo &STI) { in getUnifiedFormat()
1491 StringRef getUnifiedFormatName(unsigned Id, const MCSubtargetInfo &STI) { in getUnifiedFormatName()
1497 bool isValidUnifiedFormat(unsigned Id, const MCSubtargetInfo &STI) { in isValidUnifiedFormat()
1502 const MCSubtargetInfo &STI) { in convertDfmtNfmt2Ufmt()
1518 bool isValidFormatEncoding(unsigned Val, const MCSubtargetInfo &STI) { in isValidFormatEncoding()
1522 unsigned getDefaultFormatEncoding(const MCSubtargetInfo &STI) { in getDefaultFormatEncoding()
1536 static uint64_t getMsgIdMask(const MCSubtargetInfo &STI) { in getMsgIdMask()
1540 int64_t getMsgId(const StringRef Name, const MCSubtargetInfo &STI) { in getMsgId()
1541 int Idx = getOprIdx<const MCSubtargetInfo &>(Name, Msg, MSG_SIZE, STI); in getMsgId()
1545 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI) { in isValidMsgId()
1549 StringRef getMsgName(int64_t MsgId, const MCSubtargetInfo &STI) { in getMsgName()
1550 int Idx = getOprIdx<const MCSubtargetInfo &>(MsgId, Msg, MSG_SIZE, STI); in getMsgName()
1566 bool isValidMsgOp(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, in isValidMsgOp()
1587 const MCSubtargetInfo &STI) { in getMsgOpName()
1593 const MCSubtargetInfo &STI, bool Strict) { in isValidMsgStream()
1612 bool msgRequiresOp(int64_t MsgId, const MCSubtargetInfo &STI) { in msgRequiresOp()
1619 const MCSubtargetInfo &STI) { in msgSupportsStream()
1626 uint16_t &StreamId, const MCSubtargetInfo &STI) { in decodeMsg()
1717 bool hasXNACK(const MCSubtargetInfo &STI) { in hasXNACK()
1721 bool hasSRAMECC(const MCSubtargetInfo &STI) { in hasSRAMECC()
1725 bool hasMIMG_R128(const MCSubtargetInfo &STI) { in hasMIMG_R128()
1729 bool hasGFX10A16(const MCSubtargetInfo &STI) { in hasGFX10A16()
1733 bool hasG16(const MCSubtargetInfo &STI) { in hasG16()
1737 bool hasPackedD16(const MCSubtargetInfo &STI) { in hasPackedD16()
1742 bool isSI(const MCSubtargetInfo &STI) { in isSI()
1746 bool isCI(const MCSubtargetInfo &STI) { in isCI()
1750 bool isVI(const MCSubtargetInfo &STI) { in isVI()
1754 bool isGFX9(const MCSubtargetInfo &STI) { in isGFX9()
1758 bool isGFX9_GFX10(const MCSubtargetInfo &STI) { in isGFX9_GFX10()
1762 bool isGFX8_GFX9_GFX10(const MCSubtargetInfo &STI) { in isGFX8_GFX9_GFX10()
1766 bool isGFX8Plus(const MCSubtargetInfo &STI) { in isGFX8Plus()
1770 bool isGFX9Plus(const MCSubtargetInfo &STI) { in isGFX9Plus()
1774 bool isGFX10(const MCSubtargetInfo &STI) { in isGFX10()
1778 bool isGFX10Plus(const MCSubtargetInfo &STI) { in isGFX10Plus()
1782 bool isGFX11(const MCSubtargetInfo &STI) { in isGFX11()
1786 bool isGFX11Plus(const MCSubtargetInfo &STI) { in isGFX11Plus()
1790 bool isNotGFX11Plus(const MCSubtargetInfo &STI) { in isNotGFX11Plus()
1794 bool isNotGFX10Plus(const MCSubtargetInfo &STI) { in isNotGFX10Plus()
1798 bool isGFX10Before1030(const MCSubtargetInfo &STI) { in isGFX10Before1030()
1802 bool isGCN3Encoding(const MCSubtargetInfo &STI) { in isGCN3Encoding()
1806 bool isGFX10_AEncoding(const MCSubtargetInfo &STI) { in isGFX10_AEncoding()
1810 bool isGFX10_BEncoding(const MCSubtargetInfo &STI) { in isGFX10_BEncoding()
1814 bool hasGFX10_3Insts(const MCSubtargetInfo &STI) { in hasGFX10_3Insts()
1818 bool isGFX90A(const MCSubtargetInfo &STI) { in isGFX90A()
1822 bool isGFX940(const MCSubtargetInfo &STI) { in isGFX940()
1826 bool hasArchitectedFlatScratch(const MCSubtargetInfo &STI) { in hasArchitectedFlatScratch()
1830 bool hasMAIInsts(const MCSubtargetInfo &STI) { in hasMAIInsts()
1834 bool hasVOPD(const MCSubtargetInfo &STI) { in hasVOPD()
1909 unsigned getMCReg(unsigned Reg, const MCSubtargetInfo &STI) { in getMCReg()
2224 static bool hasSMEMByteOffset(const MCSubtargetInfo &ST) { in hasSMEMByteOffset()
2228 static bool hasSMRDSignedImmOffset(const MCSubtargetInfo &ST) { in hasSMRDSignedImmOffset()
2232 bool isLegalSMRDEncodedUnsignedOffset(const MCSubtargetInfo &ST, in isLegalSMRDEncodedUnsignedOffset()
2238 bool isLegalSMRDEncodedSignedOffset(const MCSubtargetInfo &ST, in isLegalSMRDEncodedSignedOffset()
2250 uint64_t convertSMRDOffsetUnits(const MCSubtargetInfo &ST, in convertSMRDOffsetUnits()
2259 Optional<int64_t> getSMRDEncodedOffset(const MCSubtargetInfo &ST, in getSMRDEncodedOffset()
2276 Optional<int64_t> getSMRDEncodedLiteralOffset32(const MCSubtargetInfo &ST, in getSMRDEncodedLiteralOffset32()
2285 unsigned getNumFlatOffsetBits(const MCSubtargetInfo &ST, bool Signed) { in getNumFlatOffsetBits()
2394 const MCSubtargetInfo &STI) { in getGcnBufferFormatInfo()
2405 const MCSubtargetInfo &STI) { in getGcnBufferFormatInfo()