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" |
| Variables | |
|---|---|
| DEBUG_TYPE | |
| AMDGPU Kernel | Attributes |
| AMDGPU Kernel | false |
◆ DEBUG_TYPE
#define DEBUG_TYPE "amdgpu-lower-kernel-attributes"
◆ annotateGridSizeLoadWithRangeMD()
◆ 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, llvm::dyn_cast(), llvm::mdconst::extract(), F, llvm::Instruction::getFunction(), llvm::AMDGPU::getIntegerVecAttribute(), llvm::Constant::getNullValue(), llvm::GetPointerBaseWithConstantOffset(), llvm::ConstantInt::getTrue(), llvm::Value::getType(), I, llvm::CmpInst::ICMP_ULT, llvm::PatternMatch::m_Intrinsic(), 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().