Go to the source code of this file.
|
| llvm |
| This class represents lattice values for constants.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "nvptx-reflect" |
◆ NVVM_REFLECT_FUNCTION
#define NVVM_REFLECT_FUNCTION "__nvvm_reflect" |
◆ INITIALIZE_PASS()
INITIALIZE_PASS |
( |
NVVMReflect |
, |
|
|
"nvvm-reflect" |
, |
|
|
"Replace occurrences of __nvvm_reflect() calls with 0/1" |
, |
|
|
false |
, |
|
|
false |
|
|
) |
| |
Definition at line 72 of file NVVMReflect.cpp.
References assert(), Callee, llvm::dbgs(), llvm::dyn_cast(), GEP, llvm::ConstantInt::get(), llvm::CallBase::getArgOperand(), llvm::CallBase::getCalledFunction(), llvm::Function::getIntrinsicID(), llvm::Value::getName(), llvm::User::getNumOperands(), llvm::User::getOperand(), llvm::Value::getType(), I, llvm::instructions(), LLVM_DEBUG, llvm::Intrinsic::nvvm_reflect, NVVM_REFLECT_FUNCTION, llvm::SmallVectorTemplateBase< T >::push_back(), llvm::Value::replaceAllUsesWith(), llvm::StringRef::size(), and llvm::StringRef::substr().
◆ NVVMReflectEnabled
cl::opt<bool> NVVMReflectEnabled("nvvm-reflect-enable", cl::init(true), cl::Hidden, cl::desc("NVVM reflection, enabled by default")) |
|
static |