Searched refs:ResVReg (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 79 bool spvSelect(Register ResVReg, const SPIRVType *ResType, 82 bool selectGlobalValue(Register ResVReg, MachineInstr &I, 85 bool selectUnOpWithSrc(Register ResVReg, const SPIRVType *ResType, 88 bool selectUnOp(Register ResVReg, const SPIRVType *ResType, MachineInstr &I, 91 bool selectLoad(Register ResVReg, const SPIRVType *ResType, 95 bool selectMemOperation(Register ResVReg, MachineInstr &I) const; 97 bool selectAtomicRMW(Register ResVReg, const SPIRVType *ResType, 100 bool selectAtomicCmpXchg(Register ResVReg, const SPIRVType *ResType, 105 bool selectAddrSpaceCast(Register ResVReg, const SPIRVType *ResType, 108 bool selectBitreverse(Register ResVReg, const SPIRVType *ResType, [all …]
|
| H A D | SPIRVGlobalRegistry.cpp | 437 Register ResVReg, SPIRVType *BaseType, StringRef Name, in buildGlobalVariable() argument 460 if (Reg != ResVReg) in buildGlobalVariable() 461 MIRBuilder.buildCopy(ResVReg, Reg); in buildGlobalVariable() 462 return ResVReg; in buildGlobalVariable() 466 .addDef(ResVReg) in buildGlobalVariable() 487 assert(MRI->getType(ResVReg).isPointer() && "Pointer type is expected"); in buildGlobalVariable() 488 if (Reg != ResVReg) { in buildGlobalVariable() 489 LLT RegLLTy = LLT::pointer(MRI->getType(ResVReg).getAddressSpace(), 32); in buildGlobalVariable() 539 Register ResVReg = createTypeVReg(MIRBuilder); in getOpTypeOpaque() local 540 auto MIB = MIRBuilder.buildInstr(SPIRV::OpTypeOpaque).addDef(ResVReg); in getOpTypeOpaque() [all …]
|
| H A D | SPIRVCallLowering.cpp | 377 Register ResVReg = in lowerCall() local 397 ResVReg, OrigRetTy, ArgVRegs, GR)) in lowerCall() 423 if (!ResVReg.isValid()) in lowerCall() 424 ResVReg = MIRBuilder.getMRI()->createVirtualRegister(&SPIRV::IDRegClass); in lowerCall() 426 GR->assignTypeToVReg(FTy->getReturnType(), ResVReg, MIRBuilder); in lowerCall() 430 .addDef(ResVReg) in lowerCall()
|