LLVM 19.0.0git
Namespaces | Functions
NVPTXUtilities.h File Reference
#include "llvm/CodeGen/ValueTypes.h"
#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>

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)
 
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::isImage (const Value &val)
 
bool llvm::isImageReadOnly (const Value &val)
 
bool llvm::isImageWriteOnly (const Value &val)
 
bool llvm::isImageReadWrite (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::getMaxClusterRank (const Function &F, unsigned &x)
 
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)
 
unsigned llvm::promoteScalarArgumentSize (unsigned size)
 
bool llvm::shouldEmitPTXNoReturn (const Value *V, const TargetMachine &TM)
 
bool llvm::Isv2x16VT (EVT VT)