Home
last modified time | relevance | path

Searched refs:TypeReg (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp576 Register TypeReg, in buildOpFromWrapper() argument
580 if (TypeReg.isValid())
581 MIB.addDef(Call->ReturnRegister).addUse(TypeReg);
614 Register TypeReg = GR->getSPIRVTypeID(Call->ReturnType); in buildAtomicLoadInst() local
616 return buildOpFromWrapper(MIRBuilder, SPIRV::OpAtomicLoad, Call, TypeReg); in buildAtomicLoadInst()
644 .addUse(TypeReg) in buildAtomicLoadInst()
879 Register TypeReg = GR->getSPIRVTypeID(Call->ReturnType); in buildAtomicFlagInst() local
882 IsSet ? TypeReg : Register(0)); in buildAtomicFlagInst()
904 MIB.addDef(Call->ReturnRegister).addUse(TypeReg); in buildAtomicFlagInst()
1615 Register TypeReg = GR->getSPIRVTypeID(Call->ReturnType); in generateImageSizeQueryInst() local
[all …]
H A DSPIRVModuleAnalysis.cpp781 Register TypeReg = MI.getOperand(1).getReg(); in AddAtomicFloatRequirements() local
782 SPIRVType *TypeDef = MI.getMF()->getRegInfo().getVRegDef(TypeReg); in AddAtomicFloatRequirements()
978 Register TypeReg = InstrPtr->getOperand(1).getReg(); in addInstrRequirements() local
979 SPIRVType *TypeDef = MRI.getVRegDef(TypeReg); in addInstrRequirements()