LLVM API Documentation
#include "NVPTX.h"#include "MCTargetDesc/NVPTXBaseInfo.h"#include "NVPTXUtilities.h"#include "llvm/CodeGen/MachineFunctionAnalysis.h"#include "llvm/CodeGen/ValueTypes.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DerivedTypes.h"#include "llvm/IR/IRBuilder.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/Module.h"#include "llvm/IR/Operator.h"#include "llvm/IR/ValueMap.h"#include "llvm/PassManager.h"
Go to the source code of this file.
Namespaces | |
| namespace | 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 71 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::GlobalValue::getThreadLocalMode(), llvm::GlobalValue::getType(), llvm::GlobalVariable::hasInitializer(), I, llvm::ARM_PROC::IE, llvm::GlobalVariable::isConstant(), llvm::isSampler(), llvm::isSurface(), llvm::isTexture(), Name, llvm::Value::replaceAllUsesWith(), llvm::Value::setName(), and llvm::StringRef::startswith().