14 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H 15 #define LLVM_LIB_TARGET_NVPTX_NVPTXUTILITIES_H 33 std::vector<unsigned> &);
60 bool getAlign(
const Function &,
unsigned index,
unsigned &);
61 bool getAlign(
const CallInst &,
unsigned index,
unsigned &);
bool getAlign(const Function &F, unsigned index, unsigned &align)
This class represents lattice values for constants.
bool getMaxNReg(const Function &F, unsigned &x)
bool findOneNVVMAnnotation(const GlobalValue *gv, const std::string &prop, unsigned &retval)
bool findAllNVVMAnnotation(const GlobalValue *gv, const std::string &prop, std::vector< unsigned > &retval)
bool isTexture(const Value &val)
void clearAnnotationCache(const Module *Mod)
bool getMaxNTIDz(const Function &F, unsigned &z)
bool isKernelFunction(const Function &F)
bool isSurface(const Value &val)
bool getMaxNTIDx(const Function &F, unsigned &x)
std::string getTextureName(const Value &val)
bool isSampler(const Value &val)
bool getMaxNTIDy(const Function &F, unsigned &y)
bool getReqNTIDx(const Function &F, unsigned &x)
bool isImage(const Value &val)
bool getReqNTIDz(const Function &F, unsigned &z)
bool isImageReadWrite(const Value &val)
std::string getSurfaceName(const Value &val)
std::string getSamplerName(const Value &val)
bool isManaged(const Value &val)
bool getReqNTIDy(const Function &F, unsigned &y)
bool isImageReadOnly(const Value &val)
bool getMinCTASm(const Function &F, unsigned &x)
bool isImageWriteOnly(const Value &val)