LLVM  8.0.1
Namespaces | Functions | Variables
NVPTXTargetMachine.cpp File Reference
#include "NVPTXTargetMachine.h"
#include "NVPTX.h"
#include "NVPTXAllocaHoisting.h"
#include "NVPTXLowerAggrCopies.h"
#include "NVPTXTargetObjectFile.h"
#include "NVPTXTargetTransformInfo.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Scalar/GVN.h"
#include "llvm/Transforms/Vectorize.h"
#include <cassert>
#include <string>
Include dependency graph for NVPTXTargetMachine.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

void llvm::initializeNVVMIntrRangePass (PassRegistry &)
 
void llvm::initializeNVVMReflectPass (PassRegistry &)
 
void llvm::initializeGenericToNVVMPass (PassRegistry &)
 
void llvm::initializeNVPTXAllocaHoistingPass (PassRegistry &)
 
void llvm::initializeNVPTXAssignValidGlobalNamesPass (PassRegistry &)
 
void llvm::initializeNVPTXLowerAggrCopiesPass (PassRegistry &)
 
void llvm::initializeNVPTXLowerArgsPass (PassRegistry &)
 
void llvm::initializeNVPTXLowerAllocaPass (PassRegistry &)
 
void llvm::initializeNVPTXProxyRegErasurePass (PassRegistry &)
 
void LLVMInitializeNVPTXTarget ()
 
static std::string computeDataLayout (bool is64Bit, bool UseShortPointers)
 

Variables

static cl::opt< boolDisableLoadStoreVectorizer ("disable-nvptx-load-store-vectorizer", cl::desc("Disable load/store vectorizer"), cl::init(false), cl::Hidden)
 
static cl::opt< boolDisableRequireStructuredCFG ("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< boolUseShortPointersOpt ("nvptx-short-ptr", cl::desc("Use 32-bit pointers for accessing const/local/shared address spaces."), cl::init(false), cl::Hidden)
 

Function Documentation

◆ computeDataLayout()

static std::string computeDataLayout ( bool  is64Bit,
bool  UseShortPointers 
)
static

Definition at line 94 of file NVPTXTargetMachine.cpp.

References llvm::MipsISD::Ret.

◆ LLVMInitializeNVPTXTarget()

void LLVMInitializeNVPTXTarget ( )

Variable Documentation

◆ DisableLoadStoreVectorizer

cl::opt<bool> DisableLoadStoreVectorizer("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)
static

◆ 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)
static