LLVM 23.0.0git
NVPTXUtilities.h File Reference
#include "NVPTX.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/FormatVariadic.h"
#include <cstdarg>
#include <string>

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

Functionllvm::getMaybeBitcastedCallee (const CallBase *CB)
Align llvm::getFunctionParamOptimizedAlign (const Function *F, Type *ArgTy, const DataLayout &DL)
 Since function arguments are passed via .param space, we may want to increase their alignment in a way that ensures that we can effectively vectorize their loads & stores.
Align llvm::getFunctionArgumentAlignment (const Function *F, Type *Ty, unsigned Idx, const DataLayout &DL)
Align llvm::getFunctionByValParamAlign (const Function *F, Type *ArgTy, Align InitialAlign, const DataLayout &DL)
unsigned llvm::promoteScalarArgumentSize (unsigned size)
bool llvm::shouldEmitPTXNoReturn (const Value *V, const TargetMachine &TM)
bool llvm::shouldPassAsArray (Type *Ty)
auto llvm::NVPTX::packed_types ()
bool llvm::NVPTX::isPackedVectorTy (EVT VT)
bool llvm::NVPTX::isPackedElementTy (EVT ET)
std::string llvm::NVPTX::getValidPTXIdentifier (StringRef Name)
std::string llvm::NVPTX::OrderingToString (Ordering Order)
raw_ostreamllvm::NVPTX::operator<< (raw_ostream &O, Ordering Order)
std::string llvm::NVPTX::ScopeToString (Scope S)
raw_ostreamllvm::NVPTX::operator<< (raw_ostream &O, Scope S)
const charllvm::NVPTX::addressSpaceToString (AddressSpace A, bool UseParamSubqualifiers=false)
raw_ostreamllvm::NVPTX::operator<< (raw_ostream &O, AddressSpace A)