Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp2851 Register WrapReg = GR.find(OpDefine, MF); in wrapIntoSpecConstantOp() local
2852 if (WrapReg.isValid()) { in wrapIntoSpecConstantOp()
2853 CompositeArgs.push_back(WrapReg); in wrapIntoSpecConstantOp()
2857 WrapReg = MRI->createVirtualRegister(GR.getRegClass(OpType)); in wrapIntoSpecConstantOp()
2858 CompositeArgs.push_back(WrapReg); in wrapIntoSpecConstantOp()
2860 MRI->setType(WrapReg, LLT::pointer(0, 64)); in wrapIntoSpecConstantOp()
2861 GR.assignSPIRVTypeToVReg(OpType, WrapReg, *MF); in wrapIntoSpecConstantOp()
2864 .addDef(WrapReg) in wrapIntoSpecConstantOp()