LLVM
17.0.0git
|
#include "MCTargetDesc/NVPTXBaseInfo.h"
#include "NVPTX.h"
#include "NVPTXUtilities.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/LegacyPassManager.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueMap.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
Go to the source code of this file.
Namespaces | |
llvm | |
This is an optimization pass for GlobalISel generic memory operations. | |
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 66 of file NVPTXGenericToNVVM.cpp.
References llvm::ADDRESS_SPACE_GENERIC, llvm::ADDRESS_SPACE_GLOBAL, assert(), BB, Builder, llvm::GlobalVariable::copyAttributesFrom(), llvm::GlobalObject::copyMetadata(), llvm::numbers::e, E, llvm::GlobalVariable::eraseFromParent(), F, llvm::Value::getName(), llvm::ConstantExpr::getPointerCast(), llvm::GlobalValue::getType(), i, I, llvm::isSampler(), llvm::isSurface(), llvm::isTexture(), M, llvm::make_early_inc_range(), llvm::Value::replaceAllUsesWith(), and llvm::Value::setName().