Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
|
static cl::opt< bool > | DisableLoadStoreVectorizer ("disable-nvptx-load-store-vectorizer", cl::desc("Disable load/store vectorizer"), cl::init(false), cl::Hidden) |
|
static cl::opt< bool > | DisableRequireStructuredCFG ("disable-nvptx-require-structured-cfg", cl::desc("Transitional flag to turn off NVPTX's requirement on preserving " "structured CFG. The requirement should be disabled only when " "unexpected regressions happen."), cl::init(false), cl::Hidden) |
|
static cl::opt< bool > | UseShortPointersOpt ("nvptx-short-ptr", cl::desc("Use 32-bit pointers for accessing const/local/shared address spaces."), cl::init(false), cl::Hidden) |
|
static cl::opt< bool > | EarlyByValArgsCopy ("nvptx-early-byval-copy", cl::desc("Create a copy of byval function arguments early."), cl::init(false), cl::Hidden) |
|
◆ GET_PASS_REGISTRY
#define GET_PASS_REGISTRY "NVPTXPassRegistry.def" |
◆ computeDataLayout()
static std::string computeDataLayout |
( |
bool |
is64Bit, |
|
|
bool |
UseShortPointers |
|
) |
| |
|
static |
◆ LLVMInitializeNVPTXTarget()
Definition at line 109 of file NVPTXTargetMachine.cpp.
References llvm::PassRegistry::getPassRegistry(), llvm::getTheNVPTXTarget32(), llvm::getTheNVPTXTarget64(), llvm::initializeGenericToNVVMLegacyPassPass(), llvm::initializeNVPTXAAWrapperPassPass(), llvm::initializeNVPTXAllocaHoistingPass(), llvm::initializeNVPTXAssignValidGlobalNamesPass(), llvm::initializeNVPTXAtomicLowerPass(), llvm::initializeNVPTXCtorDtorLoweringLegacyPass(), llvm::initializeNVPTXDAGToDAGISelLegacyPass(), llvm::initializeNVPTXExternalAAWrapperPass(), llvm::initializeNVPTXLowerAggrCopiesPass(), llvm::initializeNVPTXLowerAllocaPass(), llvm::initializeNVPTXLowerArgsPass(), llvm::initializeNVPTXLowerUnreachablePass(), llvm::initializeNVPTXProxyRegErasurePass(), llvm::initializeNVVMIntrRangePass(), llvm::initializeNVVMReflectPass(), X, and Y.
◆ DisableLoadStoreVectorizer
cl::opt< bool > DisableLoadStoreVectorizer("disable-nvptx-load-store-vectorizer", cl::desc("Disable load/store vectorizer"), cl::init(false), cl::Hidden) |
( |
"disable-nvptx-load-store-vectorizer" |
, |
|
|
cl::desc("Disable load/store vectorizer") |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
◆ DisableRequireStructuredCFG
cl::opt< bool > DisableRequireStructuredCFG("disable-nvptx-require-structured-cfg", cl::desc("Transitional flag to turn off NVPTX's requirement on preserving " "structured CFG. The requirement should be disabled only when " "unexpected regressions happen."), cl::init(false), cl::Hidden) |
( |
"disable-nvptx-require-structured-cfg" |
, |
|
|
cl::desc("Transitional flag to turn off NVPTX's requirement on preserving " "structured CFG. The requirement should be disabled only when " "unexpected regressions happen.") |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
◆ EarlyByValArgsCopy
◆ UseShortPointersOpt
cl::opt< bool > UseShortPointersOpt("nvptx-short-ptr", cl::desc( "Use 32-bit pointers for accessing const/local/shared address spaces."), cl::init(false), cl::Hidden) |
( |
"nvptx-short-ptr" |
, |
|
|
cl::desc( "Use 32-bit pointers for accessing const/local/shared address spaces.") |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |