Lines Matching refs:MCSubtargetInfo

161 bool isHsaAbi(const MCSubtargetInfo &STI) {  in isHsaAbi()
473 unsigned getVOPDEncodingFamily(const MCSubtargetInfo &ST) { in getVOPDEncodingFamily()
705 AMDGPUTargetID::AMDGPUTargetID(const MCSubtargetInfo &STI) in AMDGPUTargetID()
837 unsigned getWavefrontSize(const MCSubtargetInfo *STI) { in getWavefrontSize()
846 unsigned getLocalMemorySize(const MCSubtargetInfo *STI) { in getLocalMemorySize()
862 unsigned getAddressableLocalMemorySize(const MCSubtargetInfo *STI) { in getAddressableLocalMemorySize()
870 unsigned getEUsPerCU(const MCSubtargetInfo *STI) { in getEUsPerCU()
881 unsigned getMaxWorkGroupsPerCU(const MCSubtargetInfo *STI, in getMaxWorkGroupsPerCU()
900 unsigned getMinWavesPerEU(const MCSubtargetInfo *STI) { in getMinWavesPerEU()
904 unsigned getMaxWavesPerEU(const MCSubtargetInfo *STI) { in getMaxWavesPerEU()
913 unsigned getWavesPerEUForWorkGroup(const MCSubtargetInfo *STI, in getWavesPerEUForWorkGroup()
919 unsigned getMinFlatWorkGroupSize(const MCSubtargetInfo *STI) { in getMinFlatWorkGroupSize()
923 unsigned getMaxFlatWorkGroupSize(const MCSubtargetInfo *STI) { in getMaxFlatWorkGroupSize()
928 unsigned getWavesPerWorkGroup(const MCSubtargetInfo *STI, in getWavesPerWorkGroup()
933 unsigned getSGPRAllocGranule(const MCSubtargetInfo *STI) { in getSGPRAllocGranule()
942 unsigned getSGPREncodingGranule(const MCSubtargetInfo *STI) { in getSGPREncodingGranule()
946 unsigned getTotalNumSGPRs(const MCSubtargetInfo *STI) { in getTotalNumSGPRs()
953 unsigned getAddressableNumSGPRs(const MCSubtargetInfo *STI) { in getAddressableNumSGPRs()
965 unsigned getMinNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumSGPRs()
982 unsigned getMaxNumSGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU, in getMaxNumSGPRs()
999 unsigned getNumExtraSGPRs(const MCSubtargetInfo *STI, bool VCCUsed, in getNumExtraSGPRs()
1024 unsigned getNumExtraSGPRs(const MCSubtargetInfo *STI, bool VCCUsed, in getNumExtraSGPRs()
1030 unsigned getNumSGPRBlocks(const MCSubtargetInfo *STI, unsigned NumSGPRs) { in getNumSGPRBlocks()
1036 unsigned getVGPRAllocGranule(const MCSubtargetInfo *STI, in getVGPRAllocGranule()
1054 unsigned getVGPREncodingGranule(const MCSubtargetInfo *STI, in getVGPREncodingGranule()
1066 unsigned getTotalNumVGPRs(const MCSubtargetInfo *STI) { in getTotalNumVGPRs()
1077 unsigned getAddressableNumVGPRs(const MCSubtargetInfo *STI) { in getAddressableNumVGPRs()
1083 unsigned getNumWavesPerEUWithNumVGPRs(const MCSubtargetInfo *STI, in getNumWavesPerEUWithNumVGPRs()
1093 unsigned getMinNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMinNumVGPRs()
1117 unsigned getMaxNumVGPRs(const MCSubtargetInfo *STI, unsigned WavesPerEU) { in getMaxNumVGPRs()
1126 unsigned getNumVGPRBlocks(const MCSubtargetInfo *STI, unsigned NumVGPRs, in getNumVGPRBlocks()
1137 const MCSubtargetInfo *STI) { in initDefaultAMDKernelCodeT()
1173 const MCSubtargetInfo *STI) { in getDefaultAmdhsaKernelDescriptor()
1513 const MCSubtargetInfo &STI) { in getDefaultCustomOperandEncoding()
1526 const MCSubtargetInfo &STI) { in isSymbolicCustomOperandEncoding()
1545 const MCSubtargetInfo &STI) { in decodeCustomOperand()
1569 const MCSubtargetInfo &STI) { in encodeCustomOperand()
1594 int getDefaultDepCtrEncoding(const MCSubtargetInfo &STI) { in getDefaultDepCtrEncoding()
1602 const MCSubtargetInfo &STI) { in isSymbolicDepCtrEncoding()
1608 bool &IsDefault, const MCSubtargetInfo &STI) { in decodeDepCtr()
1614 const MCSubtargetInfo &STI) { in encodeDepCtr()
1663 int64_t getHwregId(const StringRef Name, const MCSubtargetInfo &STI) { in getHwregId()
1664 int Idx = getOprIdx<const MCSubtargetInfo &>(Name, Opr, OPR_SIZE, STI); in getHwregId()
1686 StringRef getHwreg(unsigned Id, const MCSubtargetInfo &STI) { in getHwreg()
1687 int Idx = getOprIdx<const MCSubtargetInfo &>(Id, Opr, OPR_SIZE, STI); in getHwreg()
1755 bool isSupportedTgtId(unsigned Id, const MCSubtargetInfo &STI) { in isSupportedTgtId()
1793 static StringLiteral const *getNfmtLookupTable(const MCSubtargetInfo &STI) { in getNfmtLookupTable()
1801 int64_t getNfmt(const StringRef Name, const MCSubtargetInfo &STI) { in getNfmt()
1810 StringRef getNfmtName(unsigned Id, const MCSubtargetInfo &STI) { in getNfmtName()
1815 bool isValidDfmtNfmt(unsigned Id, const MCSubtargetInfo &STI) { in isValidDfmtNfmt()
1822 bool isValidNfmt(unsigned Id, const MCSubtargetInfo &STI) { in isValidNfmt()
1835 int64_t getUnifiedFormat(const StringRef Name, const MCSubtargetInfo &STI) { in getUnifiedFormat()
1850 StringRef getUnifiedFormatName(unsigned Id, const MCSubtargetInfo &STI) { in getUnifiedFormatName()
1856 bool isValidUnifiedFormat(unsigned Id, const MCSubtargetInfo &STI) { in isValidUnifiedFormat()
1861 const MCSubtargetInfo &STI) { in convertDfmtNfmt2Ufmt()
1877 bool isValidFormatEncoding(unsigned Val, const MCSubtargetInfo &STI) { in isValidFormatEncoding()
1881 unsigned getDefaultFormatEncoding(const MCSubtargetInfo &STI) { in getDefaultFormatEncoding()
1895 static uint64_t getMsgIdMask(const MCSubtargetInfo &STI) { in getMsgIdMask()
1899 int64_t getMsgId(const StringRef Name, const MCSubtargetInfo &STI) { in getMsgId()
1900 int Idx = getOprIdx<const MCSubtargetInfo &>(Name, Msg, MSG_SIZE, STI); in getMsgId()
1904 bool isValidMsgId(int64_t MsgId, const MCSubtargetInfo &STI) { in isValidMsgId()
1908 StringRef getMsgName(int64_t MsgId, const MCSubtargetInfo &STI) { in getMsgName()
1909 int Idx = getOprIdx<const MCSubtargetInfo &>(MsgId, Msg, MSG_SIZE, STI); in getMsgName()
1925 bool isValidMsgOp(int64_t MsgId, int64_t OpId, const MCSubtargetInfo &STI, in isValidMsgOp()
1946 const MCSubtargetInfo &STI) { in getMsgOpName()
1952 const MCSubtargetInfo &STI, bool Strict) { in isValidMsgStream()
1971 bool msgRequiresOp(int64_t MsgId, const MCSubtargetInfo &STI) { in msgRequiresOp()
1978 const MCSubtargetInfo &STI) { in msgSupportsStream()
1985 uint16_t &StreamId, const MCSubtargetInfo &STI) { in decodeMsg()
2088 bool hasXNACK(const MCSubtargetInfo &STI) { in hasXNACK()
2092 bool hasSRAMECC(const MCSubtargetInfo &STI) { in hasSRAMECC()
2096 bool hasMIMG_R128(const MCSubtargetInfo &STI) { in hasMIMG_R128()
2100 bool hasA16(const MCSubtargetInfo &STI) { in hasA16()
2104 bool hasG16(const MCSubtargetInfo &STI) { in hasG16()
2108 bool hasPackedD16(const MCSubtargetInfo &STI) { in hasPackedD16()
2113 bool hasGDS(const MCSubtargetInfo &STI) { in hasGDS()
2117 unsigned getNSAMaxSize(const MCSubtargetInfo &STI, bool HasSampler) { in getNSAMaxSize()
2128 unsigned getMaxNumUserSGPRs(const MCSubtargetInfo &STI) { return 16; } in getMaxNumUserSGPRs()
2130 bool isSI(const MCSubtargetInfo &STI) { in isSI()
2134 bool isCI(const MCSubtargetInfo &STI) { in isCI()
2138 bool isVI(const MCSubtargetInfo &STI) { in isVI()
2142 bool isGFX9(const MCSubtargetInfo &STI) { in isGFX9()
2146 bool isGFX9_GFX10(const MCSubtargetInfo &STI) { in isGFX9_GFX10()
2150 bool isGFX9_GFX10_GFX11(const MCSubtargetInfo &STI) { in isGFX9_GFX10_GFX11()
2154 bool isGFX8_GFX9_GFX10(const MCSubtargetInfo &STI) { in isGFX8_GFX9_GFX10()
2158 bool isGFX8Plus(const MCSubtargetInfo &STI) { in isGFX8Plus()
2162 bool isGFX9Plus(const MCSubtargetInfo &STI) { in isGFX9Plus()
2166 bool isGFX10(const MCSubtargetInfo &STI) { in isGFX10()
2170 bool isGFX10_GFX11(const MCSubtargetInfo &STI) { in isGFX10_GFX11()
2174 bool isGFX10Plus(const MCSubtargetInfo &STI) { in isGFX10Plus()
2178 bool isGFX11(const MCSubtargetInfo &STI) { in isGFX11()
2182 bool isGFX11Plus(const MCSubtargetInfo &STI) { in isGFX11Plus()
2186 bool isGFX12(const MCSubtargetInfo &STI) { in isGFX12()
2190 bool isGFX12Plus(const MCSubtargetInfo &STI) { return isGFX12(STI); } in isGFX12Plus()
2192 bool isNotGFX12Plus(const MCSubtargetInfo &STI) { return !isGFX12Plus(STI); } in isNotGFX12Plus()
2194 bool isNotGFX11Plus(const MCSubtargetInfo &STI) { in isNotGFX11Plus()
2198 bool isNotGFX10Plus(const MCSubtargetInfo &STI) { in isNotGFX10Plus()
2202 bool isGFX10Before1030(const MCSubtargetInfo &STI) { in isGFX10Before1030()
2206 bool isGCN3Encoding(const MCSubtargetInfo &STI) { in isGCN3Encoding()
2210 bool isGFX10_AEncoding(const MCSubtargetInfo &STI) { in isGFX10_AEncoding()
2214 bool isGFX10_BEncoding(const MCSubtargetInfo &STI) { in isGFX10_BEncoding()
2218 bool hasGFX10_3Insts(const MCSubtargetInfo &STI) { in hasGFX10_3Insts()
2222 bool isGFX10_3_GFX11(const MCSubtargetInfo &STI) { in isGFX10_3_GFX11()
2226 bool isGFX90A(const MCSubtargetInfo &STI) { in isGFX90A()
2230 bool isGFX940(const MCSubtargetInfo &STI) { in isGFX940()
2234 bool hasArchitectedFlatScratch(const MCSubtargetInfo &STI) { in hasArchitectedFlatScratch()
2238 bool hasMAIInsts(const MCSubtargetInfo &STI) { in hasMAIInsts()
2242 bool hasVOPD(const MCSubtargetInfo &STI) { in hasVOPD()
2246 bool hasDPPSrc1SGPR(const MCSubtargetInfo &STI) { in hasDPPSrc1SGPR()
2250 unsigned hasKernargPreload(const MCSubtargetInfo &STI) { in hasKernargPreload()
2329 unsigned getMCReg(unsigned Reg, const MCSubtargetInfo &STI) { in getMCReg()
2794 static bool hasSMEMByteOffset(const MCSubtargetInfo &ST) { in hasSMEMByteOffset()
2798 static bool hasSMRDSignedImmOffset(const MCSubtargetInfo &ST) { in hasSMRDSignedImmOffset()
2802 bool isLegalSMRDEncodedUnsignedOffset(const MCSubtargetInfo &ST, in isLegalSMRDEncodedUnsignedOffset()
2811 bool isLegalSMRDEncodedSignedOffset(const MCSubtargetInfo &ST, in isLegalSMRDEncodedSignedOffset()
2826 uint64_t convertSMRDOffsetUnits(const MCSubtargetInfo &ST, in convertSMRDOffsetUnits()
2835 std::optional<int64_t> getSMRDEncodedOffset(const MCSubtargetInfo &ST, in getSMRDEncodedOffset()
2857 std::optional<int64_t> getSMRDEncodedLiteralOffset32(const MCSubtargetInfo &ST, in getSMRDEncodedLiteralOffset32()
2867 unsigned getNumFlatOffsetBits(const MCSubtargetInfo &ST) { in getNumFlatOffsetBits()
2908 const MCSubtargetInfo &STI) { in getGcnBufferFormatInfo()
2919 const MCSubtargetInfo &STI) { in getGcnBufferFormatInfo()