|
LLVM
3.7.0
|
#include "NVPTX.h"#include "llvm/IR/Function.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Operator.h"#include "llvm/Support/CommandLine.h"Go to the source code of this file.
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Functions | |
| void | llvm::initializeNVPTXFavorNonGenericAddrSpacesPass (PassRegistry &) |
| INITIALIZE_PASS (NVPTXFavorNonGenericAddrSpaces,"nvptx-favor-non-generic","Remove unnecessary non-generic-to-generic addrspacecasts", false, false) static bool isEliminableAddrSpaceCast(Value *V) | |
Variables | |
| static cl::opt< bool > | DisableFavorNonGeneric ("disable-nvptx-favor-non-generic", cl::init(false), cl::desc("Do not convert generic address space usage ""to non-generic address space usage"), cl::Hidden) |
| INITIALIZE_PASS | ( | NVPTXFavorNonGenericAddrSpaces | , |
| "nvptx-favor-non-generic" | , | ||
| "Remove unnecessary non-generic-to-generic addrspacecasts" | , | ||
| false | , | ||
| false | |||
| ) |
Definition at line 117 of file NVPTXFavorNonGenericAddrSpaces.cpp.
References llvm::ADDRESS_SPACE_GENERIC, llvm::dyn_cast(), llvm::PointerType::getAddressSpace(), llvm::SequentialType::getElementType(), llvm::Operator::getOpcode(), llvm::User::getOperand(), and llvm::Value::getType().
1.8.6