Home
last modified time | relevance | path

Searched refs:SPIRVGlobalRegistry (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp30 SPIRVGlobalRegistry::SPIRVGlobalRegistry(unsigned PointerSize) in SPIRVGlobalRegistry() function in SPIRVGlobalRegistry
33 SPIRVType *SPIRVGlobalRegistry::assignIntTypeToVReg(unsigned BitWidth, in assignIntTypeToVReg()
43 SPIRVGlobalRegistry::assignFloatTypeToVReg(unsigned BitWidth, Register VReg, in assignFloatTypeToVReg()
51 SPIRVType *SPIRVGlobalRegistry::assignVectTypeToVReg( in assignVectTypeToVReg()
60 SPIRVType *SPIRVGlobalRegistry::assignTypeToVReg( in assignTypeToVReg()
69 void SPIRVGlobalRegistry::assignSPIRVTypeToVReg(SPIRVType *SpirvType, in assignSPIRVTypeToVReg()
88 SPIRVType *SPIRVGlobalRegistry::getOpTypeBool(MachineIRBuilder &MIRBuilder) { in getOpTypeBool()
93 unsigned SPIRVGlobalRegistry::adjustOpTypeIntWidth(unsigned Width) const { in adjustOpTypeIntWidth()
111 SPIRVType *SPIRVGlobalRegistry::getOpTypeInt(unsigned Width, in getOpTypeInt()
131 SPIRVType *SPIRVGlobalRegistry::getOpTypeFloat(uint32_t Width, in getOpTypeFloat()
[all …]
H A DSPIRVCallLowering.h21 class SPIRVGlobalRegistry; variable
27 SPIRVGlobalRegistry *GR;
41 SPIRVCallLowering(const SPIRVTargetLowering &TLI, SPIRVGlobalRegistry *GR);
H A DSPIRVISelLowering.cpp115 SPIRVGlobalRegistry &GR, MachineInstr &I, in doInsertBitcast()
133 static SPIRVType *createNewPtrType(SPIRVGlobalRegistry &GR, MachineInstr &I, in createNewPtrType()
151 MachineRegisterInfo *MRI, SPIRVGlobalRegistry &GR, in validatePtrTypes()
186 SPIRVGlobalRegistry &GR, in validateGroupWaitEventsPtr()
208 SPIRVGlobalRegistry &GR, MachineInstr &I, in validateGroupAsyncCopyPtr()
250 SPIRVGlobalRegistry &GR, MachineInstr &FunCall, in validateFunCallMachineDef()
285 SPIRVGlobalRegistry &GR, in validateFunCall()
301 MachineRegisterInfo *DefMRI, SPIRVGlobalRegistry &GR, in validateForwardCalls()
314 SPIRVGlobalRegistry &GR, MachineInstr &I) { in validateAccessChain()
332 SPIRVGlobalRegistry &GR = *STI.getSPIRVGlobalRegistry(); in finalizeLowering()
H A DSPIRVBuiltins.cpp394 SPIRVGlobalRegistry *GR) { in buildBoolRegister()
421 SPIRVGlobalRegistry *GR) { in buildSelectInst()
441 SPIRVGlobalRegistry *GR, LLT LowLevelType, in buildLoadInst()
460 SPIRVGlobalRegistry *GR, SPIRV::BuiltIn::BuiltIn BuiltinValue, LLT LLType, in buildBuiltinVariableLoad()
490 SPIRVGlobalRegistry *GR,
530 SPIRVGlobalRegistry *GR, in buildConstantIntReg()
539 SPIRVGlobalRegistry *GR, in buildScopeReg()
557 SPIRVGlobalRegistry *GR) { in buildMemSemanticsReg()
613 SPIRVGlobalRegistry *GR) { in buildAtomicLoadInst()
654 SPIRVGlobalRegistry *GR) { in buildAtomicStoreInst()
[all …]
H A DSPIRVPostLegalizer.cpp49 SPIRVGlobalRegistry *GR,
53 MachineRegisterInfo &MRI, SPIRVGlobalRegistry *GR);
80 static void processNewInstrs(MachineFunction &MF, SPIRVGlobalRegistry *GR, in processNewInstrs()
156 SPIRVGlobalRegistry *GR = ST.getSPIRVGlobalRegistry(); in runOnMachineFunction()
H A DSPIRVBuiltins.h41 SPIRVGlobalRegistry *GR);
81 SPIRVGlobalRegistry *GR);
H A DSPIRVPreLegalizer.cpp42 addConstantsToTrack(MachineFunction &MF, SPIRVGlobalRegistry *GR, in addConstantsToTrack()
168 static void insertBitcasts(MachineFunction &MF, SPIRVGlobalRegistry *GR, in insertBitcasts()
225 static SPIRVType *propagateSPIRVType(MachineInstr *MI, SPIRVGlobalRegistry *GR, in propagateSPIRVType()
313 const SPIRVGlobalRegistry &GR) { in createNewIdReg()
372 SPIRVGlobalRegistry *GR, MachineIRBuilder &MIB, in insertAssignInstr()
404 MachineRegisterInfo &MRI, SPIRVGlobalRegistry *GR) { in processInstr()
426 generateAssignInstrs(MachineFunction &MF, SPIRVGlobalRegistry *GR, in generateAssignInstrs()
574 SPIRVGlobalRegistry *GR, in processInstrsWithTypeFolding()
614 insertInlineAsmProcess(MachineFunction &MF, SPIRVGlobalRegistry *GR, in insertInlineAsmProcess()
713 static void insertInlineAsm(MachineFunction &MF, SPIRVGlobalRegistry *GR, in insertInlineAsm()
[all …]
H A DSPIRVSubtarget.h46 std::unique_ptr<SPIRVGlobalRegistry> GR;
100 SPIRVGlobalRegistry *getSPIRVGlobalRegistry() const { return GR.get(); } in getSPIRVGlobalRegistry()
H A DSPIRVLegalizerInfo.h16 #include "SPIRVGlobalRegistry.h"
29 SPIRVGlobalRegistry *GR;
H A DSPIRVSubtarget.cpp83 GR = std::make_unique<SPIRVGlobalRegistry>(PointerSize); in SPIRVSubtarget()
H A DSPIRVCallLowering.cpp32 SPIRVGlobalRegistry *GR) in SPIRVCallLowering()
94 fixFunctionTypeIfPtrArgs(SPIRVGlobalRegistry *GR, const Function &F, in fixFunctionTypeIfPtrArgs()
190 SPIRVGlobalRegistry *GR, in getArgSPIRVType()
H A DSPIRVGlobalRegistry.h30 class SPIRVGlobalRegistry {
101 SPIRVGlobalRegistry(unsigned PointerSize);
H A DSPIRVModuleAnalysis.h229 SPIRVGlobalRegistry *GR;
H A DSPIRVLegalizerInfo.cpp327 SPIRVGlobalRegistry *GR) { in convertPtrToInt()
H A DSPIRVEmitIntrinsics.cpp68 SPIRVGlobalRegistry *GR = nullptr;
254 static inline Type *restoreMutatedType(SPIRVGlobalRegistry *GR, Instruction *I, in restoreMutatedType()
267 static inline Type *reconstructType(SPIRVGlobalRegistry *GR, Value *Op) { in reconstructType()
596 static inline Type *getAtomicElemTy(SPIRVGlobalRegistry *GR, Instruction *I, in getAtomicElemTy()
H A DSPIRVInstructionSelector.cpp77 SPIRVGlobalRegistry &GR;