LLVM 17.0.0git
Namespaces | Functions
SPIRVUtils.h File Reference
#include "MCTargetDesc/SPIRVBaseInfo.h"
#include "llvm/IR/IRBuilder.h"
#include <string>
Include dependency graph for SPIRVUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.


void llvm::addStringImm (const StringRef &Str, MCInst &Inst)
void llvm::addStringImm (const StringRef &Str, MachineInstrBuilder &MIB)
void llvm::addStringImm (const StringRef &Str, IRBuilder<> &B, std::vector< Value * > &Args)
std::string llvm::getStringImm (const MachineInstr &MI, unsigned StartIndex)
void llvm::addNumImm (const APInt &Imm, MachineInstrBuilder &MIB)
void llvm::buildOpName (Register Target, const StringRef &Name, MachineIRBuilder &MIRBuilder)
void llvm::buildOpDecorate (Register Reg, MachineIRBuilder &MIRBuilder, SPIRV::Decoration::Decoration Dec, const std::vector< uint32_t > &DecArgs, StringRef StrImm)
void llvm::buildOpDecorate (Register Reg, MachineInstr &I, const SPIRVInstrInfo &TII, SPIRV::Decoration::Decoration Dec, const std::vector< uint32_t > &DecArgs, StringRef StrImm)
unsigned llvm::storageClassToAddressSpace (SPIRV::StorageClass::StorageClass SC)
SPIRV::StorageClass::StorageClass llvm::addressSpaceToStorageClass (unsigned AddrSpace)
SPIRV::MemorySemantics::MemorySemantics llvm::getMemSemanticsForStorageClass (SPIRV::StorageClass::StorageClass SC)
SPIRV::MemorySemantics::MemorySemantics llvm::getMemSemantics (AtomicOrdering Ord)
MachineInstr * llvm::getDefInstrMaybeConstant (Register &ConstReg, const MachineRegisterInfo *MRI)
uint64_t llvm::getIConstVal (Register ConstReg, const MachineRegisterInfo *MRI)
bool llvm::isSpvIntrinsic (MachineInstr &MI, Intrinsic::ID IntrinsicID)
Typellvm::getMDOperandAsType (const MDNode *N, unsigned I)
std::string llvm::getOclOrSpirvBuiltinDemangledName (StringRef Name)
const Typellvm::getTypedPtrEltType (const Type *Ty)
bool llvm::isSpecialOpaqueType (const Type *Ty)