Home
last modified time | relevance | path

Searched refs:getSPIRVTypeForVReg (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp158 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpTypeReg, MF); in validatePtrTypes()
163 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(ElemTypeReg, MF); in validatePtrTypes()
192 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpTypeReg, MF); in validateGroupWaitEventsPtr()
195 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupWaitEventsPtr()
213 SPIRVType *OpType = GR.getSPIRVTypeForVReg(OpTypeReg, MF); in validateGroupAsyncCopyPtr()
216 SPIRVType *ElemType = GR.getSPIRVTypeForVReg(OpType->getOperand(2).getReg()); in validateGroupAsyncCopyPtr()
222 GR.getSPIRVTypeForVReg(ElemType->getOperand(1).getReg()); in validateGroupAsyncCopyPtr()
262 ? GR.getSPIRVTypeForVReg(DefPtrType->getOperand(2).getReg(), in validateFunCallMachineDef()
315 SPIRVType *BaseTypeInst = GR.getSPIRVTypeForVReg(I.getOperand(0).getReg()); in validateAccessChain()
318 GR.getSPIRVTypeForVReg(BaseTypeInst->getOperand(2).getReg()); in validateAccessChain()
[all …]
H A DSPIRVPostLegalizer.cpp93 SrcReg.isValid() ? GR->getSPIRVTypeForVReg(SrcReg) : nullptr; in processNewInstrs()
98 GR->getSPIRVTypeForVReg(DefType->getOperand(1).getReg()); in processNewInstrs()
101 SPIRVType *ResType = GR->getSPIRVTypeForVReg(ResVReg); in processNewInstrs()
117 SPIRVType *ResVType = GR->getSPIRVTypeForVReg(ResVReg); in processNewInstrs()
122 ResVType = GR->getSPIRVTypeForVReg(I.getOperand(1).getReg()); in processNewInstrs()
H A DSPIRVGlobalRegistry.cpp380 Type = getSPIRVTypeForVReg(EleTypeReg); in getOrCreateBaseRegister()
485 SPIRVType *SpvBaseTy = getSPIRVTypeForVReg(SpvType->getOperand(1).getReg()); in getOrCreateConstIntArray()
664 SPIRVType *DefType = getSPIRVTypeForVReg(ResVReg); in buildGlobalVariable()
793 return getSPIRVTypeForVReg(Reg); in getOrCreateOpTypeFunctionWithArgs()
805 return getSPIRVTypeForVReg(Reg); in findSPIRVType()
849 return getSPIRVTypeForVReg(tt->second); in createSPIRVType()
951 SPIRVGlobalRegistry::getSPIRVTypeForVReg(Register VReg, in getSPIRVTypeForVReg() function in SPIRVGlobalRegistry
979 return getSPIRVTypeForVReg(Reg); in getOrCreateSPIRVType()
987 STy2 = getSPIRVTypeForVReg(Reg); in getOrCreateSPIRVType()
999 SPIRVType *Type = getSPIRVTypeForVReg(VReg); in isScalarOfType()
[all …]
H A DSPIRVBuiltins.cpp692 SPIRVType *SpvDesiredTy = GR->getSPIRVTypeForVReg(Desired); in buildAtomicCompareExchangeInst()
695 assert(GR->getSPIRVTypeForVReg(ObjectPtr)->getOpcode() == in buildAtomicCompareExchangeInst()
697 unsigned ExpectedType = GR->getSPIRVTypeForVReg(ExpectedArg)->getOpcode(); in buildAtomicCompareExchangeInst()
703 SPIRVType *SpvObjectPtrTy = GR->getSPIRVTypeForVReg(ObjectPtr); in buildAtomicCompareExchangeInst()
1100 if (GR->getSPIRVTypeForVReg(Call->Arguments[0])->getOpcode() != in generateGroupInst()
1175 if (SPIRVType *Arg0Type = GR->getSPIRVTypeForVReg(Call->Arguments[0])) { in generateIntelSubgroupsInst()
1385 auto IndexType = GR->getSPIRVTypeForVReg(IndexRegister); in genWorkgroupQuery()
1530 unsigned Opcode = GR->getSPIRVTypeForVReg(Call->Arguments[0])->getOpcode(); in generateDotOrFMulInst()
1584 SPIRVType *ImgType = GR->getSPIRVTypeForVReg(Call->Arguments[0]); in generateImageSizeQueryInst()
1620 (NewType = GR->getSPIRVTypeForVReg(NewTypeReg)) != nullptr) in generateImageSizeQueryInst()
[all …]
H A DSPIRVInstructionSelector.cpp329 SPIRVType *ResType = HasDefs ? GR.getSPIRVTypeForVReg(ResVReg) : nullptr; in select()
714 SPIRVType *OpType = OpReg.isValid() ? GR.getSPIRVTypeForVReg(OpReg) : nullptr; in selectBitcast()
932 SrcReg.isValid() ? GR.getSPIRVTypeForVReg(SrcReg) : nullptr; in selectUnmergeValues()
938 GR.getSPIRVTypeForVReg(DefType->getOperand(1).getReg()); in selectUnmergeValues()
943 SPIRVType *ResType = GR.getSPIRVTypeForVReg(ResVReg); in selectUnmergeValues()
1007 SPIRVType *SpvValTy = GR.getSPIRVTypeForVReg(Val); in selectAtomicCmpXchg()
1098 SPIRVType *SrcPtrTy = GR.getSPIRVTypeForVReg(SrcPtr); in selectAddrSpaceCast()
1248 SPIRVType *InputType = GR.getSPIRVTypeForVReg(InputRegister); in selectAnyOrAll()
1534 assert(GR.getSPIRVTypeForVReg(Cmp0)->getOpcode() == in selectCmp()
1535 GR.getSPIRVTypeForVReg(Cmp1)->getOpcode() && in selectCmp()
[all …]
H A DSPIRVPreLegalizer.cpp196 if (GR->getSPIRVTypeForVReg(Source) == AssignedPtrType) { in insertBitcasts()
232 SpirvTy = GR->getSPIRVTypeForVReg(Reg); in propagateSPIRVType()
315 SpvType = GR.getSPIRVTypeForVReg(SrcReg); in createNewIdReg()
322 GR.getSPIRVTypeForVReg(SpvType->getOperand(1).getReg())->getOpcode() == in createNewIdReg()
H A DSPIRVGlobalRegistry.h328 SPIRVType *getSPIRVTypeForVReg(Register VReg,
333 return getSPIRVTypeForVReg(VReg) != nullptr; in hasSPIRVTypeForVReg()
H A DSPIRVCallLowering.cpp472 if (!GR->getSPIRVTypeForVReg(IC.ArgRegs[i])) in produceIndirectPtrTypes()
537 if (!GR->getSPIRVTypeForVReg(Arg.Regs[0])) in lowerCall()
H A DSPIRVLegalizerInfo.cpp343 assert(GR->getSPIRVTypeForVReg(MI.getOperand(0).getReg())); in legalizeCustom()