LLVM API Documentation
#include "NVPTX.h"
#include "NVPTXUtilities.h"
#include "MCTargetDesc/NVPTXBaseInfo.h"
#include "llvm/PassManager.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/ADT/ValueMap.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/IRBuilder.h"
Go to the source code of this file.
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
Functions | |
void | llvm::initializeGenericToNVVMPass (PassRegistry &) |
INITIALIZE_PASS (GenericToNVVM,"generic-to-nvvm","Ensure that the global variables are in the global address space", false, false) bool GenericToNVVM | |
INITIALIZE_PASS | ( | GenericToNVVM | , |
"generic-to-nvvm" | , | ||
"Ensure that the global variables are in the global address space" | , | ||
false | , | ||
false | |||
) |
Definition at line 73 of file NVPTXGenericToNVVM.cpp.
References llvm::ADDRESS_SPACE_GENERIC, llvm::ADDRESS_SPACE_GLOBAL, llvm::GlobalVariable::copyAttributesFrom(), llvm::GlobalVariable::eraseFromParent(), llvm::PointerType::getAddressSpace(), llvm::SequentialType::getElementType(), llvm::GlobalVariable::getInitializer(), llvm::GlobalValue::getLinkage(), llvm::Value::getName(), llvm::ConstantExpr::getPointerCast(), llvm::GlobalVariable::getThreadLocalMode(), llvm::GlobalValue::getType(), llvm::GlobalVariable::hasInitializer(), I, llvm::ARM_PROC::IE, llvm::GlobalVariable::isConstant(), llvm::isSurface(), llvm::isTexture(), llvm::Constant::removeDeadConstantUsers(), llvm::Use::set(), llvm::Value::setName(), llvm::StringRef::startswith(), llvm::Value::use_begin(), and llvm::Value::use_end().