Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVISelLowering.cpp148 SPIRVType *NewPtrType) { in doInsertBitcast() argument
150 Register NewReg = createVirtualRegister(NewPtrType, &GR, MRI, MIB.getMF()); in doInsertBitcast()
153 .addUse(GR.getSPIRVTypeID(NewPtrType)) in doInsertBitcast()
202 SPIRVType *NewPtrType = in validatePtrTypes() local
204 if (!GR.isBitcastCompatible(NewPtrType, OpType)) in validatePtrTypes()
207 doInsertBitcast(STI, MRI, GR, I, OpReg, OpIdx, NewPtrType); in validatePtrTypes()
228 SPIRVType *NewPtrType = in validateGroupWaitEventsPtr() local
231 doInsertBitcast(STI, MRI, GR, I, OpReg, OpIdx, NewPtrType); in validateGroupWaitEventsPtr()
252 SPIRVType *NewPtrType = in validateLifetimeStart() local
254 doInsertBitcast(STI, MRI, GR, I, PtrReg, 0, NewPtrType); in validateLifetimeStart()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp669 Type *NewPtrType = getPtrOrVecOfPtrsWithNewAS(I->getType(), NewAddrSpace); in cloneInstructionWithNewAddressSpace() local
721 return new BitCastInst(NewPointerOperands[0], NewPtrType); in cloneInstructionWithNewAddressSpace()
725 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace()
748 if (Src->getType() == NewPtrType) in cloneInstructionWithNewAddressSpace()
754 return new AddrSpaceCastInst(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()