Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "nvptx-reflect" |
◆ NVVM_REFLECT_FUNCTION
#define NVVM_REFLECT_FUNCTION "__nvvm_reflect" |
◆ NVVM_REFLECT_OCL_FUNCTION
#define NVVM_REFLECT_OCL_FUNCTION "__nvvm_reflect_ocl" |
◆ erase()
◆ for() [1/2]
Definition at line 122 of file NVVMReflect.cpp.
References assert(), llvm::dbgs(), F, I, LLVM_DEBUG, NVVM_REFLECT_FUNCTION, NVVM_REFLECT_OCL_FUNCTION, llvm::StringRef::size(), SmVersion, llvm::StringRef::substr(), ToRemove, and ToSimplify.
◆ for() [2/2]
◆ if()
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
NVVMReflect |
, |
|
|
"nvvm-reflect" |
, |
|
|
"Replace occurrences of __nvvm_reflect() calls with 0/1" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| & |
◆ size()
◆ while()
while |
( |
!ToSimplify. |
empty() | ) |
|
Definition at line 192 of file NVVMReflect.cpp.
References llvm::CallingConv::C, llvm::ConstantFoldInstruction(), llvm::ConstantFoldTerminator(), F, I, llvm::isInstructionTriviallyDead(), ToRemove, and ToSimplify.
Referenced by fixupIndexV4(), fixupIndexV5(), llvm::orc::JITDylib::getDFSLinkOrder(), llvm::mca::initializeUsedResources(), and rpmalloc_dump_statistics().
◆ NewLastIter
◆ NVVMReflectEnabled
cl::opt< bool > NVVMReflectEnabled("nvvm-reflect-enable", cl::init(true), cl::Hidden, cl::desc("NVVM reflection, enabled by default")) |
( |
"nvvm-reflect-enable" |
, |
|
|
cl::init(true) |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc("NVVM reflection, enabled by default") |
|
|
) |
| |
|
static |
◆ SmVersion
Initial value:{
return false
static cl::opt< bool > NVVMReflectEnabled("nvvm-reflect-enable", cl::init(true), cl::Hidden, cl::desc("NVVM reflection, enabled by default"))
Definition at line 81 of file NVVMReflect.cpp.
Referenced by llvm::createNVVMReflectPass(), for(), llvm::NVPTXSubtarget::hasAtomAddF64(), llvm::NVPTXSubtarget::hasAtomBitwise64(), llvm::NVPTXSubtarget::hasAtomMinMax64(), llvm::NVPTXSubtarget::hasAtomScope(), llvm::NVPTXSubtarget::hasBF16Math(), llvm::NVPTXSubtarget::hasDotInstructions(), llvm::NVPTXSubtarget::hasFP16Math(), llvm::NVPTXSubtarget::hasHWROT32(), llvm::NVPTXSubtarget::hasLDG(), llvm::NVPTXSubtarget::hasMemoryOrdering(), llvm::NVPTXSubtarget::hasNoReturn(), llvm::NVPTXSubtarget::hasRelaxedMMIO(), llvm::NVVMReflectPass::NVVMReflectPass(), PerformSETCCCombine(), and llvm::NVVMReflectPass::run().
◆ ToRemove
◆ ToSimplify