Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp442 Register DestinationReg = Register(0)) { in buildLoadInst() argument
444 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()