LLVM 20.0.0git
Namespaces | Functions
NVPTXUtilities.h File Reference
#include "NVPTX.h"
#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 "llvm/Support/Alignment.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.
 
namespace  llvm::NVPTX
 

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)
 
std::optional< unsignedllvm::getMaxNTIDx (const Function &F)
 
std::optional< unsignedllvm::getMaxNTIDy (const Function &F)
 
std::optional< unsignedllvm::getMaxNTIDz (const Function &F)
 
std::optional< unsignedllvm::getMaxNTID (const Function &F)
 
std::optional< unsignedllvm::getReqNTIDx (const Function &F)
 
std::optional< unsignedllvm::getReqNTIDy (const Function &F)
 
std::optional< unsignedllvm::getReqNTIDz (const Function &F)
 
std::optional< unsignedllvm::getReqNTID (const Function &F)
 
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::isParamGridConstant (const Value &V)
 
MaybeAlign llvm::getAlign (const Function &F, unsigned Index)
 
MaybeAlign llvm::getAlign (const CallInst &I, unsigned Index)
 
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)
 
std::string llvm::NVPTX::OrderingToCString (Ordering Order)
 
raw_ostream & llvm::NVPTX::operator<< (raw_ostream &O, Ordering Order)