LLVM: lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "amdgpu-lower-kernel-attributes"
Functions
static void annotateGridSizeLoadWithRangeMD (LoadInst *Load, uint32_t MaxNumGroups)
static bool processUse (CallInst *CI, bool IsV5OrAbove)
INITIALIZE_PASS_BEGIN (AMDGPULowerKernelAttributes, DEBUG_TYPE, "AMDGPU Kernel Attributes", false, false) INITIALIZE_PASS_END(AMDGPULowerKernelAttributes
Variables
DEBUG_TYPE
AMDGPU Kernel Attributes
AMDGPU Kernel false

DEBUG_TYPE

#define DEBUG_TYPE "amdgpu-lower-kernel-attributes"

annotateGridSizeLoadWithRangeMD()

static void annotateGridSizeLoadWithRangeMD ( LoadInst * Load, uint32_t MaxNumGroups ) static

INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPULowerKernelAttributes ,
DEBUG_TYPE ,
"AMDGPU Kernel Attributes" ,
false ,
false
)

processUse()

Definition at line 100 of file AMDGPULowerKernelAttributes.cpp.

References annotateGridSizeLoadWithRangeMD(), llvm::ConstantFoldIntegerCast(), DL, F, llvm::AMDGPU::getIntegerVecAttribute(), llvm::Constant::getNullValue(), llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent(), llvm::GetPointerBaseWithConstantOffset(), llvm::ConstantInt::getTrue(), llvm::Value::getType(), I, llvm::PatternMatch::m_Mul(), llvm::PatternMatch::m_Specific(), llvm::PatternMatch::m_SpecificICmp(), llvm::PatternMatch::m_Sub(), llvm::PatternMatch::m_UMin(), llvm::PatternMatch::match(), llvm::none_of(), llvm::Offset, llvm::Value::replaceAllUsesWith(), llvm::UMin, llvm::Value::users(), and X.

Referenced by llvm::rdf::DeadCodeElimination::collect(), and llvm::AMDGPULowerKernelAttributesPass::run().

Attributes

Definition at line 370 of file AMDGPULowerKernelAttributes.cpp.

Referenced by llvm::DWARFDebugNames::Abbrev::dump(), llvm::ModuleSummaryIndex::exportToDot(), llvm::PseudoProbeSDNode::getAttributes(), llvm::DIObjCProperty::getAttributes(), llvm::object::ELFObjectFile< ELFT >::getBuildAttributes(), llvm::MDNodeKeyImpl< DIObjCProperty >::getHashValue(), llvm::MDNodeKeyImpl< DIObjCProperty >::isKeyOf(), llvm::MDNodeKeyImpl< DIObjCProperty >::MDNodeKeyImpl(), ParseLine(), parseMetadata(), llvm::logicalview::LVScopeFunction::printExtra(), llvm::logicalview::LVSymbol::printExtra(), llvm::logicalview::LVTypeImport::printExtra(), llvm::sampleprof::SampleProfileReaderExtBinaryBase::readFuncMetadata(), llvm::sampleprof::SampleProfileReaderText::readImpl(), and llvm::object::ELFObjectFileBase::setARMSubArch().

DEBUG_TYPE

false