Searched refs:getSPIRVTypeForVReg (Results 1 – 9 of 9) sorted by relevance
158 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 …]
93 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()
380 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 SPIRVGlobalRegistry979 return getSPIRVTypeForVReg(Reg); in getOrCreateSPIRVType()987 STy2 = getSPIRVTypeForVReg(Reg); in getOrCreateSPIRVType()999 SPIRVType *Type = getSPIRVTypeForVReg(VReg); in isScalarOfType()[all …]
692 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 …]
329 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 …]
196 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()
328 SPIRVType *getSPIRVTypeForVReg(Register VReg,333 return getSPIRVTypeForVReg(VReg) != nullptr; in hasSPIRVTypeForVReg()
472 if (!GR->getSPIRVTypeForVReg(IC.ArgRegs[i])) in produceIndirectPtrTypes()537 if (!GR->getSPIRVTypeForVReg(Arg.Regs[0])) in lowerCall()
343 assert(GR->getSPIRVTypeForVReg(MI.getOperand(0).getReg())); in legalizeCustom()