Searched refs:DestinationReg (Results 1 – 1 of 1) sorted by relevance
442 Register DestinationReg = Register(0)) { in buildLoadInst() argument444 if (!DestinationReg.isValid()) { in buildLoadInst()445 DestinationReg = MRI->createVirtualRegister(&SPIRV::IDRegClass); in buildLoadInst()446 MRI->setType(DestinationReg, LLT::scalar(32)); in buildLoadInst()447 GR->assignSPIRVTypeToVReg(BaseType, DestinationReg, MIRBuilder.getMF()); in buildLoadInst()452 MIRBuilder.buildLoad(DestinationReg, PtrRegister, PtrInfo, Align()); in buildLoadInst()453 return DestinationReg; in buildLoadInst()