LLVM  6.0.0svn
Namespaces | Functions | Variables
NVPTXUtilities.cpp File Reference
#include "NVPTXUtilities.h"
#include "NVPTX.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/MutexGuard.h"
#include <algorithm>
#include <cstring>
#include <map>
#include <string>
#include <vector>
Include dependency graph for NVPTXUtilities.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

void llvm::clearAnnotationCache (const Module *Mod)
 
static void llvm::cacheAnnotationFromMD (const MDNode *md, key_val_pair_t &retval)
 
static void llvm::cacheAnnotationFromMD (const Module *m, const GlobalValue *gv)
 
bool llvm::findOneNVVMAnnotation (const GlobalValue *gv, const std::string &prop, unsigned &retval)
 
bool llvm::findAllNVVMAnnotation (const GlobalValue *gv, const std::string &prop, std::vector< unsigned > &retval)
 
bool llvm::isTexture (const Value &val)
 
bool llvm::isSurface (const Value &val)
 
bool llvm::isSampler (const Value &val)
 
bool llvm::isImageReadOnly (const Value &val)
 
bool llvm::isImageWriteOnly (const Value &val)
 
bool llvm::isImageReadWrite (const Value &val)
 
bool llvm::isImage (const Value &val)
 
bool llvm::isManaged (const Value &val)
 
std::string llvm::getTextureName (const Value &val)
 
std::string llvm::getSurfaceName (const Value &val)
 
std::string llvm::getSamplerName (const Value &val)
 
bool llvm::getMaxNTIDx (const Function &F, unsigned &x)
 
bool llvm::getMaxNTIDy (const Function &F, unsigned &y)
 
bool llvm::getMaxNTIDz (const Function &F, unsigned &z)
 
bool llvm::getReqNTIDx (const Function &F, unsigned &x)
 
bool llvm::getReqNTIDy (const Function &F, unsigned &y)
 
bool llvm::getReqNTIDz (const Function &F, unsigned &z)
 
bool llvm::getMinCTASm (const Function &F, unsigned &x)
 
bool llvm::getMaxNReg (const Function &F, unsigned &x)
 
bool llvm::isKernelFunction (const Function &F)
 
bool llvm::getAlign (const Function &F, unsigned index, unsigned &align)
 
bool llvm::getAlign (const CallInst &I, unsigned index, unsigned &align)
 

Variables

static ManagedStatic< per_module_annot_t > llvm::annotationCache
 
static sys::Mutex llvm::Lock