LLVM 22.0.0git
|
#include "Target/AMDGPU/GCNSubtarget.h"
Public Types | |
enum class | TrapHandlerAbi { NONE = 0x00 , AMDHSA = 0x01 } |
enum class | TrapID { LLVMAMDHSATrap = 0x02 , LLVMAMDHSADebugTrap = 0x03 } |
Public Types inherited from llvm::AMDGPUSubtarget | |
enum | Generation { INVALID = 0 , R600 = 1 , R700 = 2 , EVERGREEN = 3 , NORTHERN_ISLANDS = 4 , SOUTHERN_ISLANDS = 5 , SEA_ISLANDS = 6 , VOLCANIC_ISLANDS = 7 , GFX9 = 8 , GFX10 = 9 , GFX11 = 10 , GFX12 = 11 } |
Static Public Member Functions | |
static bool | hasHalfRate64Ops (const TargetSubtargetInfo &STI) |
Static Public Member Functions inherited from llvm::AMDGPUSubtarget | |
static const AMDGPUSubtarget & | get (const MachineFunction &MF) |
static const AMDGPUSubtarget & | get (const TargetMachine &TM, const Function &F) |
Definition at line 33 of file GCNSubtarget.h.
|
strong |
Enumerator | |
---|---|
NONE | |
AMDHSA |
Definition at line 40 of file GCNSubtarget.h.
|
strong |
Enumerator | |
---|---|
LLVMAMDHSATrap | |
LLVMAMDHSADebugTrap |
Definition at line 45 of file GCNSubtarget.h.
GCNSubtarget::GCNSubtarget | ( | const Triple & | TT, |
StringRef | GPU, | ||
StringRef | FS, | ||
const GCNTargetMachine & | TM ) |
Definition at line 167 of file GCNSubtarget.cpp.
References llvm::AMDGPUSubtarget::AMDGPUSubtarget(), llvm::AMDGPUSubtarget::EUsPerCU, llvm::AMDGPU::IsaInfo::getEUsPerCU(), llvm::AMDGPU::IsaInfo::getMaxWavesPerEU(), getStackAlignment(), getTargetLowering(), initializeSubtargetDependencies(), InstrItins, llvm::AMDGPUSubtarget::MaxWavesPerEU, TargetID, and TargetTriple.
Referenced by initializeSubtargetDependencies(), and ~GCNSubtarget().
|
overridedefault |
References F, and GCNSubtarget().
|
override |
Definition at line 631 of file GCNSubtarget.cpp.
References llvm::SDep::Data, E(), getInstrItineraryData(), llvm::ilist_node_impl< OptionsT >::getIterator(), llvm::SDep::getKind(), llvm::SDep::getLatency(), llvm::MachineInstr::getParent(), llvm::SDep::getReg(), getRegisterInfo(), I, llvm::MachineBasicBlock::instr_end(), llvm::MachineInstr::isBundle(), llvm::SDep::setLatency(), and TRI.
Diagnose inconsistent subtarget features before attempting to codegen function F
.
Definition at line 158 of file GCNSubtarget.cpp.
References F.
Referenced by llvm::AMDGPUDAGToDAGISel::runOnMachineFunction(), and llvm::AMDGPUInstructionSelector::setupMF().
std::pair< unsigned, unsigned > GCNSubtarget::computeOccupancy | ( | const Function & | F, |
unsigned | LDSSize = 0, | ||
unsigned | NumSGPRs = 0, | ||
unsigned | NumVGPRs = 0 ) const |
Subtarget's minimum/maximum occupancy, in number of waves per EU, that can be achieved when the only function running on a CU is F
, each workgroup uses LDSSize
bytes of LDS, and each wave uses NumSGPRs
SGPRs and NumVGPRs
VGPRs.
The flat workgroup sizes associated to the function are a range, so this returns a range as well.
Note that occupancy can be affected by the scratch allocation as well, but we do not have enough information to compute it.
Definition at line 441 of file GCNSubtarget.cpp.
References F, llvm::AMDGPU::getDynamicVGPRBlockSize(), getDynamicVGPRBlockSize(), getOccupancyWithNumSGPRs(), getOccupancyWithNumVGPRs(), llvm::AMDGPUSubtarget::getOccupancyWithWorkGroupSizes(), and isDynamicVGPREnabled().
|
inline |
Definition at line 752 of file GCNSubtarget.h.
References hasD16LoadStore(), and TargetID.
|
inline |
Definition at line 563 of file GCNSubtarget.h.
References DumpCode.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inlineoverride |
Definition at line 1054 of file GCNSubtarget.h.
|
inline |
Definition at line 708 of file GCNSubtarget.h.
References EnableFlatScratch, flatScratchIsArchitected(), and hasFlatScratchInsts().
Referenced by getMaxPrivateElementSize().
|
inlineoverride |
Definition at line 1037 of file GCNSubtarget.h.
|
inline |
Definition at line 1210 of file GCNSubtarget.h.
References EnableSIScheduler.
Referenced by overrideSchedPolicy().
|
inlineoverride |
Definition at line 1043 of file GCNSubtarget.h.
|
inline |
Definition at line 1501 of file GCNSubtarget.h.
References HasArchitectedFlatScratch.
Referenced by enableFlatScratch().
|
inline |
Definition at line 1495 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1686 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getAddressableNumArchVGPRs().
|
inline |
Definition at line 1612 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs().
Definition at line 1691 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getAddressableNumVGPRs().
unsigned GCNSubtarget::getBaseMaxNumSGPRs | ( | const Function & | F, |
std::pair< unsigned, unsigned > | WavesPerEU, | ||
unsigned | PreloadedSGPRs, | ||
unsigned | ReservedNumSGPRs ) const |
Definition at line 458 of file GCNSubtarget.cpp.
References F, llvm::AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG, getMaxNumSGPRs(), getMinNumSGPRs(), and hasSGPRInitBug().
Referenced by getMaxNumSGPRs(), and getMaxNumSGPRs().
unsigned GCNSubtarget::getBaseMaxNumVGPRs | ( | const Function & | F, |
std::pair< unsigned, unsigned > | NumVGPRBounds ) const |
Definition at line 542 of file GCNSubtarget.cpp.
References F, and hasGFX90AInsts().
Referenced by getMaxNumVGPRs().
Definition at line 411 of file GCNSubtarget.cpp.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, HasArchitectedFlatScratch, isXNACKEnabled(), llvm::AMDGPUSubtarget::SEA_ISLANDS, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Referenced by getReservedNumSGPRs(), and getReservedNumSGPRs().
|
inline |
Definition at line 1765 of file GCNSubtarget.h.
References llvm::SIRegisterInfo::getBoolRC(), and getRegisterInfo().
|
inlineoverride |
Definition at line 331 of file GCNSubtarget.h.
Definition at line 197 of file GCNSubtarget.cpp.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 1819 of file GCNSubtarget.h.
References DynamicVGPRBlockSize32.
Referenced by computeOccupancy(), and getMaxNumVGPRs().
|
inlineoverride |
Definition at line 317 of file GCNSubtarget.h.
|
inline |
Definition at line 361 of file GCNSubtarget.h.
References Gen.
Referenced by llvm::AMDGPUMCExpr::createOccupancy(), flatScratchIsPointer(), getBaseReservedNumSGPRs(), getConstantBusLimit(), getMaxWaveScratchSize(), getNSAThreshold(), getOccupancyWithNumSGPRs(), getSetRegWaitStates(), getSNopBits(), has12DWordStoreHazard(), hasAddr64(), hasD16Images(), hasD16LoadStore(), hasDenormModeInst(), hasDPPBroadcasts(), hasDPPWavefrontShifts(), hasDsAtomicAsyncBarrierArriveB64PipeBug(), hasDX10ClampMode(), hasExtendedWaitCounts(), hasFlat(), hasFlatLgkmVMemCountInOrder(), hasFlatScratchSVSSwizzleBug(), hasFmaakFmamkF32Insts(), hasFPAtomicToDenormModeHazard(), hasFractBug(), hasGWSAutoReplay(), hasIEEEMode(), hasInstPrefetch(), hasLdsDirect(), hasLdsWaitVMSRC(), hasLegacyGeometry(), hasMad64_32(), hasMed3_16(), hasMergedShaders(), hasMin3Max3_16(), hasMultiDwordFlatScratchAddressing(), hasNoF16PseudoScalarTransInlineConstants(), hasNonNSAEncoding(), hasOnlyRevVALUShifts(), hasPermLane64(), hasPermLaneX16(), hasReadM0LdsDirectHazard(), hasReadM0LdsDmaHazard(), hasReadM0MovRelInterpHazard(), hasReadM0SendMsgHazard(), hasReadVCCZBug(), hasRFEHazards(), hasRrWGMode(), hasScalarAddSub64(), hasScalarCompareEq64(), hasScalarSMulU64(), hasScalarSubwordLoads(), hasSCmpK(), hasScratchBaseForwardingHazard(), hasSignedScratchOffsets(), hasSMRDReadVALUDefHazard(), hasSplitBarriers(), hasUsableDivScaleConditionOutput(), hasUsableDSOffset(), hasVALUMaskWriteHazard(), hasVALUPartialForwardingHazard(), hasVMEMReadSGPRVALUDefHazard(), hasVOP3DPP(), initializeSubtargetDependencies(), ldsRequiresM0Init(), partialVCCWritesUpdateVCCZ(), privateMemoryResourceIsRangeChecked(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), setRegModeNeedsVNOPs(), shouldClusterStores(), supportsGetDoorbellID(), supportsMinMaxDenormModes(), supportsWave32(), supportsWGP(), vmemWriteNeedsExpWaitcnt(), and zeroesHigh16BitsOfDest().
|
inlineoverride |
Definition at line 335 of file GCNSubtarget.h.
|
inlineoverride |
Definition at line 313 of file GCNSubtarget.h.
Referenced by llvm::SITargetLowering::AddMemOpInit(), llvm::SITargetLowering::AdjustInstrPostInstrSelection(), llvm::SITargetLowering::bundleInstWithWaitcnt(), llvm::SITargetLowering::emitGWSMemViolTestLoop(), llvm::AMDGPUAsmPrinter::emitInstruction(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::SIProgramInfo::getFunctionCodeSize(), llvm::SITargetLowering::getPrefLoopAlignment(), llvm::SITargetLowering::PerformDAGCombine(), llvm::SITargetLowering::PostISelFolding(), llvm::SITargetLowering::splitKillBlock(), and llvm::SITargetLowering::wrapAddr64Rsrc().
|
inlineoverride |
Definition at line 355 of file GCNSubtarget.h.
References InstrItins.
Referenced by adjustSchedDependency().
|
inlineoverride |
Definition at line 339 of file GCNSubtarget.h.
|
inline |
Return the number of high bits known to be zero for a frame index.
Definition at line 380 of file GCNSubtarget.h.
References llvm::countl_zero(), getMaxWaveScratchSize(), and llvm::AMDGPUSubtarget::getWavefrontSizeLog2().
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 384 of file GCNSubtarget.h.
References LDSBankCount.
|
inlineoverride |
Definition at line 343 of file GCNSubtarget.h.
|
inlineoverridevirtual |
Implements llvm::AMDGPUSubtarget.
Definition at line 1781 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxFlatWorkGroupSize().
unsigned llvm::GCNSubtarget::getMaxLocalMemSizeWithWaveCount | ( | unsigned | WaveCount, |
const Function & | ) const |
Return the amount of LDS that can be used that will not restrict the occupancy lower than WaveCount.
Definition at line 1727 of file GCNSubtarget.h.
References F, and getMaxNumVGPRs().
unsigned GCNSubtarget::getMaxNumPreloadedSGPRs | ( | ) | const |
Definition at line 512 of file GCNSubtarget.cpp.
Referenced by getMaxNumSGPRs().
F
, or number of SGPRs explicitly requested using "amdgpu-num-sgpr" attribute attached to function F
.Definition at line 537 of file GCNSubtarget.cpp.
References F, getBaseMaxNumSGPRs(), getMaxNumPreloadedSGPRs(), getReservedNumSGPRs(), and llvm::AMDGPUSubtarget::getWavesPerEU().
unsigned GCNSubtarget::getMaxNumSGPRs | ( | const MachineFunction & | MF | ) | const |
MF
, or number of SGPRs explicitly requested using "amdgpu-num-sgpr" attribute attached to function MF
.Definition at line 505 of file GCNSubtarget.cpp.
References F, getBaseMaxNumSGPRs(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), llvm::SIMachineFunctionInfo::getNumPreloadedSGPRs(), getReservedNumSGPRs(), and llvm::SIMachineFunctionInfo::getWavesPerEU().
Definition at line 1624 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxNumSGPRs().
Referenced by getBaseMaxNumSGPRs().
|
inline |
Definition at line 1066 of file GCNSubtarget.h.
References llvm::AMDGPU::getMaxNumUserSGPRs().
Return a pair of maximum numbers of VGPRs and AGPRs that meet the number of waves per execution unit required for the function MF
.
Definition at line 575 of file GCNSubtarget.cpp.
References llvm::alignTo(), assert(), F, llvm::AMDGPU::getIntegerPairAttribute(), getMaxNumVGPRs(), has1024AddressableVGPRs(), hasGFX90AInsts(), and hasMAIInsts().
F
, or number of VGPRs explicitly requested using "amdgpu-num-vgpr" attribute attached to function F
.Definition at line 557 of file GCNSubtarget.cpp.
References F, getBaseMaxNumVGPRs(), llvm::AMDGPU::getDynamicVGPRBlockSize(), getDynamicVGPRBlockSize(), getMaxNumVGPRs(), getMinNumVGPRs(), llvm::AMDGPUSubtarget::getWavesPerEU(), and isDynamicVGPREnabled().
unsigned GCNSubtarget::getMaxNumVGPRs | ( | const MachineFunction & | MF | ) | const |
MF
, or number of VGPRs explicitly requested using "amdgpu-num-vgpr" attribute attached to function MF
.Definition at line 570 of file GCNSubtarget.cpp.
References llvm::MachineFunction::getFunction(), and getMaxNumVGPRs().
|
inline |
WavesPerEU
. Definition at line 1705 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxNumVGPRs().
Referenced by getMaxNumAGPRs(), getMaxNumVectorRegs(), getMaxNumVGPRs(), and getMaxNumVGPRs().
Definition at line 388 of file GCNSubtarget.h.
References enableFlatScratch(), and MaxPrivateElementSize.
Referenced by llvm::SITargetLowering::canMergeStoresTo().
|
inline |
Definition at line 365 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX11, and llvm::AMDGPUSubtarget::GFX12.
Referenced by getKnownHighZeroBitsForFrameIndex().
|
inline |
Definition at line 382 of file AMDGPUSubtarget.h.
Referenced by getOccupancyWithNumSGPRs().
|
inlineoverridevirtual |
FlatWorkGroupSize
. Implements llvm::AMDGPUSubtarget.
Definition at line 1771 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWorkGroupsPerCU().
|
inlineoverridevirtual |
Implements llvm::AMDGPUSubtarget.
Definition at line 1776 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinFlatWorkGroupSize().
Definition at line 1618 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinNumSGPRs().
Referenced by getBaseMaxNumSGPRs().
|
inline |
WavesPerEU
. Definition at line 1697 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinNumVGPRs().
Referenced by getMaxNumVGPRs().
|
inlineoverridevirtual |
Implements llvm::AMDGPUSubtarget.
Definition at line 1794 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinWavesPerEU().
Definition at line 1180 of file GCNSubtarget.h.
References llvm::AMDGPU::getNSAMaxSize().
unsigned GCNSubtarget::getNSAThreshold | ( | const MachineFunction & | MF | ) | const |
Definition at line 676 of file GCNSubtarget.cpp.
References llvm::Function::getFnAttributeAsParsedInteger(), llvm::MachineFunction::getFunction(), getGeneration(), llvm::AMDGPUSubtarget::GFX12, and NSAThreshold.
Return the maximum number of waves per SIMD for kernels using SGPRs
SGPRs.
Definition at line 398 of file GCNSubtarget.cpp.
References getGeneration(), getMaxWavesPerEU(), and llvm::AMDGPU::IsaInfo::getOccupancyWithNumSGPRs().
Referenced by computeOccupancy().
unsigned GCNSubtarget::getOccupancyWithNumVGPRs | ( | unsigned | VGPRs, |
unsigned | DynamicVGPRBlockSize ) const |
Return the maximum number of waves per SIMD for kernels using VGPRs
VGPRs.
Definition at line 404 of file GCNSubtarget.cpp.
References llvm::AMDGPU::IsaInfo::getNumWavesPerEUWithNumVGPRs().
Referenced by computeOccupancy().
|
inlineoverride |
Definition at line 347 of file GCNSubtarget.h.
|
inlineoverride |
Definition at line 325 of file GCNSubtarget.h.
Referenced by adjustSchedDependency(), llvm::GCNTargetMachine::convertFuncInfoToYAML(), llvm::AMDGPUAsmPrinter::emitInstruction(), getBoolRC(), llvm::SITargetLowering::insertCopiesSplitCSR(), llvm::SITargetLowering::isEligibleForTailCallOptimization(), llvm::SITargetLowering::LowerFormalArguments(), llvm::AMDGPUCallLowering::lowerFormalArgumentsKernel(), llvm::SITargetLowering::LowerReturn(), and llvm::SITargetLowering::SITargetLowering().
F
. Definition at line 432 of file GCNSubtarget.cpp.
References F, getBaseReservedNumSGPRs(), and hasFlatAddressSpace().
unsigned GCNSubtarget::getReservedNumSGPRs | ( | const MachineFunction & | MF | ) | const |
MF
. Definition at line 427 of file GCNSubtarget.cpp.
References getBaseReservedNumSGPRs(), llvm::MachineFunction::getInfo(), llvm::SIMachineFunctionInfo::getUserSGPRInfo(), and llvm::GCNUserSGPRUsageInfo::hasFlatScratchInit().
Referenced by getMaxNumSGPRs(), and getMaxNumSGPRs().
|
inline |
Definition at line 1048 of file GCNSubtarget.h.
References ScalarizeGlobal.
|
override |
Definition at line 193 of file GCNSubtarget.cpp.
|
inline |
Number of hazard wait states for s_setreg_b32/s_setreg_imm32_b32.
Definition at line 559 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SEA_ISLANDS.
|
inline |
Definition at line 1597 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getSGPRAllocGranule().
|
inline |
Definition at line 1602 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getSGPREncodingGranule().
|
inline |
Definition at line 1850 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX12, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 1035 of file GCNSubtarget.h.
Referenced by GCNSubtarget().
|
inline |
Definition at line 351 of file GCNSubtarget.h.
References TargetID.
Referenced by llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inlineoverride |
Definition at line 321 of file GCNSubtarget.h.
Referenced by GCNSubtarget(), and getTM().
|
inline |
Definition at line 1607 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getTotalNumSGPRs().
|
inline |
Definition at line 1680 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getTotalNumVGPRs().
|
inline |
Definition at line 507 of file GCNSubtarget.h.
References AMDHSA, llvm::AMDGPUSubtarget::isAmdHsaOS(), and NONE.
Definition at line 1670 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getVGPRAllocGranule().
|
inline |
Definition at line 1675 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getVGPREncodingGranule().
|
inlineoverridevirtual |
FlatWorkGroupSize
. Implements llvm::AMDGPUSubtarget.
Definition at line 1788 of file GCNSubtarget.h.
References llvm::AMDGPU::IsaInfo::getWavesPerEUForWorkGroup().
|
inline |
Definition at line 1443 of file GCNSubtarget.h.
References Has1024AddressableVGPRs.
Referenced by getMaxNumVectorRegs().
|
inline |
Definition at line 1236 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
|
inline |
Definition at line 1370 of file GCNSubtarget.h.
References Has1_5xVGPRs.
|
inline |
Definition at line 1860 of file GCNSubtarget.h.
References Has45BitNumRecordsBufferResource.
|
inline |
Definition at line 1456 of file GCNSubtarget.h.
References Has64BitLiterals.
|
inline |
Definition at line 1156 of file GCNSubtarget.h.
References HasA16.
|
inline |
Definition at line 1571 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 784 of file GCNSubtarget.h.
References AddNoCarryInsts.
|
inline |
Definition at line 1441 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 429 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 1555 of file GCNSubtarget.h.
References HasAddSubU64Insts.
|
inline |
Definition at line 653 of file GCNSubtarget.h.
References HasApertureRegs.
|
inline |
Definition at line 1504 of file GCNSubtarget.h.
References HasArchitectedSGPRs.
|
inline |
Definition at line 1425 of file GCNSubtarget.h.
References HasAshrPkInsts.
|
inline |
Definition at line 931 of file GCNSubtarget.h.
References HasAtomicBufferGlobalPkAddF16Insts.
|
inline |
Definition at line 927 of file GCNSubtarget.h.
References HasAtomicBufferGlobalPkAddF16NoRtnInsts.
|
inline |
Definition at line 939 of file GCNSubtarget.h.
References HasAtomicBufferPkAddBF16Inst.
|
inline |
Definition at line 717 of file GCNSubtarget.h.
References GFX10_BEncoding.
|
inline |
Definition at line 1532 of file GCNSubtarget.h.
References HasAtomicCSubNoRtnInsts.
|
inline |
Definition at line 915 of file GCNSubtarget.h.
References HasAtomicDsPkAdd16Insts.
|
inline |
Definition at line 919 of file GCNSubtarget.h.
References HasAtomicFaddNoRtnInsts, and HasAtomicFaddRtnInsts.
|
inline |
Definition at line 925 of file GCNSubtarget.h.
References HasAtomicFaddNoRtnInsts.
|
inline |
Definition at line 923 of file GCNSubtarget.h.
References HasAtomicFaddRtnInsts.
|
inline |
Definition at line 917 of file GCNSubtarget.h.
References HasAtomicFlatPkAdd16Insts.
|
inline |
Definition at line 907 of file GCNSubtarget.h.
References HasAtomicFMinFMaxF32FlatInsts.
|
inline |
Definition at line 899 of file GCNSubtarget.h.
References HasAtomicFMinFMaxF32GlobalInsts.
|
inline |
Definition at line 911 of file GCNSubtarget.h.
References HasAtomicFMinFMaxF64FlatInsts.
|
inline |
Definition at line 903 of file GCNSubtarget.h.
References HasAtomicFMinFMaxF64GlobalInsts.
|
inline |
Definition at line 935 of file GCNSubtarget.h.
References HasAtomicGlobalPkAddBF16Inst.
|
inline |
Definition at line 613 of file GCNSubtarget.h.
References AutoWaitcntBeforeBarrier.
Definition at line 459 of file GCNSubtarget.h.
References Size.
|
inline |
Definition at line 447 of file GCNSubtarget.h.
Referenced by hasBFM().
|
inline |
Definition at line 451 of file GCNSubtarget.h.
|
inline |
Definition at line 455 of file GCNSubtarget.h.
References hasBFE().
|
inline |
Definition at line 1421 of file GCNSubtarget.h.
References HasBitOp3Insts.
|
inline |
Definition at line 1469 of file GCNSubtarget.h.
References HasBVHDualAndBVH8Insts.
|
inline |
Definition at line 485 of file GCNSubtarget.h.
|
inline |
Definition at line 1842 of file GCNSubtarget.h.
References HasClusters.
|
inline |
Return true if the target's EXP instruction has the COMPR flag, which affects the meaning of the EN (enable) bits.
Definition at line 1364 of file GCNSubtarget.h.
References GFX11Insts.
|
inline |
Definition at line 1528 of file GCNSubtarget.h.
References HasCvtFP8Vop1Bug.
|
inline |
Definition at line 1338 of file GCNSubtarget.h.
References GFX950Insts.
|
inline |
Definition at line 756 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 748 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
Referenced by d16PreservesUnusedBits().
|
inline |
Definition at line 972 of file GCNSubtarget.h.
References HasDefaultComponentBroadcast.
|
inline |
Definition at line 970 of file GCNSubtarget.h.
References HasDefaultComponentZero.
|
inline |
Return true if the target has the S_DELAY_ALU instruction.
Definition at line 1377 of file GCNSubtarget.h.
References GFX11Insts.
|
inline |
Definition at line 577 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 825 of file GCNSubtarget.h.
References HasDLInsts.
|
inline |
Definition at line 867 of file GCNSubtarget.h.
References HasDot10Insts.
|
inline |
Definition at line 871 of file GCNSubtarget.h.
References HasDot11Insts.
|
inline |
Definition at line 875 of file GCNSubtarget.h.
References HasDot12Insts.
|
inline |
Definition at line 879 of file GCNSubtarget.h.
References HasDot13Insts.
|
inline |
Definition at line 831 of file GCNSubtarget.h.
References HasDot1Insts.
|
inline |
Definition at line 835 of file GCNSubtarget.h.
References HasDot2Insts.
|
inline |
Definition at line 839 of file GCNSubtarget.h.
References HasDot3Insts.
|
inline |
Definition at line 843 of file GCNSubtarget.h.
References HasDot4Insts.
|
inline |
Definition at line 847 of file GCNSubtarget.h.
References HasDot5Insts.
|
inline |
Definition at line 851 of file GCNSubtarget.h.
References HasDot6Insts.
|
inline |
Definition at line 855 of file GCNSubtarget.h.
References HasDot7Insts.
|
inline |
Definition at line 859 of file GCNSubtarget.h.
References HasDot8Insts.
|
inline |
Definition at line 863 of file GCNSubtarget.h.
References HasDot9Insts.
|
inline |
Definition at line 1305 of file GCNSubtarget.h.
References GFX11Insts, and GFX940Insts.
|
inline |
Definition at line 1123 of file GCNSubtarget.h.
References HasDPALU_DPP.
|
inline |
Definition at line 1107 of file GCNSubtarget.h.
References HasDPP.
|
inline |
Definition at line 1119 of file GCNSubtarget.h.
References HasDPP8.
|
inline |
Definition at line 1111 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, and HasDPP.
|
inline |
Definition at line 1127 of file GCNSubtarget.h.
References HasDPPSrc1SGPR.
|
inline |
Definition at line 1115 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, and HasDPP.
|
inline |
Definition at line 592 of file GCNSubtarget.h.
References CIInsts.
|
inline |
Definition at line 1831 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1302 of file GCNSubtarget.h.
References GFX940Insts.
|
inline |
Definition at line 1241 of file GCNSubtarget.h.
References CIInsts.
|
inline |
Definition at line 1535 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 966 of file GCNSubtarget.h.
References HasEmulatedSystemScopeAtomics.
Referenced by globalMemoryFPAtomicIsLegal().
|
inline |
Definition at line 725 of file GCNSubtarget.h.
References hasGFX1250Insts(), and hasGFX940Insts().
|
inline |
Definition at line 1148 of file GCNSubtarget.h.
References HasExtendedImageInsts.
|
inline |
Definition at line 1410 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 467 of file GCNSubtarget.h.
|
inline |
Definition at line 463 of file GCNSubtarget.h.
|
inline |
Definition at line 433 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 675 of file GCNSubtarget.h.
References FlatAddressSpace.
Referenced by getReservedNumSGPRs(), and hasFlatScrRegister().
|
inline |
Definition at line 943 of file GCNSubtarget.h.
References HasFlatAtomicFaddF32Inst.
|
inline |
Definition at line 947 of file GCNSubtarget.h.
References HasFlatBufferGlobalAtomicFaddF64Inst.
|
inline |
Definition at line 687 of file GCNSubtarget.h.
References FlatGlobalInsts.
|
inline |
Definition at line 1205 of file GCNSubtarget.h.
References FlatGVSMode.
|
inline |
Definition at line 683 of file GCNSubtarget.h.
References FlatInstOffsets.
|
inline |
Definition at line 744 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 691 of file GCNSubtarget.h.
References FlatScratchInsts.
Referenced by enableFlatScratch(), and hasFlatScratchSTMode().
|
inline |
Definition at line 698 of file GCNSubtarget.h.
References hasFlatScratchInsts(), hasGFX10_3Insts(), and hasGFX940Insts().
|
inline |
Definition at line 702 of file GCNSubtarget.h.
References GFX11Insts, and GFX940Insts.
|
inline |
Definition at line 1374 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 679 of file GCNSubtarget.h.
References hasFlatAddressSpace().
|
inline |
Definition at line 740 of file GCNSubtarget.h.
References HasFlatSegmentOffsetBug.
|
inline |
Definition at line 489 of file GCNSubtarget.h.
References FMA.
|
inline |
Definition at line 1138 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, and hasGFX940Insts().
|
inline |
Definition at line 1142 of file GCNSubtarget.h.
References hasGFX1250Insts().
|
inline |
Definition at line 829 of file GCNSubtarget.h.
References HasFmacF64Inst.
|
inline |
Definition at line 483 of file GCNSubtarget.h.
References HasFmaMixBF16Insts.
|
inline |
Definition at line 479 of file GCNSubtarget.h.
References HasFmaMixInsts.
|
inline |
Definition at line 723 of file GCNSubtarget.h.
References hasGFX1250Insts().
|
inline |
Definition at line 409 of file GCNSubtarget.h.
References FP64.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 891 of file GCNSubtarget.h.
References HasFP8ConversionInsts.
|
inline |
Definition at line 893 of file GCNSubtarget.h.
References HasFP8E5M3Insts.
|
inline |
Definition at line 887 of file GCNSubtarget.h.
References HasFP8Insts.
|
inline |
Definition at line 1322 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 443 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
|
inline |
Definition at line 425 of file GCNSubtarget.h.
References FullRate64Ops.
|
inline |
Definition at line 1158 of file GCNSubtarget.h.
References HasG16.
|
inline |
Definition at line 1507 of file GCNSubtarget.h.
References HasGDS.
|
inline |
Definition at line 1588 of file GCNSubtarget.h.
References GFX1250Insts, and GFX12Insts.
|
inline |
Definition at line 984 of file GCNSubtarget.h.
References HasGetWaveIdInst.
|
inline |
Definition at line 1192 of file GCNSubtarget.h.
References GFX10_3Insts.
Referenced by hasFlatScratchSTMode().
|
inline |
Definition at line 1184 of file GCNSubtarget.h.
References GFX10_AEncoding.
|
inline |
Definition at line 1188 of file GCNSubtarget.h.
References GFX10_BEncoding.
|
inline |
Definition at line 1550 of file GCNSubtarget.h.
References GFX1250Insts.
Referenced by hasExportInsts(), hasFmaakFmamkF64Insts(), hasFormattedMUBUFInsts(), hasLdsAtomicAddF64(), hasMTBUFInsts(), hasVINTERPEncoding(), and supportsWave64().
|
inline |
Definition at line 1320 of file GCNSubtarget.h.
References GFX90AInsts.
Referenced by getBaseMaxNumVGPRs(), getMaxNumVectorRegs(), hasLdsAtomicAddF64(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 1383 of file GCNSubtarget.h.
References GFX940Insts.
Referenced by hasExportInsts(), hasFlatScratchSTMode(), and hasFmaakFmamkF32Insts().
|
inline |
Definition at line 1387 of file GCNSubtarget.h.
References GFX950Insts.
Referenced by hasLDSLoadB96_B128().
|
inline |
Definition at line 713 of file GCNSubtarget.h.
References GFX10_BEncoding.
|
inline |
Definition at line 1344 of file GCNSubtarget.h.
References HasGloballyAddressableScratch.
Referenced by getPrivateAtomicExpansionKind().
|
inline |
Definition at line 1510 of file GCNSubtarget.h.
References HasGWS.
|
inline |
Definition at line 771 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 776 of file GCNSubtarget.h.
References CIInsts.
|
inline |
Definition at line 421 of file GCNSubtarget.h.
References HalfRate64Ops.
|
static |
|
inline |
Definition at line 1318 of file GCNSubtarget.h.
References MaxHardClauseLength.
|
inline |
Definition at line 417 of file GCNSubtarget.h.
References FP64.
|
inline |
Definition at line 1541 of file GCNSubtarget.h.
References HasIEEEMinimumMaximumInsts.
|
inline |
Definition at line 1538 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1166 of file GCNSubtarget.h.
References HasImageGather4D16Bug.
|
inline |
Definition at line 1144 of file GCNSubtarget.h.
References HasImageInsts.
|
inline |
Definition at line 1164 of file GCNSubtarget.h.
References HasImageStoreD16Bug.
|
inline |
Definition at line 1278 of file GCNSubtarget.h.
References HasInstFwdPrefetchBug.
|
inline |
Definition at line 1012 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 405 of file GCNSubtarget.h.
References HasIntClamp.
|
inline |
Definition at line 1568 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1522 of file GCNSubtarget.h.
References KernargPreload.
Referenced by needsKernArgPreloadProlog().
|
inline |
Definition at line 732 of file GCNSubtarget.h.
References hasGFX1250Insts(), and hasGFX90AInsts().
|
inline |
Definition at line 1460 of file GCNSubtarget.h.
References HasLdsBarrierArriveAtomic.
|
inline |
Definition at line 1286 of file GCNSubtarget.h.
References HasLdsBranchVmemWARHazard.
|
inline |
Definition at line 1328 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1098 of file GCNSubtarget.h.
References GFX8Insts.
|
inline |
Definition at line 1099 of file GCNSubtarget.h.
References GFX1250Insts, and GFX90AInsts.
|
inline |
Returns true if the target supports global_load_lds_dwordx3/global_load_lds_dwordx4 or buffer_load_dwordx3/buffer_load_dwordx4 with the lds bit.
Definition at line 1392 of file GCNSubtarget.h.
References hasGFX950Insts().
|
inline |
Definition at line 1274 of file GCNSubtarget.h.
References EnableCuMode, and LDSMisalignedBug.
|
inline |
Definition at line 1330 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1519 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1200 of file GCNSubtarget.h.
References HasLshlAddU64Inst.
|
inline |
Definition at line 801 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SEA_ISLANDS.
bool GCNSubtarget::hasMadF16 | ( | ) | const |
Definition at line 388 of file GCNSubtarget.cpp.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 1168 of file GCNSubtarget.h.
References HasMADIntraFwdBug.
|
inline |
Definition at line 1558 of file GCNSubtarget.h.
References HasMadU32Inst.
|
inline |
Definition at line 1565 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 883 of file GCNSubtarget.h.
References HasMAIInsts.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::getHSAKernelProps(), getMaxNumVectorRegs(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 471 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 953 of file GCNSubtarget.h.
References HasMemoryAtomicFaddF32DenormalSupport.
|
inline |
Definition at line 1514 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1232 of file GCNSubtarget.h.
References HasMFMAInlineLiteralBug.
|
inline |
Definition at line 413 of file GCNSubtarget.h.
References MIMG_R128.
|
inline |
Definition at line 475 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
Referenced by supportsMin3Max3().
|
inline |
Definition at line 1435 of file GCNSubtarget.h.
References HasMin3Max3PKF16.
Referenced by supportsMin3Max3().
|
inline |
Definition at line 1431 of file GCNSubtarget.h.
References HasMinimum3Maximum3F16.
Referenced by supportsMin3Max3().
|
inline |
Definition at line 1427 of file GCNSubtarget.h.
References HasMinimum3Maximum3F32.
Referenced by supportsMin3Max3().
|
inline |
Definition at line 1445 of file GCNSubtarget.h.
References HasMinimum3Maximum3PKF16.
Referenced by supportsMin3Max3().
|
inline |
Definition at line 1198 of file GCNSubtarget.h.
References GFX1250Insts, and GFX940Insts.
|
inline |
Definition at line 1074 of file GCNSubtarget.h.
References HasMovrel.
Referenced by useVGPRIndexMode().
|
inline |
Definition at line 1170 of file GCNSubtarget.h.
References HasMSAALoadDstSelBug.
|
inline |
Definition at line 721 of file GCNSubtarget.h.
References hasGFX1250Insts().
|
inline |
Definition at line 736 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1226 of file GCNSubtarget.h.
References NegativeScratchOffsetBug.
|
inline |
Definition at line 1228 of file GCNSubtarget.h.
References NegativeUnalignedScratchOffsetBug.
|
inline |
Definition at line 1004 of file GCNSubtarget.h.
References HasNoDataDepHazard.
|
inline |
Definition at line 1414 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1176 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 976 of file GCNSubtarget.h.
References HasNoSdstCMPX.
|
inline |
Definition at line 1316 of file GCNSubtarget.h.
References HasNSAClauseBug.
|
inline |
Definition at line 1174 of file GCNSubtarget.h.
References HasNSAEncoding.
|
inline |
Definition at line 1312 of file GCNSubtarget.h.
References HasNSAtoVMEMBug.
|
inline |
Return true if the target's EXP instruction supports the NULL export target.
Definition at line 1368 of file GCNSubtarget.h.
References GFX11Insts.
|
inline |
Definition at line 1160 of file GCNSubtarget.h.
References HasOffset3fBug.
Referenced by llvm::AMDGPUAsmPrinter::emitInstruction().
|
inline |
Definition at line 439 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 1129 of file GCNSubtarget.h.
References HasPackedFP32Ops.
|
inline |
Definition at line 1379 of file GCNSubtarget.h.
References HasPackedTID.
|
inline |
Definition at line 1178 of file GCNSubtarget.h.
References HasPartialNSAEncoding.
|
inline |
Definition at line 1423 of file GCNSubtarget.h.
References HasPermlane16Swap.
|
inline |
Definition at line 1424 of file GCNSubtarget.h.
References HasPermlane32Swap.
|
inline |
Definition at line 1105 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1102 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 1574 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 895 of file GCNSubtarget.h.
References HasPkFmacF16Inst.
|
inline |
Definition at line 1577 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1134 of file GCNSubtarget.h.
References GFX90AInsts.
|
inline |
Definition at line 1458 of file GCNSubtarget.h.
References HasPointSampleAccel.
|
inline |
Definition at line 1016 of file GCNSubtarget.h.
References GFX12Insts.
|
inline |
Definition at line 1172 of file GCNSubtarget.h.
References HasPrivEnabledTrap2NopBug.
|
inline |
Definition at line 1467 of file GCNSubtarget.h.
References HasPrngInst.
|
inline |
Definition at line 1400 of file GCNSubtarget.h.
References HasPseudoScalarTrans.
|
inline |
Definition at line 1152 of file GCNSubtarget.h.
References HasR128A16.
|
inline |
Definition at line 1258 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1254 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1245 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1249 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX9, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Extra wait hazard is needed in some cases before s_cbranch_vccnz/s_cbranch_vccz.
Definition at line 533 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SEA_ISLANDS.
|
inline |
Definition at line 651 of file GCNSubtarget.h.
References RelaxedBufferOOBMode.
|
inline |
Definition at line 1404 of file GCNSubtarget.h.
References HasRequiredExportPriority.
|
inline |
Definition at line 1402 of file GCNSubtarget.h.
References HasRestrictedSOffset.
Referenced by selectSOffset().
|
inline |
Definition at line 554 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 1544 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1022 of file GCNSubtarget.h.
References HasSafeCUPrefetch.
|
inline |
Definition at line 1020 of file GCNSubtarget.h.
References HasSafeSmemPrefetch.
|
inline |
Definition at line 1398 of file GCNSubtarget.h.
References HasSALUFloatInsts.
|
inline |
Definition at line 788 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1094 of file GCNSubtarget.h.
References HasScalarAtomics.
|
inline |
Definition at line 1084 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 1088 of file GCNSubtarget.h.
References HasScalarDwordx3Loads.
|
inline |
Definition at line 704 of file GCNSubtarget.h.
References ScalarFlatScratchInsts.
|
inline |
Definition at line 501 of file GCNSubtarget.h.
References GFX9Insts.
|
inline |
Definition at line 497 of file GCNSubtarget.h.
References GFX9Insts.
|
inline |
Definition at line 790 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1090 of file GCNSubtarget.h.
References HasScalarStores.
|
inline |
Definition at line 505 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1203 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1025 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1837 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX12, and GFX1250Insts.
|
inline |
Definition at line 817 of file GCNSubtarget.h.
References HasSDWAMac.
|
inline |
Definition at line 805 of file GCNSubtarget.h.
References HasSDWAOmod.
|
inline |
Definition at line 821 of file GCNSubtarget.h.
References HasSDWAOutModsVOPC.
|
inline |
Definition at line 809 of file GCNSubtarget.h.
References HasSDWAScalar.
|
inline |
Definition at line 813 of file GCNSubtarget.h.
References HasSDWASdst.
|
inline |
Definition at line 1583 of file GCNSubtarget.h.
References HasSetPrioIncWgInst.
|
inline |
Definition at line 1580 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1218 of file GCNSubtarget.h.
References SGPRInitBug.
Referenced by getBaseMaxNumSGPRs().
|
inline |
Definition at line 996 of file GCNSubtarget.h.
References HasShaderCyclesHiLoRegisters.
Referenced by llvm::SITargetLowering::EmitInstrWithCustomInserter().
|
inline |
Definition at line 992 of file GCNSubtarget.h.
References HasShaderCyclesRegister.
|
inline |
Definition at line 1292 of file GCNSubtarget.h.
References GFX90AInsts, and GFX940Insts.
|
inline |
Definition at line 1208 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1548 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 1070 of file GCNSubtarget.h.
References HasSMemRealTime.
|
inline |
Definition at line 988 of file GCNSubtarget.h.
References HasSMemTimeInst.
|
inline |
Definition at line 1270 of file GCNSubtarget.h.
References HasSMEMtoVectorWriteHazard.
|
inline |
A read of an SGPR by SMRD instruction requires 4 wait states when the SGPR was written by a VALU instruction.
Definition at line 544 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
|
inline |
Return true if the target has the S_PACK_HL_B32_B16 instruction.
Definition at line 1360 of file GCNSubtarget.h.
References GFX11Insts.
|
inline |
Definition at line 1525 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX12.
|
inline |
Definition at line 493 of file GCNSubtarget.h.
References GFX9Insts.
|
inline |
Definition at line 1437 of file GCNSubtarget.h.
References HasTanhInsts.
|
inline |
Definition at line 1439 of file GCNSubtarget.h.
References HasTensorCvtLutInsts.
|
inline |
Definition at line 1298 of file GCNSubtarget.h.
References GFX940Insts.
|
inline |
Definition at line 1449 of file GCNSubtarget.h.
References HasTransposeLoadF4F6Insts.
|
inline |
Definition at line 647 of file GCNSubtarget.h.
References UnalignedAccessMode.
|
inline |
Definition at line 623 of file GCNSubtarget.h.
References UnalignedBufferAccess.
|
inline |
Definition at line 627 of file GCNSubtarget.h.
References UnalignedAccessMode, and UnalignedBufferAccess.
|
inline |
Definition at line 631 of file GCNSubtarget.h.
References UnalignedDSAccess.
|
inline |
Definition at line 635 of file GCNSubtarget.h.
References UnalignedAccessMode, and UnalignedDSAccess.
|
inline |
Definition at line 639 of file GCNSubtarget.h.
References UnalignedScratchAccess.
|
inline |
Definition at line 643 of file GCNSubtarget.h.
References UnalignedAccessMode, and UnalignedScratchAccess.
|
inline |
Definition at line 792 of file GCNSubtarget.h.
References HasUnpackedD16VMem.
|
inline |
Condition output from div_scale is usable.
Definition at line 527 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
|
inline |
True if the offset field of DS instructions works as expected.
On SI, the offset uses a 16-bit adder and does not always wrap properly.
Definition at line 518 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SEA_ISLANDS.
|
inline |
Definition at line 1222 of file GCNSubtarget.h.
References isWave32(), and UserSGPRInit16Bug.
|
inline |
Definition at line 1348 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1332 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1350 of file GCNSubtarget.h.
References GFX1250Insts, and GFX12Insts.
|
inline |
Definition at line 1336 of file GCNSubtarget.h.
References HasVALUTransUseHazard.
|
inline |
Definition at line 1282 of file GCNSubtarget.h.
References HasVcmpxExecWARHazard.
|
inline |
Definition at line 1262 of file GCNSubtarget.h.
References HasVcmpxPermlaneHazard.
|
inline |
Definition at line 1308 of file GCNSubtarget.h.
References GFX940Insts.
|
inline |
Definition at line 1561 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1078 of file GCNSubtarget.h.
References HasVGPRIndexMode.
Referenced by useVGPRIndexMode().
|
inline |
Definition at line 729 of file GCNSubtarget.h.
References GFX11Insts, and hasGFX1250Insts().
|
inline |
Definition at line 1018 of file GCNSubtarget.h.
References HasVmemPrefInsts.
|
inline |
A read of an SGPR by a VMEM instruction requires 5 wait states when the SGPR was written by a VALU Instruction.
Definition at line 550 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 1396 of file GCNSubtarget.h.
References HasVMemToLDSLoad.
|
inline |
Definition at line 1266 of file GCNSubtarget.h.
References HasVMEMtoScalarWriteHazard.
|
inline |
Definition at line 1406 of file GCNSubtarget.h.
References HasVmemWriteVgprInOrder.
|
inline |
Definition at line 1326 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 1000 of file GCNSubtarget.h.
References HasVOP3Literal.
|
inline |
Definition at line 1552 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1372 of file GCNSubtarget.h.
References HasVOPDInsts.
|
inline |
Definition at line 980 of file GCNSubtarget.h.
References HasVscnt.
|
inline |
Definition at line 1453 of file GCNSubtarget.h.
References HasWaitXcnt.
|
inline |
Definition at line 1419 of file GCNSubtarget.h.
References HasXF32Insts.
|
inline |
Have v_trunc_f64, v_ceil_f64, v_rndne_f64.
Definition at line 597 of file GCNSubtarget.h.
References CIInsts.
GCNSubtarget & GCNSubtarget::initializeSubtargetDependencies | ( | const Triple & | TT, |
StringRef | GPU, | ||
StringRef | FS ) |
Definition at line 57 of file GCNSubtarget.cpp.
References llvm::AMDGPUSubtarget::AddressableLocalMemorySize, llvm::Triple::AMDHSA, assert(), llvm::dbgs(), FlatForGlobal, GCNSubtarget(), Gen, getGeneration(), llvm::AMDGPU::IsaInfo::getLocalMemorySize(), llvm::AMDGPUSubtarget::getWavefrontSizeLog2(), llvm::AMDGPUSubtarget::GFX10, llvm::AMDGPUSubtarget::GFX9, hasAddr64(), hasFlat(), llvm::AMDGPUSubtarget::HasFminFmaxLegacy, hasFP64(), llvm::AMDGPUSubtarget::HasSMulHi, llvm::AMDGPUSubtarget::INVALID, llvm::AMDGPUSubtarget::isAmdHsaOS(), LDSBankCount, LLVM_DEBUG, llvm::AMDGPUSubtarget::LocalMemorySize, MaxPrivateElementSize, ParseSubtargetFeatures(), llvm::AMDGPUSubtarget::SEA_ISLANDS, llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS, TargetID, llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS, and llvm::AMDGPUSubtarget::WavefrontSizeLog2.
Referenced by GCNSubtarget().
|
inline |
Definition at line 669 of file GCNSubtarget.h.
References EnableCuMode.
|
inline |
Definition at line 1818 of file GCNSubtarget.h.
References DynamicVGPR.
Referenced by computeOccupancy(), and getMaxNumVGPRs().
Definition at line 797 of file GCNSubtarget.h.
References F, llvm::AMDGPUSubtarget::isMesa3DOS(), and llvm::AMDGPU::isShader().
|
inline |
Definition at line 673 of file GCNSubtarget.h.
References EnablePreciseMemory.
|
inline |
Definition at line 665 of file GCNSubtarget.h.
References EnableTgSplit.
|
inline |
Definition at line 657 of file GCNSubtarget.h.
References TrapHandler.
|
inline |
Definition at line 1749 of file GCNSubtarget.h.
References llvm::AMDGPUSubtarget::getWavefrontSize().
Referenced by hasUserSGPRInit16Bug(), and mirFileLoaded().
|
inline |
Definition at line 1753 of file GCNSubtarget.h.
References llvm::AMDGPUSubtarget::getWavefrontSize().
|
inline |
Returns if the wavesize of this subtarget is known reliable.
This is false only for the a default target-cpu that does not have an explicit +wavefrontsize target feature.
Definition at line 1760 of file GCNSubtarget.h.
|
inline |
Definition at line 661 of file GCNSubtarget.h.
References TargetID.
Referenced by getBaseReservedNumSGPRs(), and needsConstrainedOpcode().
|
inline |
Return if most LDS instructions have an m0 use that require m0 to be initialized.
Definition at line 762 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1214 of file GCNSubtarget.h.
References EnableLoadStoreOpt.
|
inline |
Definition at line 1465 of file GCNSubtarget.h.
References MaxHardClauseLength.
|
override |
Definition at line 377 of file GCNSubtarget.cpp.
References isWave32(), MBB, and MI.
|
inline |
Return if operations acting on VGPR tuples require even alignment.
Definition at line 1357 of file GCNSubtarget.h.
References RequiresAlignVGPR.
|
inline |
Definition at line 1592 of file GCNSubtarget.h.
References GFX1250Insts, and hasKernargPreload().
|
override |
Definition at line 340 of file GCNSubtarget.cpp.
References llvm::dbgs(), F, llvm::Attribute::getValueAsString(), llvm::Attribute::isValid(), LLVM_DEBUG, llvm::MachineSchedPolicy::OnlyBottomUp, and llvm::MachineSchedPolicy::OnlyTopDown.
|
override |
Definition at line 323 of file GCNSubtarget.cpp.
References enableSIScheduler(), llvm::MachineSchedPolicy::OnlyBottomUp, llvm::MachineSchedPolicy::OnlyTopDown, llvm::MachineSchedPolicy::ShouldTrackLaneMasks, and llvm::MachineSchedPolicy::ShouldTrackPressure.
Referenced by initializeSubtargetDependencies().
|
inline |
Writes to VCC_LO/VCC_HI update the VCCZ flag.
Definition at line 538 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 603 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1340 of file GCNSubtarget.h.
References RequiresCOV6.
|
inlineoverride |
Definition at line 1823 of file GCNSubtarget.h.
|
inline |
Definition at line 1812 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1816 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1846 of file GCNSubtarget.h.
References GFX1250Insts.
|
inline |
Definition at line 1352 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX12, and GFX1250Insts.
|
inline |
Definition at line 1047 of file GCNSubtarget.h.
References ScalarizeGlobal.
|
inline |
Definition at line 1804 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX11.
|
inline |
Definition at line 960 of file GCNSubtarget.h.
References HasAgentScopeFineGrainedRemoteMemoryAtomics.
Referenced by globalMemoryFPAtomicIsLegal().
|
inline |
Definition at line 619 of file GCNSubtarget.h.
References BackOffBarrier.
|
inline |
Definition at line 511 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 572 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 1745 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::GFX10.
|
inline |
Definition at line 1747 of file GCNSubtarget.h.
References hasGFX1250Insts().
|
inline |
Definition at line 399 of file GCNSubtarget.h.
References getGeneration(), llvm::AMDGPUSubtarget::GFX10, and GFX1250Insts.
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerMsgPackV4::getHSAKernelProps().
|
inline |
Definition at line 522 of file GCNSubtarget.h.
References EnableUnsafeDSOffsetFolding.
|
override |
Definition at line 396 of file GCNSubtarget.cpp.
References UseAA.
|
inline |
Definition at line 587 of file GCNSubtarget.h.
References CIInsts, and EnableDS128.
|
inline |
Definition at line 581 of file GCNSubtarget.h.
References FlatForGlobal.
|
inline |
Definition at line 609 of file GCNSubtarget.h.
References EnablePRTStrictNull.
|
inline |
Definition at line 1342 of file GCNSubtarget.h.
References UseBlockVGPROpsForCSR.
bool GCNSubtarget::useVGPRIndexMode | ( | ) | const |
Definition at line 392 of file GCNSubtarget.cpp.
References EnableVGPRIndexMode, hasMovrel(), and hasVGPRIndexMode().
|
inline |
Definition at line 1008 of file GCNSubtarget.h.
References getGeneration(), and llvm::AMDGPUSubtarget::SEA_ISLANDS.
Returns if the result of this instruction with a 16-bit result returned in a 32-bit register implicitly zeroes the high 16-bits, rather than preserve the original value.
This list was mostly derived from experimentation.
Definition at line 225 of file GCNSubtarget.cpp.
References getGeneration(), llvm::AMDGPUSubtarget::GFX9, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
protected |
Definition at line 228 of file GCNSubtarget.h.
Referenced by hasAddNoCarry().
|
protected |
Definition at line 102 of file GCNSubtarget.h.
|
protected |
Definition at line 77 of file GCNSubtarget.h.
Referenced by hasAutoWaitcntBeforeBarrier().
|
protected |
Definition at line 78 of file GCNSubtarget.h.
Referenced by supportsBackOffBarrier().
|
protected |
Definition at line 108 of file GCNSubtarget.h.
Referenced by hasDS96AndDS128(), hasDwordx3LoadStores(), hasGWSSemaReleaseAll(), haveRoundOpsF64(), and useDS128().
|
protected |
Definition at line 101 of file GCNSubtarget.h.
Referenced by dumpCode().
|
protected |
Definition at line 199 of file GCNSubtarget.h.
Referenced by isDynamicVGPREnabled().
|
protected |
Definition at line 200 of file GCNSubtarget.h.
Referenced by getDynamicVGPRBlockSize().
|
protected |
Definition at line 91 of file GCNSubtarget.h.
Referenced by hasLDSMisalignedBug(), and isCuModeEnabled().
|
protected |
Definition at line 99 of file GCNSubtarget.h.
Referenced by useDS128().
|
protected |
Definition at line 224 of file GCNSubtarget.h.
Referenced by enableFlatScratch().
|
protected |
Definition at line 96 of file GCNSubtarget.h.
Referenced by loadStoreOptEnabled().
|
protected |
Definition at line 93 of file GCNSubtarget.h.
Referenced by isPreciseMemoryEnabled().
|
protected |
Definition at line 100 of file GCNSubtarget.h.
Referenced by usePRTStrictNull().
|
protected |
Definition at line 98 of file GCNSubtarget.h.
Referenced by enableSIScheduler().
|
protected |
Definition at line 206 of file GCNSubtarget.h.
|
protected |
Definition at line 90 of file GCNSubtarget.h.
Referenced by isTgSplitEnabled().
|
protected |
Definition at line 97 of file GCNSubtarget.h.
Referenced by unsafeDSOffsetFoldingEnabled().
|
protected |
Definition at line 88 of file GCNSubtarget.h.
|
protected |
Definition at line 71 of file GCNSubtarget.h.
|
protected |
Definition at line 294 of file GCNSubtarget.h.
|
protected |
Definition at line 217 of file GCNSubtarget.h.
Referenced by hasFlatAddressSpace().
|
protected |
Definition at line 76 of file GCNSubtarget.h.
Referenced by initializeSubtargetDependencies(), and useFlatForGlobal().
|
protected |
Definition at line 219 of file GCNSubtarget.h.
Referenced by hasFlatGlobalInsts().
|
protected |
Definition at line 221 of file GCNSubtarget.h.
Referenced by hasFlatGVSMode().
|
protected |
Definition at line 218 of file GCNSubtarget.h.
Referenced by hasFlatInstOffsets().
|
protected |
Definition at line 220 of file GCNSubtarget.h.
Referenced by hasFlatScratchInsts().
|
protected |
Definition at line 106 of file GCNSubtarget.h.
Referenced by hasFMA().
|
protected |
Definition at line 105 of file GCNSubtarget.h.
Referenced by hasFP64(), and hasHWFP64().
|
protected |
Definition at line 73 of file GCNSubtarget.h.
Referenced by hasFullRate64Ops().
Definition at line 65 of file GCNSubtarget.h.
Referenced by getGeneration(), and initializeSubtargetDependencies().
|
protected |
Definition at line 118 of file GCNSubtarget.h.
Referenced by hasGFX10_3Insts().
|
protected |
Definition at line 150 of file GCNSubtarget.h.
Referenced by hasGFX10_AEncoding().
|
protected |
Definition at line 151 of file GCNSubtarget.h.
Referenced by hasAtomicCSub(), hasGFX10_BEncoding(), and hasGlobalAddTidInsts().
|
protected |
Definition at line 114 of file GCNSubtarget.h.
|
protected |
Definition at line 115 of file GCNSubtarget.h.
Referenced by hasCompressedExport(), hasDelayAlu(), hasDOTOpSelHazard(), hasFlatScratchSVSMode(), hasNullExportTarget(), hasSPackHL(), and hasVINTERPEncoding().
|
protected |
Definition at line 117 of file GCNSubtarget.h.
Referenced by hasAddMinMaxInsts(), hasAddPC64Inst(), hasGetPCZeroExtension(), hasGFX1250Insts(), hasIntMinMax64(), hasLDSFPAtomicAddF64(), hasMadU64U32NoCarry(), hasMovB64(), hasPkAddMinMaxInsts(), hasPkMinMax3Insts(), hasScaleOffset(), hasScratchBaseForwardingHazard(), hasSGetShaderCyclesInst(), hasSignedGVSOffset(), hasVALUReadSGPRHazard(), hasVectorMulU64(), hasVOPD3(), needsKernArgPreloadProlog(), requiresNopBeforeDeallocVGPRs(), requiresWaitIdleBeforeGetReg(), requiresWaitXCntBeforeAtomicStores(), setRegModeNeedsVNOPs(), and supportsWGP().
|
protected |
Definition at line 116 of file GCNSubtarget.h.
Referenced by hasGetPCZeroExtension(), hasPrefetch(), and hasVALUReadSGPRHazard().
|
protected |
Definition at line 119 of file GCNSubtarget.h.
|
protected |
Definition at line 109 of file GCNSubtarget.h.
Referenced by hasLDSFPAtomicAddF32().
|
protected |
Definition at line 111 of file GCNSubtarget.h.
Referenced by hasGFX90AInsts(), hasLDSFPAtomicAddF64(), hasPkMovB32(), and hasShift64HighRegBug().
|
protected |
Definition at line 112 of file GCNSubtarget.h.
Referenced by hasDOTOpSelHazard(), hasDstSelForwardingHazard(), hasFlatScratchSVSMode(), hasGFX940Insts(), hasMovB64(), hasShift64HighRegBug(), hasTransForwardingHazard(), and hasVDecCoExecHazard().
|
protected |
Definition at line 113 of file GCNSubtarget.h.
Referenced by hasCvtScaleForwardingHazard(), and hasGFX950Insts().
|
protected |
Definition at line 110 of file GCNSubtarget.h.
Referenced by hasScalarMulHiInsts(), hasScalarPackInsts(), and hasSwap().
|
protected |
Definition at line 72 of file GCNSubtarget.h.
Referenced by hasHalfRate64Ops().
|
protected |
Definition at line 240 of file GCNSubtarget.h.
Referenced by has1024AddressableVGPRs().
|
protected |
Definition at line 266 of file GCNSubtarget.h.
Referenced by has1_5xVGPRs().
|
protected |
Definition at line 289 of file GCNSubtarget.h.
Referenced by has45BitNumRecordsBufferResource().
|
protected |
Definition at line 239 of file GCNSubtarget.h.
Referenced by has64BitLiterals().
|
protected |
Definition at line 146 of file GCNSubtarget.h.
Referenced by hasA16().
|
protected |
Definition at line 279 of file GCNSubtarget.h.
Referenced by hasAddSubU64Insts().
|
protected |
Definition at line 190 of file GCNSubtarget.h.
Referenced by supportsAgentScopeFineGrainedRemoteMemoryAtomics().
|
protected |
Definition at line 82 of file GCNSubtarget.h.
Referenced by hasApertureRegs().
|
protected |
Definition at line 223 of file GCNSubtarget.h.
Referenced by flatScratchIsArchitected(), and getBaseReservedNumSGPRs().
|
protected |
Definition at line 225 of file GCNSubtarget.h.
Referenced by hasArchitectedSGPRs().
|
protected |
Definition at line 272 of file GCNSubtarget.h.
Referenced by hasAshrPkInsts().
|
protected |
Definition at line 183 of file GCNSubtarget.h.
Referenced by hasAtomicBufferGlobalPkAddF16Insts().
|
protected |
Definition at line 182 of file GCNSubtarget.h.
Referenced by hasAtomicBufferGlobalPkAddF16NoRtnInsts().
|
protected |
Definition at line 186 of file GCNSubtarget.h.
Referenced by hasAtomicBufferPkAddBF16Inst().
|
protected |
Definition at line 184 of file GCNSubtarget.h.
Referenced by hasAtomicCSubNoRtnInsts().
|
protected |
Definition at line 177 of file GCNSubtarget.h.
Referenced by hasAtomicDsPkAdd16Insts().
|
protected |
Definition at line 180 of file GCNSubtarget.h.
Referenced by hasAtomicFaddInsts(), and hasAtomicFaddNoRtnInsts().
|
protected |
Definition at line 179 of file GCNSubtarget.h.
Referenced by hasAtomicFaddInsts(), and hasAtomicFaddRtnInsts().
|
protected |
Definition at line 178 of file GCNSubtarget.h.
Referenced by hasAtomicFlatPkAdd16Insts().
|
protected |
Definition at line 175 of file GCNSubtarget.h.
Referenced by hasAtomicFMinFMaxF32FlatInsts().
|
protected |
Definition at line 173 of file GCNSubtarget.h.
Referenced by hasAtomicFMinFMaxF32GlobalInsts().
|
protected |
Definition at line 176 of file GCNSubtarget.h.
Referenced by hasAtomicFMinFMaxF64FlatInsts().
|
protected |
Definition at line 174 of file GCNSubtarget.h.
Referenced by hasAtomicFMinFMaxF64GlobalInsts().
|
protected |
Definition at line 185 of file GCNSubtarget.h.
Referenced by hasAtomicGlobalPkAddBF16Inst().
|
protected |
Definition at line 241 of file GCNSubtarget.h.
Referenced by hasBitOp3Insts().
|
protected |
Definition at line 246 of file GCNSubtarget.h.
Referenced by hasBVHDualAndBVH8Insts().
|
protected |
Definition at line 291 of file GCNSubtarget.h.
Referenced by hasClusters().
|
protected |
Definition at line 171 of file GCNSubtarget.h.
Referenced by hasCvtFP8VOP1Bug().
|
protected |
Definition at line 192 of file GCNSubtarget.h.
Referenced by hasDefaultComponentBroadcast().
|
protected |
Definition at line 189 of file GCNSubtarget.h.
Referenced by hasDefaultComponentZero().
|
protected |
Definition at line 152 of file GCNSubtarget.h.
Referenced by hasDLInsts().
|
protected |
Definition at line 163 of file GCNSubtarget.h.
Referenced by hasDot10Insts().
|
protected |
Definition at line 164 of file GCNSubtarget.h.
Referenced by hasDot11Insts().
|
protected |
Definition at line 165 of file GCNSubtarget.h.
Referenced by hasDot12Insts().
|
protected |
Definition at line 166 of file GCNSubtarget.h.
Referenced by hasDot13Insts().
|
protected |
Definition at line 154 of file GCNSubtarget.h.
Referenced by hasDot1Insts().
|
protected |
Definition at line 155 of file GCNSubtarget.h.
Referenced by hasDot2Insts().
|
protected |
Definition at line 156 of file GCNSubtarget.h.
Referenced by hasDot3Insts().
|
protected |
Definition at line 157 of file GCNSubtarget.h.
Referenced by hasDot4Insts().
|
protected |
Definition at line 158 of file GCNSubtarget.h.
Referenced by hasDot5Insts().
|
protected |
Definition at line 159 of file GCNSubtarget.h.
Referenced by hasDot6Insts().
|
protected |
Definition at line 160 of file GCNSubtarget.h.
Referenced by hasDot7Insts().
|
protected |
Definition at line 161 of file GCNSubtarget.h.
Referenced by hasDot8Insts().
|
protected |
Definition at line 162 of file GCNSubtarget.h.
Referenced by hasDot9Insts().
|
protected |
Definition at line 140 of file GCNSubtarget.h.
Referenced by hasDPALU_DPP().
|
protected |
Definition at line 138 of file GCNSubtarget.h.
Referenced by hasDPP(), hasDPPBroadcasts(), and hasDPPWavefrontShifts().
|
protected |
Definition at line 139 of file GCNSubtarget.h.
Referenced by hasDPP8().
|
protected |
Definition at line 141 of file GCNSubtarget.h.
Referenced by hasDPPSrc1SGPR().
|
protected |
Definition at line 191 of file GCNSubtarget.h.
Referenced by hasEmulatedSystemScopeAtomics().
|
protected |
Definition at line 144 of file GCNSubtarget.h.
Referenced by hasExtendedImageInsts().
|
protected |
Definition at line 187 of file GCNSubtarget.h.
Referenced by hasFlatAtomicFaddF32Inst().
|
protected |
Definition at line 188 of file GCNSubtarget.h.
Referenced by hasFlatBufferGlobalAtomicFaddF64Inst().
|
protected |
Definition at line 261 of file GCNSubtarget.h.
Referenced by hasFlatSegmentOffsetBug().
|
protected |
Definition at line 153 of file GCNSubtarget.h.
Referenced by hasFmacF64Inst().
|
protected |
Definition at line 127 of file GCNSubtarget.h.
Referenced by hasFmaMixBF16Insts().
|
protected |
Definition at line 126 of file GCNSubtarget.h.
Referenced by hasFmaMixInsts().
|
protected |
Definition at line 169 of file GCNSubtarget.h.
Referenced by hasFP8ConversionInsts().
|
protected |
Definition at line 170 of file GCNSubtarget.h.
Referenced by hasFP8E5M3Insts().
|
protected |
Definition at line 168 of file GCNSubtarget.h.
Referenced by hasFP8Insts().
|
protected |
Definition at line 147 of file GCNSubtarget.h.
Referenced by hasG16().
|
protected |
Definition at line 226 of file GCNSubtarget.h.
Referenced by hasGDS().
|
protected |
Definition at line 211 of file GCNSubtarget.h.
Referenced by hasGetWaveIdInst().
|
protected |
Definition at line 287 of file GCNSubtarget.h.
Referenced by hasGloballyAddressableScratch().
|
protected |
Definition at line 227 of file GCNSubtarget.h.
Referenced by hasGWS().
|
protected |
Definition at line 273 of file GCNSubtarget.h.
Referenced by hasIEEEMinimumMaximumInsts().
|
protected |
Definition at line 263 of file GCNSubtarget.h.
Referenced by hasImageGather4D16Bug().
|
protected |
Definition at line 143 of file GCNSubtarget.h.
Referenced by hasImageInsts().
|
protected |
Definition at line 262 of file GCNSubtarget.h.
Referenced by hasImageStoreD16Bug().
|
protected |
Definition at line 252 of file GCNSubtarget.h.
Referenced by hasInstFwdPrefetchBug().
|
protected |
Definition at line 125 of file GCNSubtarget.h.
Referenced by hasIntClamp().
|
protected |
Definition at line 282 of file GCNSubtarget.h.
Referenced by hasLdsBarrierArriveAtomic().
|
protected |
Definition at line 257 of file GCNSubtarget.h.
Referenced by hasLdsBranchVmemWARHazard().
|
protected |
Definition at line 278 of file GCNSubtarget.h.
Referenced by hasLshlAddU64Inst().
|
protected |
Definition at line 267 of file GCNSubtarget.h.
Referenced by hasMADIntraFwdBug().
|
protected |
Definition at line 280 of file GCNSubtarget.h.
Referenced by hasMadU32Inst().
|
protected |
Definition at line 167 of file GCNSubtarget.h.
Referenced by hasMAIInsts().
|
protected |
Definition at line 181 of file GCNSubtarget.h.
Referenced by hasMemoryAtomicFaddF32DenormalSupport().
|
protected |
Definition at line 231 of file GCNSubtarget.h.
Referenced by hasMFMAInlineLiteralBug().
|
protected |
Definition at line 276 of file GCNSubtarget.h.
Referenced by hasMin3Max3PKF16().
|
protected |
Definition at line 275 of file GCNSubtarget.h.
Referenced by hasMinimum3Maximum3F16().
|
protected |
Definition at line 274 of file GCNSubtarget.h.
Referenced by hasMinimum3Maximum3F32().
|
protected |
Definition at line 277 of file GCNSubtarget.h.
Referenced by hasMinimum3Maximum3PKF16().
|
protected |
Definition at line 128 of file GCNSubtarget.h.
Referenced by hasMovrel().
|
protected |
Definition at line 264 of file GCNSubtarget.h.
Referenced by hasMSAALoadDstSelBug().
|
protected |
Definition at line 216 of file GCNSubtarget.h.
Referenced by hasNoDataDepHazard().
|
protected |
Definition at line 208 of file GCNSubtarget.h.
Referenced by hasNoSdstCMPX().
|
protected |
Definition at line 259 of file GCNSubtarget.h.
Referenced by hasNSAClauseBug().
|
protected |
Definition at line 148 of file GCNSubtarget.h.
Referenced by hasNSAEncoding().
|
protected |
Definition at line 258 of file GCNSubtarget.h.
Referenced by hasNSAtoVMEMBug().
|
protected |
Definition at line 260 of file GCNSubtarget.h.
Referenced by hasOffset3fBug().
|
protected |
Definition at line 142 of file GCNSubtarget.h.
Referenced by hasPackedFP32Ops().
|
protected |
Definition at line 234 of file GCNSubtarget.h.
Referenced by hasPackedTID().
|
protected |
Definition at line 149 of file GCNSubtarget.h.
Referenced by hasPartialNSAEncoding().
|
protected |
Definition at line 247 of file GCNSubtarget.h.
Referenced by hasPermlane16Swap().
|
protected |
Definition at line 248 of file GCNSubtarget.h.
Referenced by hasPermlane32Swap().
|
protected |
Definition at line 172 of file GCNSubtarget.h.
Referenced by hasPkFmacF16Inst().
|
protected |
Definition at line 281 of file GCNSubtarget.h.
Referenced by hasPointSampleAccel().
|
protected |
Definition at line 265 of file GCNSubtarget.h.
Referenced by hasPrivEnabledTrap2NopBug().
|
protected |
Definition at line 245 of file GCNSubtarget.h.
Referenced by hasPrngInst().
|
protected |
Definition at line 237 of file GCNSubtarget.h.
Referenced by hasPseudoScalarTrans().
|
protected |
Definition at line 145 of file GCNSubtarget.h.
Referenced by hasR128A16().
|
protected |
Definition at line 270 of file GCNSubtarget.h.
Referenced by hasRequiredExportPriority().
|
protected |
Definition at line 238 of file GCNSubtarget.h.
Referenced by hasRestrictedSOffset().
|
protected |
Definition at line 255 of file GCNSubtarget.h.
Referenced by hasSafeCUPrefetch().
|
protected |
Definition at line 254 of file GCNSubtarget.h.
Referenced by hasSafeSmemPrefetch().
|
protected |
Definition at line 236 of file GCNSubtarget.h.
Referenced by hasSALUFloatInsts().
|
protected |
Definition at line 132 of file GCNSubtarget.h.
Referenced by hasScalarAtomics().
|
protected |
Definition at line 130 of file GCNSubtarget.h.
Referenced by hasScalarDwordx3Loads().
|
protected |
Definition at line 131 of file GCNSubtarget.h.
Referenced by hasScalarStores().
|
protected |
Definition at line 136 of file GCNSubtarget.h.
Referenced by hasSDWAMac().
|
protected |
Definition at line 133 of file GCNSubtarget.h.
Referenced by hasSDWAOmod().
|
protected |
Definition at line 137 of file GCNSubtarget.h.
Referenced by hasSDWAOutModsVOPC().
|
protected |
Definition at line 134 of file GCNSubtarget.h.
Referenced by hasSDWAScalar().
|
protected |
Definition at line 135 of file GCNSubtarget.h.
Referenced by hasSDWASdst().
|
protected |
Definition at line 283 of file GCNSubtarget.h.
Referenced by hasSetPrioIncWgInst().
|
protected |
Definition at line 214 of file GCNSubtarget.h.
Referenced by hasShaderCyclesHiLoRegisters().
|
protected |
Definition at line 213 of file GCNSubtarget.h.
Referenced by hasShaderCyclesRegister().
|
protected |
Definition at line 124 of file GCNSubtarget.h.
Referenced by hasSMemRealTime().
|
protected |
Definition at line 212 of file GCNSubtarget.h.
Referenced by hasSMemTimeInst().
|
protected |
Definition at line 251 of file GCNSubtarget.h.
Referenced by hasSMEMtoVectorWriteHazard().
|
protected |
Definition at line 242 of file GCNSubtarget.h.
Referenced by hasTanhInsts().
|
protected |
Definition at line 243 of file GCNSubtarget.h.
Referenced by hasTensorCvtLutInsts().
|
protected |
Definition at line 244 of file GCNSubtarget.h.
Referenced by hasTransposeLoadF4F6Insts().
|
protected |
Definition at line 229 of file GCNSubtarget.h.
Referenced by hasUnpackedD16VMem().
|
protected |
Definition at line 269 of file GCNSubtarget.h.
Referenced by hasVALUTransUseHazard().
|
protected |
Definition at line 256 of file GCNSubtarget.h.
Referenced by hasVcmpxExecWARHazard().
|
protected |
Definition at line 249 of file GCNSubtarget.h.
Referenced by hasVcmpxPermlaneHazard().
|
protected |
Definition at line 129 of file GCNSubtarget.h.
Referenced by hasVGPRIndexMode().
|
protected |
Definition at line 253 of file GCNSubtarget.h.
Referenced by hasVmemPrefInsts().
|
protected |
Definition at line 201 of file GCNSubtarget.h.
Referenced by hasVMemToLDSLoad().
|
protected |
Definition at line 250 of file GCNSubtarget.h.
Referenced by hasVMEMtoScalarWriteHazard().
|
protected |
Definition at line 271 of file GCNSubtarget.h.
Referenced by hasVmemWriteVgprInOrder().
|
protected |
Definition at line 215 of file GCNSubtarget.h.
Referenced by hasVOP3Literal().
|
protected |
Definition at line 268 of file GCNSubtarget.h.
Referenced by hasVOPDInsts().
|
protected |
Definition at line 209 of file GCNSubtarget.h.
Referenced by hasVscnt().
|
protected |
Definition at line 210 of file GCNSubtarget.h.
Referenced by hasWaitXCnt().
|
protected |
Definition at line 193 of file GCNSubtarget.h.
Referenced by hasXF32Insts().
|
protected |
Definition at line 66 of file GCNSubtarget.h.
Referenced by GCNSubtarget(), and getInstrItineraryData().
|
protected |
Definition at line 84 of file GCNSubtarget.h.
Referenced by hasKernargPreload().
|
protected |
Definition at line 67 of file GCNSubtarget.h.
Referenced by getLDSBankCount(), and initializeSubtargetDependencies().
|
protected |
Definition at line 230 of file GCNSubtarget.h.
Referenced by hasLDSMisalignedBug().
|
protected |
The maximum number of instructions that may be placed within an S_CLAUSE, which is one greater than the maximum argument to S_CLAUSE.
A value of 0 indicates a lack of S_CLAUSE support.
Definition at line 197 of file GCNSubtarget.h.
Referenced by hasHardClauses(), and maxHardClauseLength().
|
protected |
Definition at line 68 of file GCNSubtarget.h.
Referenced by getMaxPrivateElementSize(), and initializeSubtargetDependencies().
|
protected |
Definition at line 107 of file GCNSubtarget.h.
Referenced by hasMIMG_R128().
|
protected |
Definition at line 122 of file GCNSubtarget.h.
Referenced by hasNegativeScratchOffsetBug().
|
protected |
Definition at line 123 of file GCNSubtarget.h.
Referenced by hasNegativeUnalignedScratchOffsetBug().
|
protected |
Definition at line 81 of file GCNSubtarget.h.
Referenced by hasRelaxedBufferOOBMode().
|
protected |
Definition at line 202 of file GCNSubtarget.h.
Referenced by needsAlignedVGPRs().
|
protected |
Definition at line 285 of file GCNSubtarget.h.
Referenced by requiresCodeObjectV6().
|
protected |
Definition at line 222 of file GCNSubtarget.h.
Referenced by hasScalarFlatScratchInsts().
|
protected |
Definition at line 235 of file GCNSubtarget.h.
Referenced by getScalarizeGlobalBehavior(), and setScalarizeGlobalBehavior().
|
protected |
Definition at line 120 of file GCNSubtarget.h.
Referenced by hasSGPRInitBug().
|
protected |
Definition at line 198 of file GCNSubtarget.h.
|
protected |
Definition at line 83 of file GCNSubtarget.h.
|
protected |
Definition at line 64 of file GCNSubtarget.h.
Referenced by d16PreservesUnusedBits(), GCNSubtarget(), getTargetID(), initializeSubtargetDependencies(), and isXNACKEnabled().
|
protected |
Definition at line 63 of file GCNSubtarget.h.
Referenced by GCNSubtarget().
|
protected |
Definition at line 92 of file GCNSubtarget.h.
Referenced by isTrapHandlerEnabled().
|
protected |
Definition at line 80 of file GCNSubtarget.h.
Referenced by hasUnalignedAccessMode(), hasUnalignedBufferAccessEnabled(), hasUnalignedDSAccessEnabled(), and hasUnalignedScratchAccessEnabled().
|
protected |
Definition at line 232 of file GCNSubtarget.h.
Referenced by hasUnalignedBufferAccess(), and hasUnalignedBufferAccessEnabled().
|
protected |
Definition at line 233 of file GCNSubtarget.h.
Referenced by hasUnalignedDSAccess(), and hasUnalignedDSAccessEnabled().
|
protected |
Definition at line 79 of file GCNSubtarget.h.
Referenced by hasUnalignedScratchAccess(), and hasUnalignedScratchAccessEnabled().
|
protected |
Definition at line 286 of file GCNSubtarget.h.
Referenced by useVGPRBlockOpsForCSR().
|
protected |
Definition at line 121 of file GCNSubtarget.h.
Referenced by hasUserSGPRInit16Bug().