Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |Public Attributes |List of all members
llvm::SPIRVGlobalRegistry Class Reference

#include "Target/SPIRV/SPIRVGlobalRegistry.h"

Public Member Functions

 SPIRVGlobalRegistry (unsigned PointerSize)
 
void add (constConstant *C,MachineFunction *MF,Register R)
 
void add (constGlobalVariable *GV,MachineFunction *MF,Register R)
 
void add (constFunction *F,MachineFunction *MF,Register R)
 
void add (constArgument *Arg,MachineFunction *MF,Register R)
 
void add (constMachineInstr *MI,MachineFunction *MF,Register R)
 
Register find (constMachineInstr *MI,MachineFunction *MF)
 
Register find (constConstant *C,MachineFunction *MF)
 
Register find (constGlobalVariable *GV,MachineFunction *MF)
 
Register find (constFunction *F,MachineFunction *MF)
 
void setBound (unsigned V)
 
unsigned getBound ()
 
void addGlobalObject (constValue *V,constMachineFunction *MF,Register R)
 
constValuegetGlobalObject (constMachineFunction *MF,Register R)
 
void addReturnType (constFunction *ArgF,TypedPointerType *DerivedTy)
 
constTypedPointerTypefindReturnType (constFunction *ArgF)
 
void addAssignPtrTypeInstr (Value *Val,CallInst *AssignPtrTyCI)
 
CallInstfindAssignPtrTypeInstr (constValue *Val)
 
void updateIfExistAssignPtrTypeInstr (Value *OldVal,Value *NewVal,bool DeleteOld)
 
void addMutated (Value *Val,Type *Ty)
 
TypefindMutated (constValue *Val)
 
void addValueAttrs (MachineInstr *Key, std::pair<Type *, std::string > Val)
 
bool findValueAttrs (constMachineInstr *Key,Type *&Ty,StringRef &Name)
 
void addDeducedElementType (Value *Val,Type *Ty)
 
TypefindDeducedElementType (constValue *Val)
 
void updateIfExistDeducedElementType (Value *OldVal,Value *NewVal,bool DeleteOld)
 
void addDeducedCompositeType (Value *Val,Type *Ty)
 
TypefindDeducedCompositeType (constValue *Val)
 
TypegetDeducedGlobalValueType (constGlobalValue *Global)
 
constMachineOperandgetFunctionDefinitionByUse (constMachineOperand *Use)
 
constMachineInstrgetFunctionDefinition (constFunction *F)
 
constFunctiongetFunctionByDefinition (constMachineInstr *MI)
 
void recordFunctionPointer (constMachineOperand *MO,constFunction *F)
 
void recordFunctionDefinition (constFunction *F,constMachineOperand *MO)
 
bool hasConstFunPtr ()
 
void addForwardCall (constFunction *F,MachineInstr *MI)
 
SmallPtrSet<MachineInstr *, 8 > * getForwardCalls (constFunction *F)
 
SPIRVTypeassignTypeToVReg (constType *Type,Register VReg,MachineIRBuilder &MIRBuilder, SPIRV::AccessQualifier::AccessQualifier AQ=SPIRV::AccessQualifier::ReadWrite,bool EmitIR=true)
 
