LLVM 20.0.0git
Namespaces | Functions
NVPTXUtilities.h File Reference
#include "NVPTX.h"
#include "llvm/ADT/StringExtras.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 "llvm/Support/FormatVariadic.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::isTexture (const Value &V)
 
bool llvm::isSurface (const Value &V)
 
bool llvm::isSampler (const Value &V)
 
bool llvm::isImage (const Value &V)
 
bool llvm::isImageReadOnly (const Value &V)
 
bool llvm::isImageWriteOnly (const Value &V)
 
bool llvm::isImageReadWrite (const Value &V)
 
bool llvm::isManaged (const Value &V)
 
StringRef llvm::getTextureName (const Value &V)
 
StringRef llvm::getSurfaceName (const Value &V)
 
StringRef llvm::getSamplerName (const Value &V)
 
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)
 
std::optional< unsignedllvm::getClusterDimx (const Function &F)
 
std::optional< unsignedllvm::getClusterDimy (const Function &F)
 
std::optional< unsignedllvm::getClusterDimz (const Function &F)
 
std::optional< unsignedllvm::getMaxClusterRank (const Function &F)
 
std::optional< unsignedllvm::getMinCTASm (const Function &F)
 
std::optional< unsignedllvm::getMaxNReg (const Function &F)
 
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::getValidPTXIdentifier (StringRef Name)
 
std::string llvm::NVPTX::OrderingToString (Ordering Order)
 
raw_ostream & llvm::NVPTX::operator<< (raw_ostream &O, Ordering Order)
 
std::string llvm::NVPTX::ScopeToString (Scope S)
 
raw_ostream & llvm::NVPTX::operator<< (raw_ostream &O, Scope S)
 
std::string llvm::NVPTX::AddressSpaceToString (AddressSpace A)
 
raw_ostream & llvm::NVPTX::operator<< (raw_ostream &O, AddressSpace A)