LLVM 19.0.0git
Namespaces | Functions
NVPTXUtilities.cpp File Reference
#include "NVPTXUtilities.h"
#include "NVPTX.h"
#include "NVPTXTargetMachine.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/Mutex.h"
#include <algorithm>
#include <cstring>
#include <map>
#include <mutex>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

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::getMaxClusterRank (const Function &F, unsigned &x)
 
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)
 
Function * llvm::getMaybeBitcastedCallee (const CallBase *CB)
 
bool llvm::shouldEmitPTXNoReturn (const Value *V, const TargetMachine &TM)
 
bool llvm::Isv2x16VT (EVT VT)