|
LLVM
7.0.0
|
#include "Target/AMDGPU/AMDGPUSubtarget.h"
Public Types | |
| enum | { ISAVersion0_0_0, ISAVersion6_0_0, ISAVersion6_0_1, ISAVersion7_0_0, ISAVersion7_0_1, ISAVersion7_0_2, ISAVersion7_0_3, ISAVersion7_0_4, ISAVersion8_0_1, ISAVersion8_0_2, ISAVersion8_0_3, ISAVersion8_1_0, ISAVersion9_0_0, ISAVersion9_0_2, ISAVersion9_0_4, ISAVersion9_0_6 } |
| enum | TrapHandlerAbi { TrapHandlerAbiNone = 0, TrapHandlerAbiHsa = 1 } |
| enum | TrapID { TrapIDHardwareReserved = 0, TrapIDHSADebugTrap = 1, TrapIDLLVMTrap = 2, TrapIDLLVMDebugTrap = 3, TrapIDDebugBreakpoint = 7, TrapIDDebugReserved8 = 8, TrapIDDebugReservedFE = 0xfe, TrapIDDebugReservedFF = 0xff } |
| enum | TrapRegValues { LLVMTrapHandlerRegValue = 1 } |
Public Types inherited from llvm::AMDGPUSubtarget | |
| enum | Generation { R600 = 0, R700 = 1, EVERGREEN = 2, NORTHERN_ISLANDS = 3, SOUTHERN_ISLANDS = 4, SEA_ISLANDS = 5, VOLCANIC_ISLANDS = 6, GFX9 = 7 } |
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 249 of file AMDGPUSubtarget.h.
| anonymous enum |
Definition at line 252 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| TrapHandlerAbiNone | |
| TrapHandlerAbiHsa | |
Definition at line 271 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| TrapIDHardwareReserved | |
| TrapIDHSADebugTrap | |
| TrapIDLLVMTrap | |
| TrapIDLLVMDebugTrap | |
| TrapIDDebugBreakpoint | |
| TrapIDDebugReserved8 | |
| TrapIDDebugReservedFE | |
| TrapIDDebugReservedFF | |
Definition at line 276 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| LLVMTrapHandlerRegValue | |
Definition at line 287 of file AMDGPUSubtarget.h.
| GCNSubtarget::GCNSubtarget | ( | const Triple & | TT, |
| StringRef | GPU, | ||
| StringRef | FS, | ||
| const GCNTargetMachine & | TM | ||
| ) |
Definition at line 145 of file AMDGPUSubtarget.cpp.
References AS, llvm::AMDGPU::getAMDGPUAS(), getRegisterInfo(), and getTargetLowering().
|
overridedefault |
|
inline |
Definition at line 680 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 804 of file AMDGPUSubtarget.h.
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue(), hasAnyNonFlatUseOfReg(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
|
inline |
Definition at line 800 of file AMDGPUSubtarget.h.
Referenced by llvm::createSIDebuggerInsertNopsPass().
|
inline |
Definition at line 796 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 532 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount().
Referenced by llvm::AMDGPUAsmPrinter::EmitBasicBlockStart(), llvm::AMDGPUAsmPrinter::EmitFunctionEntryLabel(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 553 of file AMDGPUSubtarget.h.
Referenced by getMad64_32(), getSplatConstantFP(), hasAnyNonFlatUseOfReg(), and isClampZeroToOne().
|
inlineoverride |
Definition at line 743 of file AMDGPUSubtarget.h.
References F().
|
inline |
Definition at line 524 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
|
inline |
Definition at line 557 of file AMDGPUSubtarget.h.
References llvm::Function::getCallingConv(), llvm::MachineFunction::getFunction(), and llvm::AMDGPU::isCompute().
Referenced by hasAnyNonFlatUseOfReg(), and isCanonicalized().
|
inlineoverride |
Definition at line 696 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 792 of file AMDGPUSubtarget.h.
Referenced by llvm::R600TargetMachine::createPassConfig().
|
inlineoverride |
Definition at line 700 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 842 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by getAllSGPRs().
|
inline |
Definition at line 870 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getAddressableNumSGPRs(), and llvm::MCSubtargetInfo::getFeatureBits().
Referenced by hasAnyNonFlatUseOfReg().
|
inline |
Definition at line 920 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getAddressableNumVGPRs(), and llvm::MCSubtargetInfo::getFeatureBits().
|
inline |
Definition at line 444 of file AMDGPUSubtarget.h.
References AS.
Referenced by llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::SIInstrInfo::getAddressSpaceForPseudoSourceKind(), llvm::GCNTTIImpl::getFlatAddressSpace(), and llvm::SITargetLowering::isSDNodeSourceOfDivergence().
|
inlineoverride |
Definition at line 405 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 709 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getEUsPerCU(), and llvm::MCSubtargetInfo::getFeatureBits().
|
inlineoverride |
Definition at line 393 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 428 of file AMDGPUSubtarget.h.
Referenced by addRegsToSet(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), getFPTernOp(), llvm::SITargetLowering::getRegisterByName(), getSmrdOpcode(), hasAnyNonFlatUseOfReg(), llvm::SITargetLowering::isLegalAddressingMode(), llvm::SITargetLowering::LowerFormalArguments(), parseCachePolicy(), llvm::SIMachineFunctionInfo::SIMachineFunctionInfo(), llvm::SITargetLowering::SITargetLowering(), and subtargetEncodingFamily().
|
inlineoverride |
Definition at line 389 of file AMDGPUSubtarget.h.
Referenced by addRegsToSet(), llvm::SITargetLowering::AdjustInstrPostInstrSelection(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), bitOpWithConstantIsReducible(), buildMUBUFOffsetLoadStore(), checkRegOnlyPHIInputs(), llvm::createSIDebuggerInsertNopsPass(), llvm::createSILowerI1CopiesPass(), llvm::createSIWholeQuadModePass(), llvm::SIFrameLowering::eliminateCallFramePseudoInstr(), llvm::SIRegisterInfo::eliminateFrameIndex(), llvm::SIFrameLowering::emitEntryFunctionPrologue(), llvm::SIFrameLowering::emitEpilogue(), emitIndirectDst(), emitIndirectSrc(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::SIFrameLowering::emitPrologue(), findSingleRegDef(), getAllSGPRs(), getOrExecSource(), getPermuteMask(), llvm::SITargetLowering::getTgtMemIntrinsic(), hasAnyNonFlatUseOfReg(), hoistAndMergeSGPRInits(), llvm::SITargetLowering::insertCopiesSplitCSR(), isLiveOut(), llvm::SITargetLowering::isSDNodeSourceOfDivergence(), llvm::SIRegisterInfo::materializeFrameBaseRegister(), llvm::SITargetLowering::PostISelFolding(), llvm::SIFrameLowering::processFunctionBeforeFrameFinalized(), llvm::SIRegisterInfo::resolveFrameIndex(), llvm::SIRegisterInfo::restoreSGPR(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), shrinkScalarCompare(), llvm::SIRegisterInfo::spillSGPR(), llvm::SITargetLowering::splitKillBlock(), and llvm::SITargetLowering::wrapAddr64Rsrc().
|
inlineoverride |
Definition at line 409 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 436 of file AMDGPUSubtarget.h.
|
inlineoverride |
Definition at line 413 of file AMDGPUSubtarget.h.
| 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 884 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMaxNumSGPRs().
Referenced by getAllSGPR128(), getAllSGPRs(), llvm::SIRegisterInfo::getRegPressureLimit(), llvm::SIRegisterInfo::getReservedRegs(), llvm::GCNMaxOccupancySchedStrategy::initialize(), llvm::SIRegisterInfo::reservedPrivateSegmentBufferReg(), and llvm::SIRegisterInfo::reservedPrivateSegmentWaveByteOffsetReg().
| 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 546 of file AMDGPUSubtarget.cpp.
References F(), llvm::AMDGPU::IsaInfo::FIXED_NUM_SGPRS_FOR_INIT_BUG, llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), llvm::AMDGPU::getIntegerAttribute(), llvm::AMDGPU::IsaInfo::getMaxNumSGPRs(), llvm::AMDGPU::IsaInfo::getMinNumSGPRs(), llvm::SIMachineFunctionInfo::getNumPreloadedSGPRs(), llvm::SIMachineFunctionInfo::getWavesPerEU(), and llvm::Function::hasFnAttribute().
|
inline |
Definition at line 752 of file AMDGPUSubtarget.h.
Referenced by hasAnyNonFlatUseOfReg().
Definition at line 934 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMaxNumVGPRs().
Referenced by llvm::SIRegisterInfo::getRegPressureLimit(), llvm::SIRegisterInfo::getReservedRegs(), and llvm::GCNMaxOccupancySchedStrategy::initialize().
| 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 596 of file AMDGPUSubtarget.cpp.
References llvm::SUnit::addPred(), llvm::SUnit::addPredBarrier(), llvm::cl::apply(), llvm::SDep::Artificial, llvm::ScheduleDAG::ExitSU, F(), llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), llvm::SUnit::getInstr(), llvm::AMDGPU::getIntegerAttribute(), llvm::AMDGPU::IsaInfo::getMaxNumVGPRs(), llvm::AMDGPU::IsaInfo::getMinNumVGPRs(), llvm::SDep::getSUnit(), llvm::SIMachineFunctionInfo::getWavesPerEU(), llvm::Function::hasFnAttribute(), llvm::SIInstrInfo::isDS(), llvm::SIInstrInfo::isFLAT(), llvm::SIInstrInfo::isSMRD(), llvm::SIInstrInfo::isVMEM(), llvm::MachineInstr::mayLoad(), llvm::MachineInstr::mayStore(), llvm::SUnit::Preds, SI, llvm::SUnit::Succs, llvm::ScheduleDAG::SUnits, and TII.
|
inline |
Definition at line 440 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::canMergeStoresTo(), getFPTernOp(), and getLoadExtOrTrunc().
|
inline |
Definition at line 715 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMaxWavesPerCU().
FlatWorkGroupSize. Definition at line 721 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMaxWavesPerCU().
|
inline |
Definition at line 728 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWavesPerEU().
Referenced by llvm::AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount(), llvm::AMDGPUSubtarget::getOccupancyWithLocalMemSize(), and llvm::AMDGPUSubtarget::getWavesPerEU().
Definition at line 877 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMinNumSGPRs().
Referenced by hasAnyNonFlatUseOfReg().
Definition at line 927 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getMinNumVGPRs().
Referenced by hasAnyNonFlatUseOfReg().
Return the maximum number of waves per SIMD for kernels using SGPRs SGPRs.
Definition at line 487 of file AMDGPUSubtarget.cpp.
References llvm::R600Subtarget::getGeneration(), and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Referenced by llvm::GCNRegPressure::getOccupancy(), llvm::GCNRegPressure::less(), and llvm::GCNRegPressure::print().
Return the maximum number of waves per SIMD for kernels using VGPRs VGPRs.
Definition at line 510 of file AMDGPUSubtarget.cpp.
Referenced by llvm::GCNRegPressure::getOccupancy(), llvm::GCNRegPressure::less(), and llvm::GCNRegPressure::print().
|
override |
Definition at line 677 of file AMDGPUSubtarget.cpp.
|
inlineoverride |
Definition at line 417 of file AMDGPUSubtarget.h.
|
inlineoverride |
Definition at line 401 of file AMDGPUSubtarget.h.
References llvm::SIInstrInfo::getRegisterInfo().
Referenced by addRegsToSet(), llvm::SIMachineFunctionInfo::allocateSGPRSpillToVGPR(), checkRegOnlyPHIInputs(), llvm::createSIWholeQuadModePass(), llvm::SITargetLowering::finalizeLowering(), findScratchNonCalleeSaveRegister(), findSingleRegDef(), GCNSubtarget(), getOModValue(), getOrExecSource(), llvm::SITargetLowering::getRegisterByName(), hoistAndMergeSGPRInits(), llvm::SITargetLowering::insertCopiesSplitCSR(), llvm::SITargetLowering::isEligibleForTailCallOptimization(), isLiveOut(), llvm::SITargetLowering::LowerCall(), llvm::SITargetLowering::LowerFormalArguments(), llvm::SITargetLowering::LowerReturn(), llvm::SITargetLowering::passSpecialInputs(), readsVCCZ(), llvm::GCNHazardRecognizer::RecedeCycle(), and llvm::SITargetLowering::SITargetLowering().
| unsigned GCNSubtarget::getReservedNumSGPRs | ( | const MachineFunction & | MF | ) | const |
MF. Definition at line 532 of file AMDGPUSubtarget.cpp.
References llvm::R600Subtarget::getGeneration(), llvm::MachineFunction::getInfo(), llvm::SIMachineFunctionInfo::hasFlatScratchInit(), llvm::AMDGPUSubtarget::SEA_ISLANDS, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 705 of file AMDGPUSubtarget.h.
References ScalarizeGlobal.
Referenced by getLoadExtOrTrunc().
|
inlineoverride |
Definition at line 422 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 853 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getSGPRAllocGranule().
|
inline |
Definition at line 859 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getSGPREncodingGranule().
|
inline |
Definition at line 692 of file AMDGPUSubtarget.h.
|
inlineoverride |
Definition at line 397 of file AMDGPUSubtarget.h.
Referenced by GCNSubtarget().
|
inline |
Definition at line 865 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getTotalNumSGPRs().
|
inline |
Definition at line 915 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getTotalNumVGPRs().
|
inline |
Definition at line 520 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::isAmdHsaOS().
Referenced by findUser().
|
inline |
Definition at line 903 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getVGPRAllocGranule().
|
inline |
Definition at line 909 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getVGPREncodingGranule().
|
inline |
Definition at line 432 of file AMDGPUSubtarget.h.
References llvm::Log2_32(), and llvm::AMDGPUSubtarget::WavefrontSize.
Referenced by llvm::AMDGPUTargetLowering::computeKnownBitsForTargetNode().
FlatWorkGroupSize. Definition at line 734 of file AMDGPUSubtarget.h.
References llvm::MCSubtargetInfo::getFeatureBits(), and llvm::AMDGPU::IsaInfo::getWavesPerWorkGroup().
|
inline |
Definition at line 816 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS.
Referenced by addRegsToSet().
|
inline |
Definition at line 635 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 472 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Referenced by llvm::SITargetLowering::getAddrModeArguments().
|
inline |
Definition at line 593 of file AMDGPUSubtarget.h.
Referenced by copyFeaturesToFunction(), and findUser().
|
inline |
Definition at line 577 of file AMDGPUSubtarget.h.
Definition at line 488 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 476 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 480 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 484 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 512 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 581 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 625 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 676 of file AMDGPUSubtarget.h.
Referenced by getMad64_32(), and llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd().
|
inline |
Definition at line 788 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 464 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd().
|
inline |
Definition at line 496 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 492 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 605 of file AMDGPUSubtarget.h.
Referenced by copyFeaturesToFunction(), llvm::GCNTTIImpl::getFlatAddressSpace(), llvm::SIMachineFunctionInfo::SIMachineFunctionInfo(), and llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 613 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::getAddrModeArguments().
|
inline |
Definition at line 609 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::getAddrModeArguments().
|
inline |
Definition at line 621 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 617 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 516 of file AMDGPUSubtarget.h.
References llvm::ISD::FMA.
|
inline |
Definition at line 508 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::isFPExtFoldable().
|
inline |
Definition at line 541 of file AMDGPUSubtarget.h.
Referenced by convertBuildVectorCastElt(), isCanonicalized(), llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd(), and llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 452 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 545 of file AMDGPUSubtarget.h.
Referenced by getFPMode(), and isCanonicalized().
|
inline |
Definition at line 468 of file AMDGPUSubtarget.h.
|
static |
|
inline |
Definition at line 460 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 448 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 784 of file AMDGPUSubtarget.h.
Referenced by llvm::SIRegisterInfo::eliminateFrameIndex(), and llvm::SIInstrInfo::isInlineConstant().
|
inline |
Definition at line 648 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::SEA_ISLANDS.
Referenced by getMad64_32().
|
inline |
Definition at line 500 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by getSplatConstantFP(), and minMaxOpcToMin3Max3Opc().
|
inline |
Definition at line 848 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue().
|
inline |
Definition at line 456 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 504 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by getSplatConstantFP().
|
inline |
Definition at line 760 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 824 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoops().
|
inline |
Definition at line 828 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Referenced by llvm::GCNHazardRecognizer::getHazardType(), and llvm::GCNHazardRecognizer::PreEmitNoops().
|
inline |
Definition at line 780 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 772 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
|
inline |
Definition at line 776 of file AMDGPUSubtarget.h.
Referenced by llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SIRegisterInfo::SIRegisterInfo(), and llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 664 of file AMDGPUSubtarget.h.
Referenced by findSingleRegDef().
|
inline |
Definition at line 652 of file AMDGPUSubtarget.h.
Referenced by findSingleRegDef(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 668 of file AMDGPUSubtarget.h.
Referenced by findSingleRegDef(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 656 of file AMDGPUSubtarget.h.
Referenced by findSingleRegDef(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 660 of file AMDGPUSubtarget.h.
Referenced by findSingleRegDef(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 812 of file AMDGPUSubtarget.h.
Referenced by getAllSGPRs(), and hasAnyNonFlatUseOfReg().
|
inline |
Definition at line 756 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 820 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by addRegsToSet().
|
inline |
Definition at line 585 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses().
|
inline |
Definition at line 589 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses().
|
inline |
Definition at line 639 of file AMDGPUSubtarget.h.
Referenced by adjustLoadValueTypeImpl(), and parseCachePolicy().
|
inline |
Definition at line 764 of file AMDGPUSubtarget.h.
| GCNSubtarget & GCNSubtarget::initializeSubtargetDependencies | ( | const Triple & | TT, |
| StringRef | GPU, | ||
| StringRef | FS | ||
| ) |
Definition at line 67 of file AMDGPUSubtarget.cpp.
References llvm::Triple::amdgcn, assert(), llvm::StringRef::contains(), llvm::Triple::getArch(), llvm::R600Subtarget::getGeneration(), llvm::AMDGPUSubtarget::HasFminFmaxLegacy, llvm::AMDGPUSubtarget::isAmdHsaOS(), llvm::AMDGPUSubtarget::LocalMemorySize, llvm::R600Subtarget::ParseSubtargetFeatures(), llvm::AMDGPUSubtarget::SOUTHERN_ISLANDS, and llvm::AMDGPUSubtarget::VOLCANIC_ISLANDS.
Definition at line 644 of file AMDGPUSubtarget.h.
References llvm::Function::getCallingConv(), llvm::AMDGPUSubtarget::isMesa3DOS(), and llvm::AMDGPU::isShader().
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
|
inline |
Definition at line 597 of file AMDGPUSubtarget.h.
Referenced by findUser(), and hasAnyNonFlatUseOfReg().
Definition at line 483 of file AMDGPUSubtarget.cpp.
References llvm::Function::getCallingConv(), and llvm::AMDGPU::isShader().
Referenced by getRsrcReg(), llvm::SIInstrInfo::loadRegFromStackSlot(), llvm::SIMachineFunctionInfo::SIMachineFunctionInfo(), and llvm::SIInstrInfo::storeRegToStackSlot().
|
inline |
Definition at line 601 of file AMDGPUSubtarget.h.
Referenced by addRegsToSet().
|
inline |
Return if most LDS instructions have an m0 use that require m0 to be iniitalized.
Definition at line 631 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 808 of file AMDGPUSubtarget.h.
References EnableLoadStoreOpt.
|
override |
Definition at line 466 of file AMDGPUSubtarget.cpp.
References llvm::MachineSchedPolicy::OnlyBottomUp, llvm::MachineSchedPolicy::OnlyTopDown, llvm::MachineSchedPolicy::ShouldTrackLaneMasks, and llvm::MachineSchedPolicy::ShouldTrackPressure.
|
inline |
Definition at line 573 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
|
inline |
Definition at line 704 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 549 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::GFX9.
Referenced by isCanonicalized().
|
inline |
Definition at line 528 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 567 of file AMDGPUSubtarget.h.
Referenced by getFPTernOp(), and getLoadExtOrTrunc().
|
inline |
Definition at line 561 of file AMDGPUSubtarget.h.
Referenced by llvm::SITargetLowering::getAddrModeArguments().
Definition at line 768 of file AMDGPUSubtarget.h.
Referenced by emitIndirectDst(), and emitIndirectSrc().
|
inline |
Definition at line 672 of file AMDGPUSubtarget.h.
References llvm::AMDGPUSubtarget::SEA_ISLANDS.
|
protected |
Definition at line 362 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 375 of file AMDGPUSubtarget.h.
Referenced by GCNSubtarget().
|
protected |
Definition at line 314 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 365 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 366 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 339 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 315 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 357 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 322 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 321 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 331 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 312 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 330 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 325 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 327 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 329 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 328 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 326 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 319 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 307 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 372 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 358 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 313 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 360 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 359 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 361 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 335 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 334 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 311 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 338 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 301 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 340 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 308 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 318 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 356 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 355 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 344 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 343 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 349 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 345 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 348 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 347 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 353 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 350 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 354 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 351 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 352 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 342 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 363 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 367 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 346 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 302 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 337 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 303 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 304 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 336 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 364 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 369 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 341 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 300 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 368 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 320 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 374 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 317 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 316 of file AMDGPUSubtarget.h.
1.8.13