SPIRVTypeassignIntTypeToVReg (unsignedBitWidth,Register VReg,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypeassignFloatTypeToVReg (unsignedBitWidth,Register VReg,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypeassignVectTypeToVReg (SPIRVType *BaseType,unsigned NumElements,Register VReg,MachineInstr &I,constSPIRVInstrInfo &TII)
 
void assignSPIRVTypeToVReg (SPIRVType *Type,Register VReg,constMachineFunction &MF)
 
SPIRVTypegetOrCreateSPIRVType (constType *Type,MachineIRBuilder &MIRBuilder, SPIRV::AccessQualifier::AccessQualifier AQ=SPIRV::AccessQualifier::ReadWrite,bool EmitIR=true)
 
constTypegetTypeForSPIRVType (constSPIRVType *Ty)const
 
SPIRVTypegetPointeeType (SPIRVType *PtrType)
 
unsigned getPointeeTypeOp (Register PtrReg)
 
SPIRVTypegetOrCreateSPIRVTypeByName (StringRef TypeStr,MachineIRBuilder &MIRBuilder, SPIRV::StorageClass::StorageClass SC=SPIRV::StorageClass::Function, SPIRV::AccessQualifier::AccessQualifier AQ=SPIRV::AccessQualifier::ReadWrite)
 
SPIRVTypegetSPIRVTypeForVReg (Register VReg,constMachineFunction *MF=nullptr)const
 
SPIRVTypegetResultType (Register VReg,MachineFunction *MF=nullptr)
 
bool hasSPIRVTypeForVReg (Register VReg)const
 
Register getSPIRVTypeID (constSPIRVType *SpirvType)const
 
MachineFunctionsetCurrentFunc (MachineFunction &MF)
 
bool isAggregateType (SPIRVType *Type)const
 
bool isScalarOfType (Register VReg,unsigned TypeOpcode)const
 
bool isScalarOrVectorOfType (Register VReg,unsigned TypeOpcode)const
 
unsigned getScalarOrVectorComponentCount (Register VReg)const
 
unsigned getScalarOrVectorComponentCount (SPIRVType *Type)const
 
SPIRVTypegetScalarOrVectorComponentType (Register VReg)const
 
SPIRVTypegetScalarOrVectorComponentType (SPIRVType *Type)const
 
unsigned getScalarOrVectorBitWidth (constSPIRVType *Type)const
 
unsigned getNumScalarOrVectorTotalBitWidth (constSPIRVType *Type)const
 
constSPIRVTyperetrieveScalarOrVectorIntType (constSPIRVType *Type)const
 
bool isScalarOrVectorSigned (constSPIRVType *Type)const
 
SPIRV::StorageClass::StorageClass getPointerStorageClass (Register VReg)const
 
SPIRV::StorageClass::StorageClass getPointerStorageClass (constSPIRVType *Type)const
 
unsigned getPointerSize ()const
 
bool isBitcastCompatible (constSPIRVType *Type1,constSPIRVType *Type2)const
 
void invalidateMachineInstr (MachineInstr *MI)
 
Register buildConstantInt (uint64_t Val,MachineIRBuilder &MIRBuilder,SPIRVType *SpvType,bool EmitIR=true,bool ZeroAsNull=true)
 
Register getOrCreateConstInt (uint64_t Val,MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII,bool ZeroAsNull=true)
 
Register getOrCreateConstFP (APFloat Val,MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII,bool ZeroAsNull=true)
 
Register buildConstantFP (APFloat Val,MachineIRBuilder &MIRBuilder,SPIRVType *SpvType=nullptr)
 
Register getOrCreateConstVector (uint64_t Val,MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII,bool ZeroAsNull=true)
 
Register getOrCreateConstVector (APFloat Val,MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII,bool ZeroAsNull=true)
 
Register getOrCreateConstIntArray (uint64_t Val, size_t Num,MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII)
 
Register getOrCreateConsIntVector (uint64_t Val,MachineIRBuilder &MIRBuilder,SPIRVType *SpvType,bool EmitIR=true)
 
Register getOrCreateConstNullPtr (MachineIRBuilder &MIRBuilder,SPIRVType *SpvType)
 
Register buildConstantSampler (Register Res,unsignedAddrMode,unsigned Param,unsigned FilerMode,MachineIRBuilder &MIRBuilder,SPIRVType *SpvType)
 
Register getOrCreateUndef (MachineInstr &I,SPIRVType *SpvType,constSPIRVInstrInfo &TII)
 
Register buildGlobalVariable (RegisterReg,SPIRVType *BaseType,StringRefName,constGlobalValue *GV, SPIRV::StorageClass::StorageClass Storage,constMachineInstr *Init,bool IsConst,bool HasLinkageTy, SPIRV::LinkageType::LinkageType LinkageType,MachineIRBuilder &MIRBuilder,bool IsInstSelector)
 
Register getOrCreateGlobalVariableWithBinding (constSPIRVType *VarType,uint32_t Set,uint32_t Binding,MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateSPIRVIntegerType (unsignedBitWidth,MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateSPIRVIntegerType (unsignedBitWidth,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypegetOrCreateSPIRVType (unsignedBitWidth,MachineInstr &I,constSPIRVInstrInfo &TII,unsigned SPIRVOPcode,Type *LLVMTy)
 
SPIRVTypegetOrCreateSPIRVFloatType (unsignedBitWidth,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypegetOrCreateSPIRVBoolType (MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateSPIRVBoolType (MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypegetOrCreateSPIRVVectorType (SPIRVType *BaseType,unsigned NumElements,MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateSPIRVVectorType (SPIRVType *BaseType,unsigned NumElements,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypegetOrCreateSPIRVArrayType (SPIRVType *BaseType,unsigned NumElements,MachineInstr &I,constSPIRVInstrInfo &TII)
 
SPIRVTypegetOrCreateSPIRVPointerType (SPIRVType *BaseType,MachineIRBuilder &MIRBuilder, SPIRV::StorageClass::StorageClass SClass=SPIRV::StorageClass::Function)
 
SPIRVTypegetOrCreateSPIRVPointerType (SPIRVType *BaseType,MachineInstr &I,constSPIRVInstrInfo &TII, SPIRV::StorageClass::StorageClass SClass=SPIRV::StorageClass::Function)
 
SPIRVTypegetOrCreateOpTypeImage (MachineIRBuilder &MIRBuilder,SPIRVType *SampledType, SPIRV::Dim::Dim Dim,uint32_tDepth,uint32_t Arrayed,uint32_t Multisampled,uint32_t Sampled, SPIRV::ImageFormat::ImageFormat ImageFormat, SPIRV::AccessQualifier::AccessQualifier AccQual)
 
SPIRVTypegetOrCreateOpTypeSampler (MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateOpTypeSampledImage (SPIRVType *ImageType,MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateOpTypeCoopMatr (MachineIRBuilder &MIRBuilder,constTargetExtType *ExtensionType,constSPIRVType *ElemType,uint32_t Scope,uint32_t Rows,uint32_t Columns,uint32_tUse)
 
SPIRVTypegetOrCreateOpTypePipe (MachineIRBuilder &MIRBuilder, SPIRV::AccessQualifier::AccessQualifier AccQual)
 
SPIRVTypegetOrCreateOpTypeDeviceEvent (MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateOpTypeFunctionWithArgs (constType *Ty,SPIRVType *RetType,constSmallVectorImpl<SPIRVType * > &ArgTypes,MachineIRBuilder &MIRBuilder)
 
SPIRVTypegetOrCreateOpTypeByOpcode (constType *Ty,MachineIRBuilder &MIRBuilder,unsigned Opcode)
 
constTargetRegisterClassgetRegClass (SPIRVType *SpvType)const
 
LLT getRegType (SPIRVType *SpvType)const
 

Public Attributes

MachineFunctionCurMF
 

Detailed Description

Definition at line30 of fileSPIRVGlobalRegistry.h.

Constructor & Destructor Documentation

◆ SPIRVGlobalRegistry()

SPIRVGlobalRegistry::SPIRVGlobalRegistry(unsigned PointerSize)

Definition at line43 of fileSPIRVGlobalRegistry.cpp.

Member Function Documentation

◆ add()[1/5]

void llvm::SPIRVGlobalRegistry::add(constArgumentArg,
MachineFunctionMF,
Register R 
)
inline

Definition at line133 of fileSPIRVGlobalRegistry.h.

◆ add()[2/5]

void llvm::SPIRVGlobalRegistry::add(constConstantC,
MachineFunctionMF,
Register R 
)
inline

Definition at line121 of fileSPIRVGlobalRegistry.h.

Referencesllvm::CallingConv::C.

Referenced byaddConstantsToTrack(),generateAssignInstrs(),insertInlineAsmProcess(), andllvm::SPIRVCallLowering::lowerFormalArguments().

◆ add()[3/5]

void llvm::SPIRVGlobalRegistry::add(constFunctionF,
MachineFunctionMF,
Register R 
)
inline

Definition at line129 of fileSPIRVGlobalRegistry.h.

ReferencesF.

◆ add()[4/5]

void llvm::SPIRVGlobalRegistry::add(constGlobalVariableGV,
MachineFunctionMF,
Register R 
)
inline

Definition at line125 of fileSPIRVGlobalRegistry.h.

◆ add()[5/5]

void llvm::SPIRVGlobalRegistry::add(constMachineInstrMI,
MachineFunctionMF,
Register R 
)
inline

Definition at line137 of fileSPIRVGlobalRegistry.h.

ReferencesMI.

◆ addAssignPtrTypeInstr()

void llvm::SPIRVGlobalRegistry::addAssignPtrTypeInstr(ValueVal,
CallInstAssignPtrTyCI 
)
inline

Definition at line180 of fileSPIRVGlobalRegistry.h.

◆ addDeducedCompositeType()

void llvm::SPIRVGlobalRegistry::addDeducedCompositeType(ValueVal,
TypeTy 
)
inline

Definition at line241 of fileSPIRVGlobalRegistry.h.

◆ addDeducedElementType()

void llvm::SPIRVGlobalRegistry::addDeducedElementType(ValueVal,
TypeTy 
)
inline

Definition at line225 of fileSPIRVGlobalRegistry.h.

◆ addForwardCall()

void llvm::SPIRVGlobalRegistry::addForwardCall(constFunctionF,
MachineInstrMI 
)
inline

Definition at line309 of fileSPIRVGlobalRegistry.h.

ReferencesF,llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), andMI.

Referenced byllvm::SPIRVTargetLowering::finalizeLowering().

◆ addGlobalObject()

void llvm::SPIRVGlobalRegistry::addGlobalObject(constValueV,
constMachineFunctionMF,
Register R 
)
inline

Definition at line160 of fileSPIRVGlobalRegistry.h.

Referenced byaddConstantsToTrack(),buildGlobalVariable(), andllvm::SPIRVCallLowering::lowerFormalArguments().

◆ addMutated()

void llvm::SPIRVGlobalRegistry::addMutated(ValueVal,
TypeTy 
)
inline

Definition at line201 of fileSPIRVGlobalRegistry.h.

◆ addReturnType()

void llvm::SPIRVGlobalRegistry::addReturnType(constFunctionArgF,
TypedPointerTypeDerivedTy 
)
inline

Definition at line169 of fileSPIRVGlobalRegistry.h.

Referenced byllvm::SPIRVCallLowering::lowerFormalArguments().

◆ addValueAttrs()

void llvm::SPIRVGlobalRegistry::addValueAttrs(MachineInstrKey,
std::pair<Type *, std::string > Val 
)
inline

Definition at line210 of fileSPIRVGlobalRegistry.h.

Referenced bygenerateAssignInstrs().

◆ assignFloatTypeToVReg()

SPIRVType * SPIRVGlobalRegistry::assignFloatTypeToVReg(unsigned BitWidth,
Register VReg,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line56 of fileSPIRVGlobalRegistry.cpp.

ReferencesassignSPIRVTypeToVReg(),llvm::BitWidth,CurMF,getOrCreateSPIRVFloatType(),I, andTII.

◆ assignIntTypeToVReg()

SPIRVType * SPIRVGlobalRegistry::assignIntTypeToVReg(unsigned BitWidth,
Register VReg,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line46 of fileSPIRVGlobalRegistry.cpp.

ReferencesassignSPIRVTypeToVReg(),llvm::BitWidth,CurMF,getOrCreateSPIRVIntegerType(),I, andTII.

◆ assignSPIRVTypeToVReg()

void SPIRVGlobalRegistry::assignSPIRVTypeToVReg(SPIRVTypeType,
Register VReg,
constMachineFunctionMF 
)

Definition at line82 of fileSPIRVGlobalRegistry.cpp.

Referenced byassignFloatTypeToVReg(),assignIntTypeToVReg(),assignTypeToVReg(),assignVectTypeToVReg(),llvm::buildAtomicCompareExchangeInst(),llvm::buildAtomicRMWInst(),llvm::buildBoolRegister(),llvm::buildBuiltinVariableLoad(),buildConstantFP(),llvm::buildEnqueueKernel(),buildGlobalVariable(),llvm::buildNDRange(),convertPtrToInt(),llvm::createVirtualRegister(),llvm::generateGroupInst(),llvm::generateICarryBorrowInst(),llvm::generateImageSizeQueryInst(),llvm::generateReadImageInst(),llvm::genWorkgroupQuery(),getOrCreateConstNullPtr(),getOrCreateUndef(),llvm::insertAssignInstr(),insertBitcasts(),insertInlineAsmProcess(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(),propagateSPIRVType(), andllvm::setRegClassType().

◆ assignTypeToVReg()

SPIRVType * SPIRVGlobalRegistry::assignTypeToVReg(constTypeType,
Register VReg,
MachineIRBuilderMIRBuilder,
SPIRV::AccessQualifier::AccessQualifier AQ =SPIRV::AccessQualifier::ReadWrite,
bool EmitIR =true 
)

Definition at line73 of fileSPIRVGlobalRegistry.cpp.

ReferencesassignSPIRVTypeToVReg(),llvm::MachineIRBuilder::getMF(), andgetOrCreateSPIRVType().

Referenced bybuildConstantInt(), andllvm::SPIRVCallLowering::lowerCall().

◆ assignVectTypeToVReg()

SPIRVType * SPIRVGlobalRegistry::assignVectTypeToVReg(SPIRVTypeBaseType,
unsigned NumElements,
Register VReg,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line64 of fileSPIRVGlobalRegistry.cpp.

ReferencesassignSPIRVTypeToVReg(),CurMF,getOrCreateSPIRVVectorType(),I, andTII.

◆ buildConstantFP()

Register SPIRVGlobalRegistry::buildConstantFP(APFloat Val,
MachineIRBuilderMIRBuilder,
SPIRVTypeSpvType =nullptr 
)

Definition at line406 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::addNumImm(),assignSPIRVTypeToVReg(),llvm::MachineIRBuilder::buildInstr(),llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::Type::getFloatTy(),llvm::MachineIRBuilder::getMF(),getOrCreateSPIRVType(),getScalarOrVectorBitWidth(),getSPIRVTypeID(),llvm::Register::isValid(), andllvm::LLT::scalar().

Referenced byllvm::generateReadImageInst().

◆ buildConstantInt()

Register SPIRVGlobalRegistry::buildConstantInt(uint64_t Val,
MachineIRBuilderMIRBuilder,
SPIRVTypeSpvType,
bool EmitIR =true,
bool ZeroAsNull =true 
)

Definition at line359 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::addNumImm(),llvm::MachineInstrBuilder::addUse(),assert(),assignTypeToVReg(),llvm::BitWidth,llvm::MachineIRBuilder::buildConstant(),llvm::MachineIRBuilder::buildInstr(),llvm::constrainSelectedInstRegOperands(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::MachineIRBuilder::getMF(),getScalarOrVectorBitWidth(),getSPIRVTypeID(),llvm::MachineFunction::getSubtarget(),getTypeForSPIRVType(),llvm::Register::isValid(), andllvm::LLT::scalar().

Referenced byllvm::buildConstantIntReg32(),llvm::buildNDRange(),llvm::buildSelectInst(),llvm::generateGroupInst(),llvm::genWorkgroupQuery(), andgetOrCreateOpTypeCoopMatr().

◆ buildConstantSampler()

Register SPIRVGlobalRegistry::buildConstantSampler(Register Res,
unsigned AddrMode,
unsigned Param,
unsigned FilerMode,
MachineIRBuilderMIRBuilder,
SPIRVTypeSpvType 
)

Definition at line649 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::MachineIRBuilder::buildInstr(),llvm::MachineRegisterInfo::createVirtualRegister(),llvm::MachineIRBuilder::getMRI(),getOrCreateSPIRVType(),getOrCreateSPIRVTypeByName(),getSPIRVTypeID(),getTypeForSPIRVType(),llvm::Register::isValid(), andllvm::report_fatal_error().

Referenced byllvm::generateReadImageInst(), andllvm::generateSampleImageInst().

◆ buildGlobalVariable()

Register SPIRVGlobalRegistry::buildGlobalVariable(Register Reg,
SPIRVTypeBaseType,
StringRef Name,
constGlobalValueGV,
SPIRV::StorageClass::StorageClass Storage,
constMachineInstrInit,
bool IsConst,
bool HasLinkageTy,
SPIRV::LinkageType::LinkageType LinkageType,
MachineIRBuilderMIRBuilder,
bool IsInstSelector 
)

Definition at line675 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),addGlobalObject(),llvm::MachineInstrBuilder::addImm(),llvm::MachineInstrBuilder::addUse(),assignSPIRVTypeToVReg(),llvm::MachineIRBuilder::buildCopy(),llvm::MachineIRBuilder::buildInstr(),llvm::buildOpDecorate(),llvm::buildOpName(),llvm::buildOpSpirvDecorations(),llvm::constrainSelectedInstRegOperands(),CurMF,llvm::GlobalValue::ExternalLinkage,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::GlobalObject::getAlign(),llvm::MachineFunction::getFunction(),llvm::GlobalObject::getMetadata(),llvm::MachineIRBuilder::getMF(),llvm::MachineIRBuilder::getMRI(),llvm::Value::getName(),llvm::MachineInstr::getOperand(),llvm::GlobalValue::getParent(),getPointerSize(),llvm::MachineOperand::getReg(),llvm::getSpirvBuiltInIdByName(),getSPIRVTypeForVReg(),getSPIRVTypeID(),llvm::MachineFunction::getSubtarget(),getTypeForSPIRVType(),llvm::Value::hasName(),MRI,Name,llvm::LLT::pointer(),llvm::Align::value(), andllvm::MaybeAlign::valueOrOne().

Referenced byllvm::buildBuiltinVariableLoad(), andgetOrCreateGlobalVariableWithBinding().

◆ find()[1/4]

Register llvm::SPIRVGlobalRegistry::find(constConstantC,
MachineFunctionMF 
)
inline

Definition at line145 of fileSPIRVGlobalRegistry.h.

Referencesllvm::CallingConv::C.

◆ find()[2/4]

Register llvm::SPIRVGlobalRegistry::find(constFunctionF,
MachineFunctionMF 
)
inline

Definition at line153 of fileSPIRVGlobalRegistry.h.

ReferencesF.

◆ find()[3/4]

Register llvm::SPIRVGlobalRegistry::find(constGlobalVariableGV,
MachineFunctionMF 
)
inline

Definition at line149 of fileSPIRVGlobalRegistry.h.

◆ find()[4/4]

Register llvm::SPIRVGlobalRegistry::find(constMachineInstrMI,
MachineFunctionMF 
)
inline

Definition at line141 of fileSPIRVGlobalRegistry.h.

ReferencesMI.

Referenced byaddConstantsToTrack(),generateAssignInstrs(), andllvm::SPIRVCallLowering::lowerCall().

◆ findAssignPtrTypeInstr()

CallInst * llvm::SPIRVGlobalRegistry::findAssignPtrTypeInstr(constValueVal)
inline

Definition at line184 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byupdateIfExistAssignPtrTypeInstr().

◆ findDeducedCompositeType()

Type * llvm::SPIRVGlobalRegistry::findDeducedCompositeType(constValueVal)
inline

Definition at line245 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced bygetDeducedGlobalValueType().

◆ findDeducedElementType()

Type * llvm::SPIRVGlobalRegistry::findDeducedElementType(constValueVal)
inline

Definition at line227 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced bygetAtomicElemTy(),getDeducedGlobalValueType(),getFunctionPointerElemType(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(), andupdateIfExistDeducedElementType().

◆ findMutated()

Type * llvm::SPIRVGlobalRegistry::findMutated(constValueVal)
inline

Definition at line203 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byrestoreMutatedType().

◆ findReturnType()

constTypedPointerType * llvm::SPIRVGlobalRegistry::findReturnType(constFunctionArgF)
inline

Definition at line173 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byllvm::SPIRVCallLowering::lowerCall().

◆ findValueAttrs()

bool llvm::SPIRVGlobalRegistry::findValueAttrs(constMachineInstrKey,
Type *& Ty,
StringRefName 
)
inline

Definition at line214 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(),llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), andName.

◆ getBound()

unsigned llvm::SPIRVGlobalRegistry::getBound()
inline

Definition at line158 of fileSPIRVGlobalRegistry.h.

◆ getDeducedGlobalValueType()

Type * llvm::SPIRVGlobalRegistry::getDeducedGlobalValueType(constGlobalValueGlobal)
inline

Definition at line250 of fileSPIRVGlobalRegistry.h.

ReferencesfindDeducedCompositeType(),findDeducedElementType(), andllvm::Global.

Referenced bypropagateSPIRVType().

◆ getForwardCalls()

SmallPtrSet<MachineInstr *, 8 > * llvm::SPIRVGlobalRegistry::getForwardCalls(constFunctionF)
inline

Definition at line315 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(),F, andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byvalidateForwardCalls().

◆ getFunctionByDefinition()

constFunction * llvm::SPIRVGlobalRegistry::getFunctionByDefinition(constMachineInstrMI)
inline

Definition at line286 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(),llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), andMI.

Referenced byvalidateForwardCalls().

◆ getFunctionDefinition()

constMachineInstr * llvm::SPIRVGlobalRegistry::getFunctionDefinition(constFunctionF)
inline

Definition at line277 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(),F, andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byvalidateFunCall().

◆ getFunctionDefinitionByUse()

constMachineOperand * llvm::SPIRVGlobalRegistry::getFunctionDefinitionByUse(constMachineOperandUse)
inline

Definition at line267 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

◆ getGlobalObject()

constValue * llvm::SPIRVGlobalRegistry::getGlobalObject(constMachineFunctionMF,
Register R 
)
inline

Definition at line163 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

◆ getNumScalarOrVectorTotalBitWidth()

unsigned SPIRVGlobalRegistry::getNumScalarOrVectorTotalBitWidth(constSPIRVTypeType) const

Definition at line1232 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(), andgetSPIRVTypeForVReg().

Referenced byisBitcastCompatible().

◆ getOrCreateConsIntVector()

Register SPIRVGlobalRegistry::getOrCreateConsIntVector(uint64_t Val,
MachineIRBuilderMIRBuilder,
SPIRVTypeSpvType,
bool EmitIR =true 
)

Definition at line609 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::VectorType::getElementCount(),llvm::VectorType::getElementType(),llvm::MachineOperand::getImm(),llvm::MachineInstr::getOperand(),getScalarOrVectorBitWidth(),llvm::ConstantVector::getSplat(),getTypeForSPIRVType(), andllvm::Type::isVectorTy().

Referenced byllvm::buildSelectInst().

◆ getOrCreateConstFP()

Register SPIRVGlobalRegistry::getOrCreateConstFP(APFloat Val,
MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII,
bool ZeroAsNull =true 
)

Definition at line283 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::BitWidth,llvm::constrainSelectedInstRegOperands(),CurMF,llvm::MachineFunction::getSubtarget(),I,llvm::APFloat::isPosZero(), andTII.

◆ getOrCreateConstInt()

Register SPIRVGlobalRegistry::getOrCreateConstInt(uint64_t Val,
MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII,
bool ZeroAsNull =true 
)

Definition at line322 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::MachineInstrBuilder::addDef(),llvm::addNumImm(),llvm::MachineInstrBuilder::addUse(),assert(),llvm::BitWidth,llvm::MachineIRBuilder::buildInstr(),llvm::constrainSelectedInstRegOperands(),CurMF,getSPIRVTypeID(),llvm::MachineFunction::getSubtarget(),I, andTII.

Referenced bygetOrCreateSPIRVArrayType().

◆ getOrCreateConstIntArray()

Register SPIRVGlobalRegistry::getOrCreateConstIntArray(uint64_t Val,
size_t Num,
MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII 
)

Definition at line543 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::PoisonValue::get(),llvm::ConstantStruct::getAnon(),llvm::ArrayType::getElementType(),llvm::ArrayType::getNumElements(),llvm::MachineInstr::getOperand(),llvm::MachineOperand::getReg(),getScalarOrVectorBitWidth(),getSPIRVTypeForVReg(),getTypeForSPIRVType(),I,llvm::Type::isArrayTy(), andTII.

Referenced byllvm::buildNDRange().

◆ getOrCreateConstNullPtr()

Register SPIRVGlobalRegistry::getOrCreateConstNullPtr(MachineIRBuilderMIRBuilder,
SPIRVTypeSpvType 
)

Definition at line626 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),assignSPIRVTypeToVReg(),llvm::MachineIRBuilder::buildInstr(),llvm::MachineRegisterInfo::createGenericVirtualRegister(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::ConstantPointerNull::get(),llvm::PointerType::get(),llvm::Type::getContext(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeID(),getTypeForSPIRVType(),llvm::Register::isValid(),llvm::LLT::pointer(),llvm::MachineRegisterInfo::setRegClass(), andtypeToAddressSpace().

Referenced byllvm::buildEnqueueKernel().

◆ getOrCreateConstVector()[1/2]

Register SPIRVGlobalRegistry::getOrCreateConstVector(APFloat Val,
MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII,
bool ZeroAsNull =true 
)

Definition at line524 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::VectorType::getElementCount(),llvm::VectorType::getElementType(),llvm::MachineOperand::getImm(),llvm::MachineInstr::getOperand(),getScalarOrVectorBitWidth(),llvm::ConstantVector::getSplat(),getTypeForSPIRVType(),I,llvm::Type::isFloatingPointTy(),llvm::Type::isVectorTy(), andTII.

◆ getOrCreateConstVector()[2/2]

Register SPIRVGlobalRegistry::getOrCreateConstVector(uint64_t Val,
MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII,
bool ZeroAsNull =true 
)

Definition at line505 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::VectorType::getElementCount(),llvm::VectorType::getElementType(),llvm::MachineOperand::getImm(),llvm::MachineInstr::getOperand(),getScalarOrVectorBitWidth(),llvm::ConstantVector::getSplat(),getTypeForSPIRVType(),I,llvm::Type::isIntegerTy(),llvm::Type::isVectorTy(), andTII.

◆ getOrCreateGlobalVariableWithBinding()

Register SPIRVGlobalRegistry::getOrCreateGlobalVariableWithBinding(constSPIRVTypeVarType,
uint32_t Set,
uint32_t Binding,
MachineIRBuilderMIRBuilder 
)

Definition at line828 of fileSPIRVGlobalRegistry.cpp.

ReferencesbuildGlobalVariable(),llvm::buildOpDecorate(),buildSpirvTypeName(),llvm::MachineRegisterInfo::createVirtualRegister(),llvm::MachineIRBuilder::getMRI(),getOrCreateSPIRVPointerType(), andName.

◆ getOrCreateOpTypeByOpcode()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeByOpcode(constTypeTy,
MachineIRBuilderMIRBuilder,
unsigned Opcode 
)

Definition at line1398 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::MachineIRBuilder::getMF(),llvm::MachineFunction::getRegInfo(),llvm::MachineRegisterInfo::getUniqueVRegDef(), andllvm::Register::isValid().

Referenced byllvm::getNonParameterizedType().

◆ getOrCreateOpTypeCoopMatr()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeCoopMatr(MachineIRBuilderMIRBuilder,
constTargetExtTypeExtensionType,
constSPIRVTypeElemType,
uint32_t Scope,
uint32_t Rows,
uint32_t Columns,
uint32_t Use 
)

Definition at line1377 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addUse(),buildConstantInt(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::MachineIRBuilder::getMF(),getOrCreateSPIRVIntegerType(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeID(),llvm::MachineRegisterInfo::getUniqueVRegDef(), andllvm::Register::isValid().

Referenced byllvm::getCoopMatrType().

◆ getOrCreateOpTypeDeviceEvent()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeDeviceEvent(MachineIRBuilderMIRBuilder)

Definition at line1352 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::MachineIRBuilder::getMF(), andllvm::SPIRV::make_descr_event().

Referenced byllvm::SPIRV::lowerBuiltinType().

◆ getOrCreateOpTypeFunctionWithArgs()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeFunctionWithArgs(constTypeTy,
SPIRVTypeRetType,
constSmallVectorImpl<SPIRVType * > & ArgTypes,
MachineIRBuilderMIRBuilder 
)

Definition at line945 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::MachineIRBuilder::getMF(),getSPIRVTypeForVReg(), andgetSPIRVTypeID().

Referenced byinsertInlineAsmProcess(), andllvm::SPIRVCallLowering::lowerFormalArguments().

◆ getOrCreateOpTypeImage()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeImage(MachineIRBuilderMIRBuilder,
SPIRVTypeSampledType,
SPIRV::Dim::Dim Dim,
uint32_t Depth,
uint32_t Arrayed,
uint32_t Multisampled,
uint32_t Sampled,
SPIRV::ImageFormat::ImageFormat ImageFormat,
SPIRV::AccessQualifier::AccessQualifier AccQual 
)

Definition at line1302 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addImm(),llvm::MachineInstrBuilder::addUse(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::Depth,llvm::MachineIRBuilder::getMF(),getSPIRVTypeID(), andllvm::SPIRV::make_descr_image().

Referenced byllvm::getImageType().

◆ getOrCreateOpTypePipe()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypePipe(MachineIRBuilderMIRBuilder,
SPIRV::AccessQualifier::AccessQualifier AccQual 
)

Definition at line1339 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addImm(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::MachineIRBuilder::getMF(), andllvm::SPIRV::make_descr_pipe().

Referenced byllvm::getPipeType().

◆ getOrCreateOpTypeSampledImage()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeSampledImage(SPIRVTypeImageType,
MachineIRBuilderMIRBuilder 
)

Definition at line1362 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addUse(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::MachineIRBuilder::getMF(),llvm::MachineInstr::getOperand(),llvm::MachineOperand::getReg(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeID(),llvm::MachineRegisterInfo::getVRegDef(), andllvm::SPIRV::make_descr_sampled_image().

Referenced byllvm::generateReadImageInst(),llvm::generateSampleImageInst(), andllvm::getSampledImageType().

◆ getOrCreateOpTypeSampler()

SPIRVType * SPIRVGlobalRegistry::getOrCreateOpTypeSampler(MachineIRBuilderMIRBuilder)

Definition at line1330 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineIRBuilder::buildInstr(),createTypeVReg(),llvm::MachineIRBuilder::getMF(), andllvm::SPIRV::make_descr_sampler().

Referenced byllvm::getSamplerType().

◆ getOrCreateSPIRVArrayType()

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVArrayType(SPIRVTypeBaseType,
unsigned NumElements,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line1575 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addUse(),llvm::BuildMI(),createTypeVReg(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::ArrayType::get(),getOrCreateConstInt(),getOrCreateSPIRVIntegerType(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(),getSPIRVTypeID(),getTypeForSPIRVType(),I, andTII.

◆ getOrCreateSPIRVBoolType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVBoolType(MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line1537 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::BuildMI(),createTypeVReg(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::IntegerType::get(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(),getSPIRVTypeID(),I, andTII.

◆ getOrCreateSPIRVBoolType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVBoolType(MachineIRBuilderMIRBuilder)

Definition at line1530 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::IntegerType::get(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),llvm::MachineIRBuilder::getMF(), andgetOrCreateSPIRVType().

Referenced byllvm::buildBoolRegister(),llvm::generateGroupInst(), andllvm::genWorkgroupQuery().

◆ getOrCreateSPIRVFloatType()

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVFloatType(unsigned BitWidth,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line1509 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::BitWidth,CurMF,llvm::Function::getContext(),llvm::Type::getDoubleTy(),llvm::Type::getFloatTy(),llvm::MachineFunction::getFunction(),llvm::Type::getHalfTy(),getOrCreateSPIRVType(),I,llvm_unreachable, andTII.

Referenced byassignFloatTypeToVReg().

◆ getOrCreateSPIRVIntegerType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVIntegerType(unsigned BitWidth,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line1498 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::BitWidth,CurMF,llvm::IntegerType::get(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),getOrCreateSPIRVType(),I, andTII.

◆ getOrCreateSPIRVIntegerType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVIntegerType(unsigned BitWidth,
MachineIRBuilderMIRBuilder 
)

Definition at line1466 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::BitWidth,llvm::IntegerType::get(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),llvm::MachineIRBuilder::getMF(), andgetOrCreateSPIRVType().

Referenced byassignIntTypeToVReg(),llvm::buildAtomicCompareExchangeInst(),llvm::buildConstantIntReg32(),llvm::buildEnqueueKernel(),llvm::SPIRVTargetLowering::finalizeLowering(),llvm::generateImageSizeQueryInst(),llvm::genWorkgroupQuery(),getOrCreateOpTypeCoopMatr(),getOrCreateSPIRVArrayType(), andpropagateSPIRVType().

◆ getOrCreateSPIRVPointerType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(SPIRVTypeBaseType,
MachineInstrI,
constSPIRVInstrInfoTII,
SPIRV::StorageClass::StorageClass SClass =SPIRV::StorageClass::Function 
)

Definition at line1619 of fileSPIRVGlobalRegistry.cpp.

ReferencesgetOrCreateSPIRVPointerType(), andI.

◆ getOrCreateSPIRVPointerType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVPointerType(SPIRVTypeBaseType,
MachineIRBuilderMIRBuilder,
SPIRV::StorageClass::StorageClass SClass =SPIRV::StorageClass::Function 
)

Definition at line1594 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addImm(),llvm::MachineInstrBuilder::addUse(),llvm::BuildMI(),createTypeVReg(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::TypedPointerType::get(),llvm::MCInstrInfo::get(),llvm::MachineIRBuilder::getDebugLoc(),llvm::MachineIRBuilder::getInsertPt(),llvm::MachineIRBuilder::getMBB(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(),getSPIRVTypeID(),llvm::MachineIRBuilder::getTII(),getTypeForSPIRVType(), andllvm::storageClassToAddressSpace().

Referenced byllvm::buildBuiltinVariableLoad(),llvm::buildEnqueueKernel(),createNewPtrType(),generateAssignInstrs(),getArgSPIRVType(),getOrCreateGlobalVariableWithBinding(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVTypeByName(),insertBitcasts(),propagateSPIRVType(),validateLifetimeStart(), andvalidatePtrUnwrapStructField().

◆ getOrCreateSPIRVType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVType(constTypeType,
MachineIRBuilderMIRBuilder,
SPIRV::AccessQualifier::AccessQualifier AQ =SPIRV::AccessQualifier::ReadWrite,
bool EmitIR =true 
)

Definition at line1125 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::find(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),llvm::Type::getInt8Ty(),llvm::MachineIRBuilder::getMF(),llvm::getPointerAddressSpace(),getSPIRVTypeForVReg(),llvm::isPointerTy(),llvm::isSpecialOpaqueType(),llvm::isTypedPointerTy(), andllvm::isTypedPointerWrapper().

Referenced byaddConstantsToTrack(),assignTypeToVReg(),buildConstantFP(),buildConstantSampler(),llvm::buildNDRange(),createNewPtrType(),llvm::createVirtualRegister(),generateAssignInstrs(),getArgSPIRVType(),llvm::getCoopMatrType(),llvm::getImageType(),getOrCreateSPIRVBoolType(),llvm::getOrCreateSPIRVDeviceEventPointer(),getOrCreateSPIRVFloatType(),getOrCreateSPIRVIntegerType(),getOrCreateSPIRVTypeByName(),getOrCreateSPIRVVectorType(),llvm::insertAssignInstr(),insertBitcasts(),insertInlineAsmProcess(),llvm::SPIRVLegalizerInfo::legalizeCustom(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(),propagateSPIRVType(),llvm::setRegClassType(), andvalidateLifetimeStart().

◆ getOrCreateSPIRVType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVType(unsigned BitWidth,
MachineInstrI,
constSPIRVInstrInfoTII,
unsigned SPIRVOPcode,
TypeLLVMTy 
)

Definition at line1481 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addImm(),llvm::BitWidth,llvm::BuildMI(),createTypeVReg(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(),getSPIRVTypeID(),I, andTII.

◆ getOrCreateSPIRVTypeByName()

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVTypeByName(StringRef TypeStr,
MachineIRBuilderMIRBuilder,
SPIRV::StorageClass::StorageClass SC =SPIRV::StorageClass::Function,
SPIRV::AccessQualifier::AccessQualifier AQ =SPIRV::AccessQualifier::ReadWrite 
)

Definition at line1419 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::StringRef::consume_back(),llvm::StringRef::consume_front(),llvm::StringRef::find(),llvm::StringRef::getAsInteger(),llvm::MachineIRBuilder::getContext(),llvm::Function::getContext(),llvm::MachineFunction::getFunction(),llvm::MachineIRBuilder::getMF(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVType(),getOrCreateSPIRVVectorType(),llvm::hasBuiltinTypePrefix(),llvm::parseBasicTypeName(),llvm::SPIRV::parseBuiltinTypeNameToTargetExtType(),llvm::StringRef::starts_with(),llvm::StringRef::str(), andllvm::StringRef::substr().

Referenced bybuildConstantSampler(),llvm::generateAsyncCopy(), andllvm::generateSampleImageInst().

◆ getOrCreateSPIRVVectorType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVVectorType(SPIRVTypeBaseType,
unsigned NumElements,
MachineInstrI,
constSPIRVInstrInfoTII 
)

Definition at line1558 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addImm(),llvm::MachineInstrBuilder::addUse(),llvm::BuildMI(),createTypeVReg(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::FixedVectorType::get(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(),getSPIRVTypeID(),getTypeForSPIRVType(),I, andTII.

◆ getOrCreateSPIRVVectorType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getOrCreateSPIRVVectorType(SPIRVTypeBaseType,
unsigned NumElements,
MachineIRBuilderMIRBuilder 
)

Definition at line1550 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::FixedVectorType::get(),getOrCreateSPIRVType(), andgetTypeForSPIRVType().

Referenced byassignVectTypeToVReg(),llvm::buildBoolRegister(),llvm::SPIRVTargetLowering::finalizeLowering(),llvm::generateGroupInst(),llvm::generateImageSizeQueryInst(),llvm::generateReadImageInst(),llvm::genWorkgroupQuery(),getOrCreateSPIRVTypeByName(), andpropagateSPIRVType().

◆ getOrCreateUndef()

Register SPIRVGlobalRegistry::getOrCreateUndef(MachineInstrI,
SPIRVTypeSpvType,
constSPIRVInstrInfoTII 
)

Definition at line1626 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::SPIRVGeneralDuplicatesTracker::add(),llvm::MachineInstrBuilder::addDef(),llvm::MachineInstrBuilder::addUse(),assert(),assignSPIRVTypeToVReg(),llvm::BuildMI(),llvm::constrainSelectedInstRegOperands(),llvm::MachineRegisterInfo::createGenericVirtualRegister(),CurMF,llvm::SPIRVGeneralDuplicatesTracker::find(),llvm::UndefValue::get(),llvm::MachineFunction::getRegInfo(),getSPIRVTypeID(),llvm::MachineFunction::getSubtarget(),getTypeForSPIRVType(),I,llvm::Register::isValid(),llvm::LLT::scalar(),llvm::MachineRegisterInfo::setRegClass(), andTII.

◆ getPointeeType()

SPIRVType * SPIRVGlobalRegistry::getPointeeType(SPIRVTypePtrType)

Definition at line1258 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::MachineInstr::getOpcode(),llvm::MachineInstr::getOperand(),llvm::MachineOperand::getReg(), andgetSPIRVTypeForVReg().

Referenced byllvm::generateICarryBorrowInst(),getPointeeTypeOp(),propagateSPIRVType(), andvalidateLifetimeStart().

◆ getPointeeTypeOp()

unsigned SPIRVGlobalRegistry::getPointeeTypeOp(Register PtrReg)

Definition at line1264 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::MachineInstr::getOpcode(),getPointeeType(), andgetSPIRVTypeForVReg().

◆ getPointerSize()

unsigned llvm::SPIRVGlobalRegistry::getPointerSize() const
inline

Definition at line445 of fileSPIRVGlobalRegistry.h.

Referenced byllvm::buildBuiltinVariableLoad(),llvm::buildEnqueueKernel(),buildGlobalVariable(),llvm::buildNDRange(),llvm::genWorkgroupQuery(),getRegType(), andllvm::SPIRVCallLowering::lowerCall().

◆ getPointerStorageClass()[1/2]

SPIRV::StorageClass::StorageClass SPIRVGlobalRegistry::getPointerStorageClass(constSPIRVTypeType) const

Definition at line1297 of fileSPIRVGlobalRegistry.cpp.

◆ getPointerStorageClass()[2/2]

SPIRV::StorageClass::StorageClass SPIRVGlobalRegistry::getPointerStorageClass(Register VReg) const

Definition at line1289 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),getPointerStorageClass(), andgetSPIRVTypeForVReg().

Referenced byllvm::buildAtomicLoadInst(),llvm::buildAtomicStoreInst(),llvm::buildMemSemanticsReg(),getPointerStorageClass(), andpropagateSPIRVType().

◆ getRegClass()

constTargetRegisterClass * SPIRVGlobalRegistry::getRegClass(SPIRVTypeSpvType) const

Definition at line1654 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::MachineInstr::getOpcode(),llvm::MachineInstr::getOperand(),llvm::MachineOperand::getReg(), andgetSPIRVTypeForVReg().

Referenced byllvm::buildAtomicCompareExchangeInst(),llvm::buildAtomicRMWInst(),llvm::buildBoolRegister(),buildOpBitcast(),convertPtrToInt(),createNewIdReg(),llvm::createVirtualRegister(),llvm::generateReadImageInst(),llvm::insertAssignInstr(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(),llvm::processInstr(),propagateSPIRVType(),llvm::setRegClassIfNull(), andllvm::setRegClassType().

◆ getRegType()

LLT SPIRVGlobalRegistry::getRegType(SPIRVTypeSpvType) const

Definition at line1680 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::LLT::fixed_vector(),getAS(),llvm::MachineOperand::getImm(),llvm::MachineInstr::getOpcode(),llvm::MachineInstr::getOperand(),getPointerSize(),llvm::MachineOperand::getReg(),getScalarOrVectorBitWidth(),getSPIRVTypeForVReg(),llvm::LLT::pointer(), andllvm::LLT::scalar().

Referenced bycreateNewIdReg(),llvm::createVirtualRegister(),llvm::generateReadImageInst(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(), andllvm::setRegClassType().

◆ getResultType()

SPIRVType * SPIRVGlobalRegistry::getResultType(Register VReg,
MachineFunctionMF =nullptr 
)

Definition at line1117 of fileSPIRVGlobalRegistry.cpp.

ReferencesCurMF,llvm::MachineFunction::getRegInfo(),getSPIRVTypeForVReg(), andllvm::getVRegDef().

◆ getScalarOrVectorBitWidth()

unsigned SPIRVGlobalRegistry::getScalarOrVectorBitWidth(constSPIRVTypeType) const

Definition at line1218 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),getSPIRVTypeForVReg(), andllvm_unreachable.

Referenced bybuildConstantFP(),buildConstantInt(),llvm::buildSelectInst(),llvm::generateBuiltinVar(),llvm::generateWaveInst(),getOrCreateConsIntVector(),getOrCreateConstIntArray(),getOrCreateConstVector(),getRegType(), andpropagateSPIRVType().

◆ getScalarOrVectorComponentCount()[1/2]

unsigned SPIRVGlobalRegistry::getScalarOrVectorComponentCount(Register VReg) const

Definition at line1186 of fileSPIRVGlobalRegistry.cpp.

ReferencesgetScalarOrVectorComponentCount(), andgetSPIRVTypeForVReg().

Referenced byllvm::generateConvertInst(),getScalarOrVectorComponentCount(), andpropagateSPIRVType().

◆ getScalarOrVectorComponentCount()[2/2]

unsigned SPIRVGlobalRegistry::getScalarOrVectorComponentCount(SPIRVTypeType) const

Definition at line1191 of fileSPIRVGlobalRegistry.cpp.

◆ getScalarOrVectorComponentType()[1/2]

SPIRVType * SPIRVGlobalRegistry::getScalarOrVectorComponentType(Register VReg) const

Definition at line1200 of fileSPIRVGlobalRegistry.cpp.

ReferencesgetScalarOrVectorComponentType(), andgetSPIRVTypeForVReg().

Referenced bygetScalarOrVectorComponentType().

◆ getScalarOrVectorComponentType()[2/2]

SPIRVType * SPIRVGlobalRegistry::getScalarOrVectorComponentType(SPIRVTypeType) const

Definition at line1205 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::MachineInstr::getOpcode(),getSPIRVTypeForVReg(), andisScalarOrVectorOfType().

◆ getSPIRVTypeForVReg()

SPIRVType * SPIRVGlobalRegistry::getSPIRVTypeForVReg(Register VReg,
constMachineFunctionMF =nullptr 
) const

Definition at line1106 of fileSPIRVGlobalRegistry.cpp.

ReferencesCurMF.

Referenced byllvm::buildAtomicCompareExchangeInst(),buildGlobalVariable(),llvm::buildNDRange(),buildOpBitcast(),createNewIdReg(),llvm::SPIRVTargetLowering::finalizeLowering(),llvm::generateCoopMatrInst(),llvm::generateDotOrFMulInst(),llvm::generateGroupInst(),llvm::generateICarryBorrowInst(),llvm::generateImageMiscQueryInst(),llvm::generateImageSizeQueryInst(),llvm::generateIntelSubgroupsInst(),llvm::generateReadImageInst(),llvm::generateSampleImageInst(),llvm::genWorkgroupQuery(),getNumScalarOrVectorTotalBitWidth(),getOrCreateConstIntArray(),getOrCreateOpTypeFunctionWithArgs(),getOrCreateSPIRVArrayType(),getOrCreateSPIRVBoolType(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVType(),getOrCreateSPIRVVectorType(),getPointeeType(),getPointeeTypeOp(),getPointerStorageClass(),getRegClass(),getRegType(),getResultType(),getScalarOrVectorBitWidth(),getScalarOrVectorComponentCount(),getScalarOrVectorComponentType(),hasSPIRVTypeForVReg(),insertBitcasts(),isScalarOfType(),isScalarOrVectorOfType(),llvm::SPIRVLegalizerInfo::legalizeCustom(),llvm::SPIRV::lowerBuiltin(),llvm::SPIRVCallLowering::lowerCall(),llvm::processInstr(),processNewInstrs(),propagateSPIRVType(),retrieveScalarOrVectorIntType(),llvm::setRegClassIfNull(),validateAccessChain(),validateFunCallMachineDef(),validateGroupWaitEventsPtr(),validateLifetimeStart(),validatePtrTypes(), andvalidatePtrUnwrapStructField().

◆ getSPIRVTypeID()

Register SPIRVGlobalRegistry::getSPIRVTypeID(constSPIRVTypeSpirvType) const

Definition at line969 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::MachineInstr::defs(),llvm::MachineInstr::getOpcode(), andllvm::MachineInstr::uses().

Referenced byaddConstantsToTrack(),llvm::buildAtomicCompareExchangeInst(),llvm::buildAtomicFlagInst(),llvm::buildAtomicFloatingRMWInst(),llvm::buildAtomicLoadInst(),llvm::buildAtomicRMWInst(),buildConstantFP(),buildConstantInt(),buildConstantSampler(),llvm::buildEnqueueKernel(),buildGlobalVariable(),llvm::buildNDRange(),buildOpBitcast(),doInsertBitcast(),llvm::generateAsyncCopy(),llvm::generateAtomicInst(),llvm::generateConstructInst(),llvm::generateConvertInst(),llvm::generateCoopMatrInst(),llvm::generateDotOrFMulInst(),llvm::generateEnqueueInst(),llvm::generateExtInst(),llvm::generateGroupInst(),llvm::generateGroupUniformInst(),llvm::generateICarryBorrowInst(),llvm::generateImageMiscQueryInst(),llvm::generateImageSizeQueryInst(),llvm::generateIntelSubgroupsInst(),llvm::generateKernelClockInst(),llvm::generateLoadStoreInst(),llvm::generateReadImageInst(),llvm::generateRelationalInst(),llvm::generateSampleImageInst(),llvm::generateSpecConstantInst(),llvm::generateVectorLoadStoreInst(),getOrCreateConstInt(),getOrCreateConstNullPtr(),getOrCreateOpTypeCoopMatr(),getOrCreateOpTypeFunctionWithArgs(),getOrCreateOpTypeImage(),getOrCreateOpTypeSampledImage(),getOrCreateSPIRVArrayType(),getOrCreateSPIRVBoolType(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVType(),getOrCreateSPIRVVectorType(),getOrCreateUndef(),llvm::insertAssignInstr(),insertInlineAsmProcess(),llvm::SPIRV::lowerBuiltinType(),llvm::SPIRVCallLowering::lowerCall(), andllvm::SPIRVCallLowering::lowerFormalArguments().

◆ getTypeForSPIRVType()

constType * llvm::SPIRVGlobalRegistry::getTypeForSPIRVType(constSPIRVTypeTy) const
inline

Definition at line351 of fileSPIRVGlobalRegistry.h.

Referencesassert(),llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), andllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().

Referenced byllvm::buildBoolRegister(),buildConstantInt(),buildConstantSampler(),buildGlobalVariable(),fixFunctionTypeIfPtrArgs(),getOrCreateConsIntVector(),getOrCreateConstIntArray(),getOrCreateConstNullPtr(),getOrCreateConstVector(),getOrCreateSPIRVArrayType(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVVectorType(),getOrCreateUndef(),validateFunCallMachineDef(), andvalidatePtrTypes().

◆ hasConstFunPtr()

bool llvm::SPIRVGlobalRegistry::hasConstFunPtr()
inline

Definition at line306 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().

◆ hasSPIRVTypeForVReg()

bool llvm::SPIRVGlobalRegistry::hasSPIRVTypeForVReg(Register VReg) const
inline

Definition at line383 of fileSPIRVGlobalRegistry.h.

ReferencesgetSPIRVTypeForVReg().

◆ invalidateMachineInstr()

void SPIRVGlobalRegistry::invalidateMachineInstr(MachineInstrMI)

Definition at line160 of fileSPIRVGlobalRegistry.cpp.

ReferencesMI.

◆ isAggregateType()

bool llvm::SPIRVGlobalRegistry::isAggregateType(SPIRVTypeType) const
inline

Definition at line398 of fileSPIRVGlobalRegistry.h.

◆ isBitcastCompatible()

bool SPIRVGlobalRegistry::isBitcastCompatible(constSPIRVTypeType1,
constSPIRVTypeType2 
) const

Definition at line1269 of fileSPIRVGlobalRegistry.cpp.

ReferencesgetNumScalarOrVectorTotalBitWidth(),llvm::MachineInstr::getOpcode(),retrieveScalarOrVectorIntType(), andType2.

Referenced bybuildOpBitcast(), andvalidatePtrTypes().

◆ isScalarOfType()

bool SPIRVGlobalRegistry::isScalarOfType(Register VReg,
unsigned TypeOpcode 
) const

Definition at line1164 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(), andgetSPIRVTypeForVReg().

Referenced byllvm::buildAtomicCompareExchangeInst(), andllvm::generateReadImageInst().

◆ isScalarOrVectorOfType()

bool SPIRVGlobalRegistry::isScalarOrVectorOfType(Register VReg,
unsigned TypeOpcode 
) const

Definition at line1171 of fileSPIRVGlobalRegistry.cpp.

Referencesassert(),llvm::MachineInstr::getOpcode(), andgetSPIRVTypeForVReg().

Referenced byllvm::SPIRVTargetLowering::finalizeLowering(),llvm::generateConvertInst(), andgetScalarOrVectorComponentType().

◆ isScalarOrVectorSigned()

bool SPIRVGlobalRegistry::isScalarOrVectorSigned(constSPIRVTypeType) const

Definition at line1253 of fileSPIRVGlobalRegistry.cpp.

Referencesllvm::MachineOperand::getImm(),llvm::MachineInstr::getOperand(), andretrieveScalarOrVectorIntType().

◆ recordFunctionDefinition()

void llvm::SPIRVGlobalRegistry::recordFunctionDefinition(constFunctionF,
constMachineOperandMO 
)
inline

Definition at line300 of fileSPIRVGlobalRegistry.h.

ReferencesF, andllvm::MachineOperand::getParent().

Referenced byllvm::SPIRVCallLowering::lowerFormalArguments().

◆ recordFunctionPointer()

void llvm::SPIRVGlobalRegistry::recordFunctionPointer(constMachineOperandMO,
constFunctionF 
)
inline

Definition at line295 of fileSPIRVGlobalRegistry.h.

ReferencesF.

◆ retrieveScalarOrVectorIntType()

constSPIRVType * SPIRVGlobalRegistry::retrieveScalarOrVectorIntType(constSPIRVTypeType) const

Definition at line1246 of fileSPIRVGlobalRegistry.cpp.

ReferencesgetSPIRVTypeForVReg().

Referenced byisBitcastCompatible(), andisScalarOrVectorSigned().

◆ setBound()

void llvm::SPIRVGlobalRegistry::setBound(unsigned V)
inline

Definition at line157 of fileSPIRVGlobalRegistry.h.

Referenced byllvm::SPIRVModuleAnalysis::runOnModule().

◆ setCurrentFunc()

MachineFunction * llvm::SPIRVGlobalRegistry::setCurrentFunc(MachineFunctionMF)
inline

Definition at line391 of fileSPIRVGlobalRegistry.h.

ReferencesCurMF.

Referenced byllvm::SPIRVTargetLowering::finalizeLowering(),llvm::SPIRVCallLowering::lowerCall(),llvm::SPIRVCallLowering::lowerFormalArguments(), andvalidateFunCallMachineDef().

◆ updateIfExistAssignPtrTypeInstr()

void llvm::SPIRVGlobalRegistry::updateIfExistAssignPtrTypeInstr(ValueOldVal,
ValueNewVal,
bool DeleteOld 
)
inline

Definition at line189 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase(), andfindAssignPtrTypeInstr().

◆ updateIfExistDeducedElementType()

void llvm::SPIRVGlobalRegistry::updateIfExistDeducedElementType(ValueOldVal,
ValueNewVal,
bool DeleteOld 
)
inline

Definition at line232 of fileSPIRVGlobalRegistry.h.

Referencesllvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase(), andfindDeducedElementType().

Member Data Documentation

◆ CurMF

MachineFunction* llvm::SPIRVGlobalRegistry::CurMF

Definition at line119 of fileSPIRVGlobalRegistry.h.

Referenced byassignFloatTypeToVReg(),assignIntTypeToVReg(),assignVectTypeToVReg(),buildConstantInt(),buildGlobalVariable(),getOrCreateConstFP(),getOrCreateConstInt(),getOrCreateConstNullPtr(),getOrCreateOpTypeFunctionWithArgs(),getOrCreateSPIRVArrayType(),getOrCreateSPIRVBoolType(),getOrCreateSPIRVFloatType(),getOrCreateSPIRVIntegerType(),getOrCreateSPIRVPointerType(),getOrCreateSPIRVType(),getOrCreateSPIRVVectorType(),getOrCreateUndef(),getResultType(),getSPIRVTypeForVReg(),processNewInstrs(), andsetCurrentFunc().


The documentation for this class was generated from the following files:

Generated on Sun Jul 20 2025 19:53:45 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp