LLVM 20.0.0git
Functions
SPIRVGlobalRegistry.cpp File Reference
#include "SPIRVGlobalRegistry.h"
#include "SPIRV.h"
#include "SPIRVBuiltins.h"
#include "SPIRVSubtarget.h"
#include "SPIRVTargetMachine.h"
#include "SPIRVUtils.h"
#include "llvm/ADT/APInt.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Type.h"
#include "llvm/Support/Casting.h"
#include <cassert>
#include <functional>

Go to the source code of this file.

Functions

unsigned typeToAddressSpace (const Type *Ty)
 
static Register createTypeVReg (MachineRegisterInfo &MRI)
 
Register createTypeVReg (MachineIRBuilder &MIRBuilder)
 
static std::string GetSpirvImageTypeName (const SPIRVType *Type, MachineIRBuilder &MIRBuilder, const std::string &Prefix)
 
static std::string buildSpirvTypeName (const SPIRVType *Type, MachineIRBuilder &MIRBuilder)
 
unsigned getAS (SPIRVType *SpvType)
 

Function Documentation

◆ buildSpirvTypeName()

static std::string buildSpirvTypeName ( const SPIRVType Type,
MachineIRBuilder MIRBuilder 
)
static

◆ createTypeVReg() [1/2]

Register createTypeVReg ( MachineIRBuilder MIRBuilder)
inline

◆ createTypeVReg() [2/2]

static Register createTypeVReg ( MachineRegisterInfo MRI)
static

◆ getAS()

unsigned getAS ( SPIRVType SpvType)
inline

◆ GetSpirvImageTypeName()

static std::string GetSpirvImageTypeName ( const SPIRVType Type,
MachineIRBuilder MIRBuilder,
const std::string &  Prefix 
)
static

◆ typeToAddressSpace()

unsigned typeToAddressSpace ( const Type Ty)
inline