LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
NVPTXUtilities.h File Reference
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Value.h"
#include <cstdarg>
#include <set>
#include <string>
#include <vector>
Include dependency graph for NVPTXUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Macros

#define NVCL_IMAGE2D_READONLY_FUNCNAME   "__is_image2D_readonly"
 
#define NVCL_IMAGE3D_READONLY_FUNCNAME   "__is_image3D_readonly"
 

Functions

bool llvm::findOneNVVMAnnotation (const llvm::GlobalValue *, std::string, unsigned &)
 
bool llvm::findAllNVVMAnnotation (const llvm::GlobalValue *, std::string, std::vector< unsigned > &)
 
bool llvm::isTexture (const llvm::Value &)
 
bool llvm::isSurface (const llvm::Value &)
 
bool llvm::isSampler (const llvm::Value &)
 
bool llvm::isImage (const llvm::Value &)
 
bool llvm::isImageReadOnly (const llvm::Value &)
 
bool llvm::isImageWriteOnly (const llvm::Value &)
 
std::string llvm::getTextureName (const llvm::Value &)
 
std::string llvm::getSurfaceName (const llvm::Value &)
 
std::string llvm::getSamplerName (const llvm::Value &)
 
bool llvm::getMaxNTIDx (const llvm::Function &, unsigned &)
 
bool llvm::getMaxNTIDy (const llvm::Function &, unsigned &)
 
bool llvm::getMaxNTIDz (const llvm::Function &, unsigned &)
 
bool llvm::getReqNTIDx (const llvm::Function &, unsigned &)
 
bool llvm::getReqNTIDy (const llvm::Function &, unsigned &)
 
bool llvm::getReqNTIDz (const llvm::Function &, unsigned &)
 
bool llvm::getMinCTASm (const llvm::Function &, unsigned &)
 
bool llvm::isKernelFunction (const llvm::Function &)
 
bool llvm::getAlign (const llvm::Function &, unsigned index, unsigned &)
 
bool llvm::getAlign (const llvm::CallInst &, unsigned index, unsigned &)
 
bool llvm::isBarrierIntrinsic (llvm::Intrinsic::ID)
 
template<typename T >
std::vector< Tllvm::make_vector (T A,...)
 
bool llvm::isMemorySpaceTransferIntrinsic (Intrinsic::ID id)
 
const Valuellvm::skipPointerTransfer (const Value *V, bool ignore_GEP_indices)
 
const Valuellvm::skipPointerTransfer (const Value *V, std::set< const Value * > &processed)
 
BasicBlockllvm::getParentBlock (Value *v)
 
Functionllvm::getParentFunction (Value *v)
 
void llvm::dumpBlock (Value *v, char *blockName)
 
Instructionllvm::getInst (Value *base, char *instName)
 
void llvm::dumpInst (Value *base, char *instName)
 
void llvm::dumpInstRec (Value *v, std::set< Instruction * > *visited)
 
void llvm::dumpInstRec (Value *v)
 
void llvm::dumpParent (Value *v)
 

Macro Definition Documentation

#define NVCL_IMAGE2D_READONLY_FUNCNAME   "__is_image2D_readonly"

Definition at line 28 of file NVPTXUtilities.h.

#define NVCL_IMAGE3D_READONLY_FUNCNAME   "__is_image3D_readonly"

Definition at line 29 of file NVPTXUtilities.h.