|
LLVM
5.0.0
|
#include "Target/AMDGPU/AMDGPUSubtarget.h"
Public Types | |
| enum | Generation { R600 = 0, R700, EVERGREEN, NORTHERN_ISLANDS, SOUTHERN_ISLANDS, SEA_ISLANDS, VOLCANIC_ISLANDS, GFX9 } |
| enum | { ISAVersion0_0_0, ISAVersion6_0_0, ISAVersion6_0_1, ISAVersion7_0_0, ISAVersion7_0_1, ISAVersion7_0_2, ISAVersion7_0_3, ISAVersion8_0_0, ISAVersion8_0_1, ISAVersion8_0_2, ISAVersion8_0_3, ISAVersion8_0_4, ISAVersion8_1_0, ISAVersion9_0_0, ISAVersion9_0_1, ISAVersion9_0_2, ISAVersion9_0_3 } |
| 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 } |
Definition at line 45 of file AMDGPUSubtarget.h.
| anonymous enum |
Definition at line 58 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| R600 | |
| R700 | |
| EVERGREEN | |
| NORTHERN_ISLANDS | |
| SOUTHERN_ISLANDS | |
| SEA_ISLANDS | |
| VOLCANIC_ISLANDS | |
| GFX9 | |
Definition at line 47 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| TrapHandlerAbiNone | |
| TrapHandlerAbiHsa | |
Definition at line 78 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| TrapIDHardwareReserved | |
| TrapIDHSADebugTrap | |
| TrapIDLLVMTrap | |
| TrapIDLLVMDebugTrap | |
| TrapIDDebugBreakpoint | |
| TrapIDDebugReserved8 | |
| TrapIDDebugReservedFE | |
| TrapIDDebugReservedFF | |
Definition at line 83 of file AMDGPUSubtarget.h.
| Enumerator | |
|---|---|
| LLVMTrapHandlerRegValue | |
Definition at line 94 of file AMDGPUSubtarget.h.
| AMDGPUSubtarget::AMDGPUSubtarget | ( | const Triple & | TT, |
| StringRef | GPU, | ||
| StringRef | FS, | ||
| const TargetMachine & | TM | ||
| ) |
Definition at line 108 of file AMDGPUSubtarget.cpp.
References AS, llvm::AMDGPU::getAMDGPUAS(), and initializeSubtargetDependencies().
|
overridedefault |
|
inline |
Definition at line 332 of file AMDGPUSubtarget.h.
References DumpCode.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 370 of file AMDGPUSubtarget.h.
References DX10Clamp.
Referenced by llvm::AMDGPUTargetLowering::performClampCombine().
|
inline |
Definition at line 374 of file AMDGPUSubtarget.h.
References llvm::Function::getCallingConv(), llvm::MachineFunction::getFunction(), and llvm::AMDGPU::isCompute().
|
inlineoverride |
Definition at line 488 of file AMDGPUSubtarget.h.
|
inlineoverride |
Definition at line 492 of file AMDGPUSubtarget.h.
|
inline |
Definition at line 469 of file AMDGPUSubtarget.h.
References isAmdHsaOS().
Referenced by llvm::AMDGPUTargetLowering::getImplicitParameterOffset(), and llvm::SISubtarget::getKernArgSegmentSize().
|
inline |
Definition at line 233 of file AMDGPUSubtarget.h.
References AS.
Referenced by canFoldOffset(), llvm::SIFrameLowering::emitEntryFunctionPrologue(), llvm::AMDGPUTTIImpl::getFlatAddressSpace(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), llvm::AMDGPUTTIImpl::getUnrollingPreferences(), llvm::AMDGPUTTIImpl::isLegalToVectorizeMemChain(), and llvm::AMDGPUTTIImpl::isSourceOfDivergence().
|
inline |
Definition at line 501 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getEUsPerCU().
|
inline |
Returns the offset in bytes from the start of the input buffer of the first explicit kernel argument.
Definition at line 465 of file AMDGPUSubtarget.h.
References isAmdCodeObjectV2().
Referenced by llvm::AMDGPUCallLowering::lowerFormalArguments(), llvm::R600TargetLowering::LowerFormalArguments(), and llvm::SITargetLowering::LowerFormalArguments().
F, or minimum/maximum flat work group sizes explicitly requested using "amdgpu-flat-work-group-size" attribute attached to function F.Definition at line 206 of file AMDGPUSubtarget.cpp.
References llvm::Default, llvm::Function::getCallingConv(), llvm::AMDGPU::getIntegerAttribute(), llvm::AMDGPU::getIntegerPairAttribute(), getMaxFlatWorkGroupSize(), getMinFlatWorkGroupSize(), getWavefrontSize(), llvm::AMDGPU::isCompute(), and fuzzer::min().
Referenced by getMaxLocalMemSizeWithWaveCount(), getOccupancyWithLocalMemSize(), getWavesPerEU(), ImplicitBufferPtr(), and makeLIDRangeMetadata().
|
overridepure virtual |
Implemented in llvm::SISubtarget, and llvm::R600Subtarget.
|
inline |
Definition at line 213 of file AMDGPUSubtarget.h.
References Gen.
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), canFoldOffset(), llvm::SISubtarget::flatScratchIsPointer(), llvm::AMDGPUTTIImpl::getArithmeticInstrCost(), llvm::SIInstrInfo::getDefaultRsrcDataFormat(), llvm::AMDGPUTTIImpl::getHardwareNumberOfRegisters(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), getNumExtraSGPRs(), llvm::SISubtarget::getOccupancyWithNumSGPRs(), llvm::SITargetLowering::getRegisterByName(), llvm::SISubtarget::getReservedNumSGPRs(), llvm::SIInstrInfo::getScratchRsrcWords23(), llvm::SISubtarget::has12DWordStoreHazard(), hasAddr64(), hasBCNT(), hasBFE(), hasBFI(), hasBORROW(), hasCARRY(), hasFFBH(), hasFFBL(), hasFminFmaxLegacy(), hasMed3_16(), hasMin3Max3_16(), hasMulI24(), hasMulU24(), llvm::SISubtarget::hasReadM0Hazard(), llvm::SISubtarget::hasScalarCompareEq64(), llvm::SISubtarget::hasSMovFedHazard(), ImplicitBufferPtr(), initializeSubtargetDependencies(), llvm::SITargetLowering::isLegalAddressingMode(), llvm::SITargetLowering::LowerFormalArguments(), llvm::SIInstrInfo::moveToVALU(), llvm::AMDGPUInstrInfo::pseudoToMCOpcode(), llvm::AMDGPUAsmPrinter::runOnMachineFunction(), llvm::SITargetLowering::SITargetLowering(), subtargetEncodingFamily(), and supportsMinMaxDenormModes().
|
inline |
Definition at line 473 of file AMDGPUSubtarget.h.
References isAmdHsaOS(), isMesaKernel(), and isOpenCLEnv().
Referenced by llvm::SISubtarget::getKernArgSegmentSize().
|
overridepure virtual |
Implemented in llvm::SISubtarget, and llvm::R600Subtarget.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction(), and llvm::AMDGPUMCInstLower::lower().
|
inlineoverride |
Definition at line 189 of file AMDGPUSubtarget.h.
References InstrItins.
|
inline |
Definition at line 225 of file AMDGPUSubtarget.h.
References LDSBankCount.
|
inline |
Definition at line 221 of file AMDGPUSubtarget.h.
References LocalMemorySize.
Referenced by getMaxLocalMemSizeWithWaveCount(), and getOccupancyWithLocalMemSize().
|
inline |
Definition at line 550 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxFlatWorkGroupSize().
Referenced by getFlatWorkGroupSizes().
| unsigned AMDGPUSubtarget::getMaxLocalMemSizeWithWaveCount | ( | unsigned | WaveCount, |
| const Function & | F | ||
| ) | const |
Return the amount of LDS that can be used that will not restrict the occupancy lower than WaveCount.
Definition at line 184 of file AMDGPUSubtarget.cpp.
References getFlatWorkGroupSizes(), getLocalMemorySize(), getMaxWavesPerEU(), and getMaxWorkGroupsPerCU().
|
inline |
Definition at line 229 of file AMDGPUSubtarget.h.
References MaxPrivateElementSize.
Referenced by llvm::SITargetLowering::canMergeStoresTo(), llvm::AMDGPUTTIImpl::getLoadStoreVecRegBitWidth(), and llvm::SIInstrInfo::getScratchRsrcWords23().
|
inline |
Definition at line 514 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWavesPerCU().
FlatWorkGroupSize. Definition at line 520 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWavesPerCU().
|
inline |
Definition at line 533 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWavesPerEU().
Referenced by getMaxLocalMemSizeWithWaveCount(), getOccupancyWithLocalMemSize(), and getWavesPerEU().
FlatWorkGroupSize. Definition at line 539 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWavesPerEU().
FlatWorkGroupSize. Definition at line 507 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMaxWorkGroupsPerCU().
Referenced by getMaxLocalMemSizeWithWaveCount(), and getOccupancyWithLocalMemSize().
|
inline |
Definition at line 545 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinFlatWorkGroupSize().
Referenced by getFlatWorkGroupSizes().
|
inline |
Definition at line 527 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getMinWavesPerEU().
Referenced by getWavesPerEU().
Inverse of getMaxLocalMemWithWaveCount.
Return the maximum wavecount if the given LDS memory size is the only constraint.
Definition at line 194 of file AMDGPUSubtarget.cpp.
References getFlatWorkGroupSizes(), getLocalMemorySize(), getMaxWavesPerEU(), getMaxWorkGroupsPerCU(), llvm::max(), and fuzzer::min().
Referenced by getMaxWaves(), getOccupancyWithLocalMemSize(), and llvm::SIRegisterInfo::getRegPressureLimit().
|
inline |
Definition at line 345 of file AMDGPUSubtarget.h.
References llvm::MachineFunction::getFunction(), llvm::MachineFunction::getInfo(), and getOccupancyWithLocalMemSize().
|
overridepure virtual |
Implemented in llvm::SISubtarget, and llvm::R600Subtarget.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction(), and llvm::SITargetLowering::getRegisterByName().
|
inline |
Definition at line 497 of file AMDGPUSubtarget.h.
References ScalarizeGlobal.
|
inlineoverride |
Definition at line 194 of file AMDGPUSubtarget.h.
References TSInfo.
|
inline |
Definition at line 484 of file AMDGPUSubtarget.h.
|
overridepure virtual |
Implemented in llvm::SISubtarget, and llvm::R600Subtarget.
|
inline |
Definition at line 320 of file AMDGPUSubtarget.h.
References isAmdHsaOS(), TrapHandlerAbiHsa, and TrapHandlerAbiNone.
|
inline |
Definition at line 217 of file AMDGPUSubtarget.h.
References WavefrontSize.
Referenced by llvm::SIMachineFunctionInfo::allocateSGPRSpillToVGPR(), llvm::SIRegisterInfo::eliminateFrameIndex(), llvm::SIFrameLowering::emitEntryFunctionPrologue(), llvm::SIFrameLowering::emitEpilogue(), llvm::SIFrameLowering::emitPrologue(), getFlatWorkGroupSizes(), llvm::SIRegisterInfo::restoreSGPR(), and llvm::SIRegisterInfo::spillSGPR().
F, or minimum/maximum number of waves per execution unit explicitly requested using "amdgpu-waves-per-eu" attribute attached to function F.Definition at line 238 of file AMDGPUSubtarget.cpp.
References llvm::Default, getFlatWorkGroupSizes(), llvm::AMDGPU::getIntegerPairAttribute(), getMaxWavesPerEU(), getMinWavesPerEU(), and llvm::Function::hasFnAttribute().
Referenced by ImplicitBufferPtr().
FlatWorkGroupSize. Definition at line 556 of file AMDGPUSubtarget.h.
References llvm::AMDGPU::IsaInfo::getWavesPerWorkGroup().
|
inline |
Definition at line 237 of file AMDGPUSubtarget.h.
References Has16BitInsts.
Referenced by llvm::AMDGPUTTIImpl::getVectorInstrCost(), llvm::AMDGPUTargetLowering::isFAbsFree(), llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd(), llvm::AMDGPUTargetLowering::isFNegFree(), llvm::AMDGPUTargetLowering::isFPImmLegal(), llvm::SIInstrInfo::isInlineConstant(), llvm::AMDGPUTargetLowering::isTruncateFree(), llvm::SITargetLowering::isTypeDesirableForOp(), llvm::AMDGPUTargetLowering::isZExtFree(), llvm::AMDGPUTargetLowering::LowerFP_TO_SINT(), llvm::AMDGPUTargetLowering::LowerFP_TO_UINT(), llvm::AMDGPUTargetLowering::LowerSINT_TO_FP(), llvm::AMDGPUTargetLowering::LowerUINT_TO_FP(), llvm::AMDGPUTargetLowering::performFAbsCombine(), llvm::AMDGPUTargetLowering::performMulCombine(), and llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 257 of file AMDGPUSubtarget.h.
References getGeneration(), and VOLCANIC_ISLANDS.
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 394 of file AMDGPUSubtarget.h.
References HasApertureRegs.
|
inline |
Definition at line 382 of file AMDGPUSubtarget.h.
References AutoWaitcntBeforeBarrier.
Definition at line 273 of file AMDGPUSubtarget.h.
References EVERGREEN, getGeneration(), and SOUTHERN_ISLANDS.
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering().
|
inline |
Definition at line 261 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering(), hasBFM(), and llvm::R600TargetLowering::R600TargetLowering().
|
inline |
Definition at line 265 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering().
|
inline |
Definition at line 269 of file AMDGPUSubtarget.h.
References hasBFE().
|
inline |
Definition at line 312 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::R600TargetLowering::R600TargetLowering().
|
inline |
Definition at line 308 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::R600TargetLowering::R600TargetLowering().
|
inline |
Definition at line 316 of file AMDGPUSubtarget.h.
References CaymanISA.
Referenced by hasMulI24(), llvm::R600SchedStrategy::initialize(), and llvm::R600InstrInfo::isTransOnly().
|
inline |
Definition at line 249 of file AMDGPUSubtarget.h.
References FastFMAF32.
Referenced by llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd().
|
inline |
Definition at line 296 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering().
|
inline |
Definition at line 292 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering().
|
inline |
Definition at line 406 of file AMDGPUSubtarget.h.
References FlatAddressSpace.
Referenced by llvm::AMDGPUTTIImpl::getFlatAddressSpace(), and ImplicitBufferPtr().
|
inline |
Definition at line 414 of file AMDGPUSubtarget.h.
References FlatGlobalInsts.
|
inline |
Definition at line 410 of file AMDGPUSubtarget.h.
References FlatInstOffsets.
|
inline |
Definition at line 418 of file AMDGPUSubtarget.h.
References FlatScratchInsts.
|
inline |
Definition at line 435 of file AMDGPUSubtarget.h.
References getGeneration(), and VOLCANIC_ISLANDS.
Referenced by llvm::AMDGPUTargetLowering::performSelectCombine().
|
inline |
Definition at line 350 of file AMDGPUSubtarget.h.
References FP64FP16Denormals.
Referenced by isCanonicalized(), llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd(), and llvm::SITargetLowering::SITargetLowering().
|
inline |
Definition at line 354 of file AMDGPUSubtarget.h.
References FP32Denormals.
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering(), llvm::AMDGPUTTIImpl::getArithmeticInstrCost(), getFPMode(), llvm::SITargetLowering::isFMAFasterThanFMulAndFAdd(), and llvm::AMDGPUTargetLowering::LowerDIVREM24().
|
inline |
Definition at line 358 of file AMDGPUSubtarget.h.
References FP64FP16Denormals.
Referenced by getFPMode().
|
inline |
Definition at line 366 of file AMDGPUSubtarget.h.
References FPExceptions.
Referenced by llvm::AMDGPUTargetLowering::AMDGPUTargetLowering().
|
inline |
Definition at line 253 of file AMDGPUSubtarget.h.
References HalfRate64Ops.
|
inline |
Definition at line 245 of file AMDGPUSubtarget.h.
References FP64.
|
inline |
Definition at line 300 of file AMDGPUSubtarget.h.
References getGeneration(), and GFX9.
|
inline |
Definition at line 304 of file AMDGPUSubtarget.h.
References getGeneration(), and GFX9.
|
inline |
Definition at line 287 of file AMDGPUSubtarget.h.
References getGeneration(), hasCaymanISA(), and SOUTHERN_ISLANDS.
Referenced by llvm::AMDGPUTargetLowering::performMulCombine(), and llvm::AMDGPUTargetLowering::performMulhsCombine().
|
inline |
Definition at line 283 of file AMDGPUSubtarget.h.
References EVERGREEN, and getGeneration().
Referenced by llvm::AMDGPUTargetLowering::performMulCombine(), and llvm::AMDGPUTargetLowering::performMulhuCombine().
|
inline |
Definition at line 439 of file AMDGPUSubtarget.h.
References HasSDWA.
Referenced by llvm::AMDGPUTargetLowering::PerformDAGCombine(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 455 of file AMDGPUSubtarget.h.
References HasSDWAMac.
|
inline |
Definition at line 443 of file AMDGPUSubtarget.h.
References HasSDWAOmod.
Referenced by llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 459 of file AMDGPUSubtarget.h.
References HasSDWAOutModsVOPC.
Referenced by llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 447 of file AMDGPUSubtarget.h.
References HasSDWAScalar.
Referenced by llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 451 of file AMDGPUSubtarget.h.
References HasSDWASdst.
Referenced by llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 386 of file AMDGPUSubtarget.h.
References UnalignedBufferAccess.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses().
|
inline |
Definition at line 390 of file AMDGPUSubtarget.h.
References UnalignedScratchAccess.
Referenced by llvm::SITargetLowering::allowsMisalignedMemoryAccesses(), and llvm::AMDGPUTTIImpl::isLegalToVectorizeMemChain().
|
inline |
Definition at line 241 of file AMDGPUSubtarget.h.
References HasVOP3PInsts.
Referenced by llvm::AMDGPUTTIImpl::getShuffleCost(), llvm::AMDGPUTargetLowering::isFNegFree(), and llvm::SITargetLowering::SITargetLowering().
| AMDGPUSubtarget & AMDGPUSubtarget::initializeSubtargetDependencies | ( | const Triple & | TT, |
| StringRef | GPU, | ||
| StringRef | FS | ||
| ) |
Definition at line 42 of file AMDGPUSubtarget.cpp.
References llvm::StringRef::contains(), FlatForGlobal, FP32Denormals, FP64FP16Denormals, getGeneration(), hasAddr64(), isAmdHsaOS(), MaxPrivateElementSize, NORTHERN_ISLANDS, and ParseSubtargetFeatures().
Referenced by AMDGPUSubtarget().
|
inline |
Definition at line 431 of file AMDGPUSubtarget.h.
References isAmdHsaOS(), and isMesaKernel().
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue(), llvm::AMDGPUAsmPrinter::EmitFunctionBodyStart(), getExplicitKernelArgOffset(), ImplicitBufferPtr(), and reservePrivateMemoryRegs().
|
inline |
Definition at line 200 of file AMDGPUSubtarget.h.
References llvm::Triple::AMDHSA, llvm::Triple::getOS(), and TargetTriple.
Referenced by llvm::AMDGPUTargetLowering::analyzeFormalArgumentsCompute(), getAlignmentForImplicitArgPtr(), llvm::SIInstrInfo::getDefaultRsrcDataFormat(), getImplicitArgNumBytes(), getTrapHandlerAbi(), initializeSubtargetDependencies(), isAmdCodeObjectV2(), llvm::SITargetLowering::LowerFormalArguments(), and llvm::AMDGPUAsmPrinter::runOnMachineFunction().
|
inline |
Definition at line 204 of file AMDGPUSubtarget.h.
References llvm::Triple::getOS(), llvm::Triple::Mesa3D, and TargetTriple.
Referenced by isMesaGfxShader(), and isMesaKernel().
|
inline |
Definition at line 427 of file AMDGPUSubtarget.h.
References llvm::Function::getCallingConv(), llvm::MachineFunction::getFunction(), isMesa3DOS(), and llvm::AMDGPU::isShader().
Referenced by llvm::SIFrameLowering::emitEntryFunctionPrologue(), and ImplicitBufferPtr().
|
inline |
Definition at line 422 of file AMDGPUSubtarget.h.
References llvm::Function::getCallingConv(), llvm::MachineFunction::getFunction(), isMesa3DOS(), and llvm::AMDGPU::isShader().
Referenced by getImplicitArgNumBytes(), and isAmdCodeObjectV2().
|
inline |
Definition at line 208 of file AMDGPUSubtarget.h.
References llvm::Triple::getEnvironment(), llvm::Triple::getEnvironmentName(), llvm::Triple::OpenCL, and TargetTriple.
Referenced by getImplicitArgNumBytes().
|
inline |
Definition at line 324 of file AMDGPUSubtarget.h.
References EnablePromoteAlloca.
|
inline |
Definition at line 398 of file AMDGPUSubtarget.h.
References TrapHandler.
|
inline |
Definition at line 402 of file AMDGPUSubtarget.h.
References EnableXNACK.
Referenced by getNumExtraSGPRs(), and llvm::SISubtarget::getReservedNumSGPRs().
| bool AMDGPUSubtarget::makeLIDRangeMetadata | ( | Instruction * | I | ) | const |
Creates value range metadata on an workitemid.* inrinsic call or load.
Definition at line 286 of file AMDGPUSubtarget.cpp.
References F, llvm::Value::getContext(), getFlatWorkGroupSizes(), llvm::Function::getIntrinsicID(), llvm::GlobalObject::getMetadata(), llvm::Instruction::getParent(), llvm::BasicBlock::getParent(), if(), llvm::CodeModel::Kernel, LLVM_FALLTHROUGH, llvm::LLVMContext::MD_range, and llvm::Instruction::setMetadata().
Referenced by initializeSubtargetDependencies().
|
inline |
Definition at line 496 of file AMDGPUSubtarget.h.
References ScalarizeGlobal.
|
inline |
Definition at line 362 of file AMDGPUSubtarget.h.
References getGeneration(), and GFX9.
Referenced by isCanonicalized().
|
inline |
Definition at line 328 of file AMDGPUSubtarget.h.
References EnableUnsafeDSOffsetFolding.
|
inline |
Definition at line 378 of file AMDGPUSubtarget.h.
References FlatForGlobal.
|
protected |
Definition at line 174 of file AMDGPUSubtarget.h.
Referenced by AMDGPUSubtarget(), and getAMDGPUAS().
|
protected |
Definition at line 118 of file AMDGPUSubtarget.h.
Referenced by hasAutoWaitcntBeforeBarrier().
|
protected |
Definition at line 163 of file AMDGPUSubtarget.h.
Referenced by hasCaymanISA().
|
protected |
Definition at line 164 of file AMDGPUSubtarget.h.
Referenced by llvm::R600Subtarget::hasCFAluBug().
|
protected |
Definition at line 141 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 126 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::debuggerEmitPrologue().
|
protected |
Definition at line 124 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::debuggerInsertNops().
|
protected |
Definition at line 125 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::debuggerReserveRegs().
|
protected |
Definition at line 134 of file AMDGPUSubtarget.h.
Referenced by dumpCode().
|
protected |
Definition at line 116 of file AMDGPUSubtarget.h.
Referenced by enableDX10Clamp().
|
protected |
Definition at line 131 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::loadStoreOptEnabled().
|
protected |
Definition at line 130 of file AMDGPUSubtarget.h.
Referenced by isPromoteAllocaEnabled().
|
protected |
Definition at line 133 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::enableSIScheduler().
|
protected |
Definition at line 132 of file AMDGPUSubtarget.h.
Referenced by unsafeDSOffsetFoldingEnabled().
|
protected |
Definition at line 129 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::isVGPRSpillingEnabled().
|
protected |
Definition at line 122 of file AMDGPUSubtarget.h.
Referenced by isXNACKEnabled().
|
protected |
Definition at line 109 of file AMDGPUSubtarget.h.
Referenced by hasFastFMAF32().
|
protected |
Definition at line 170 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 158 of file AMDGPUSubtarget.h.
Referenced by hasFlatAddressSpace().
|
protected |
Definition at line 117 of file AMDGPUSubtarget.h.
Referenced by initializeSubtargetDependencies(), and useFlatForGlobal().
|
protected |
Definition at line 160 of file AMDGPUSubtarget.h.
Referenced by hasFlatGlobalInsts().
|
protected |
Definition at line 159 of file AMDGPUSubtarget.h.
Referenced by hasFlatInstOffsets().
|
protected |
Definition at line 161 of file AMDGPUSubtarget.h.
Referenced by hasFlatScratchInsts().
|
protected |
Definition at line 113 of file AMDGPUSubtarget.h.
Referenced by hasFP32Denormals(), and initializeSubtargetDependencies().
|
protected |
Definition at line 137 of file AMDGPUSubtarget.h.
Referenced by hasHWFP64().
|
protected |
Definition at line 114 of file AMDGPUSubtarget.h.
Referenced by hasFP16Denormals(), hasFP64Denormals(), and initializeSubtargetDependencies().
|
protected |
Definition at line 115 of file AMDGPUSubtarget.h.
Referenced by hasFPExceptions().
|
protected |
Definition at line 139 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 140 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 101 of file AMDGPUSubtarget.h.
Referenced by getGeneration().
|
protected |
Definition at line 142 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 110 of file AMDGPUSubtarget.h.
Referenced by hasHalfRate64Ops().
|
protected |
Definition at line 145 of file AMDGPUSubtarget.h.
Referenced by has16BitInsts().
|
protected |
Definition at line 121 of file AMDGPUSubtarget.h.
Referenced by hasApertureRegs().
|
protected |
Definition at line 157 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasDPP().
|
protected |
Definition at line 150 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasInv2PiInlineImm().
|
protected |
Definition at line 147 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasMovrel().
|
protected |
Definition at line 149 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasScalarStores().
|
protected |
Definition at line 151 of file AMDGPUSubtarget.h.
Referenced by hasSDWA().
|
protected |
Definition at line 155 of file AMDGPUSubtarget.h.
Referenced by hasSDWAMac().
|
protected |
Definition at line 152 of file AMDGPUSubtarget.h.
Referenced by hasSDWAOmod().
|
protected |
Definition at line 156 of file AMDGPUSubtarget.h.
Referenced by hasSDWAOutModsVOPC().
|
protected |
Definition at line 153 of file AMDGPUSubtarget.h.
Referenced by hasSDWAScalar().
|
protected |
Definition at line 154 of file AMDGPUSubtarget.h.
Referenced by hasSDWASdst().
|
protected |
Definition at line 144 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasSMemRealTime().
|
protected |
Definition at line 165 of file AMDGPUSubtarget.h.
Referenced by llvm::R600Subtarget::hasVertexCache().
|
protected |
Definition at line 148 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasVGPRIndexMode().
|
protected |
Definition at line 146 of file AMDGPUSubtarget.h.
Referenced by hasVOP3PInsts().
|
protected |
Definition at line 172 of file AMDGPUSubtarget.h.
Referenced by getInstrItineraryData().
|
protected |
Definition at line 102 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 138 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 105 of file AMDGPUSubtarget.h.
Referenced by getLDSBankCount().
|
protected |
Definition at line 104 of file AMDGPUSubtarget.h.
Referenced by getLocalMemorySize().
|
protected |
Definition at line 106 of file AMDGPUSubtarget.h.
Referenced by getMaxPrivateElementSize(), and initializeSubtargetDependencies().
|
protected |
Definition at line 162 of file AMDGPUSubtarget.h.
|
protected |
Definition at line 167 of file AMDGPUSubtarget.h.
Referenced by getScalarizeGlobalBehavior(), and setScalarizeGlobalBehavior().
|
protected |
Definition at line 143 of file AMDGPUSubtarget.h.
Referenced by llvm::SISubtarget::hasSGPRInitBug().
|
protected |
Definition at line 100 of file AMDGPUSubtarget.h.
Referenced by isAmdHsaOS(), isMesa3DOS(), and isOpenCLEnv().
|
protected |
Definition at line 166 of file AMDGPUSubtarget.h.
Referenced by llvm::R600Subtarget::getTexVTXClauseSize().
|
protected |
Definition at line 123 of file AMDGPUSubtarget.h.
Referenced by isTrapHandlerEnabled().
|
protected |
Definition at line 173 of file AMDGPUSubtarget.h.
Referenced by getSelectionDAGInfo().
|
protected |
Definition at line 120 of file AMDGPUSubtarget.h.
Referenced by hasUnalignedBufferAccess().
|
protected |
Definition at line 119 of file AMDGPUSubtarget.h.
Referenced by hasUnalignedScratchAccess().
|
protected |
Definition at line 103 of file AMDGPUSubtarget.h.
Referenced by getWavefrontSize().
1.8.6