Searched refs:NewPtrType (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVISelLowering.cpp | 117 SPIRVType *NewPtrType) { in doInsertBitcast() argument 122 .addUse(GR.getSPIRVTypeID(NewPtrType)) in doInsertBitcast() 129 GR.assignSPIRVTypeToVReg(NewPtrType, NewReg, MIB.getMF()); in doInsertBitcast() 174 SPIRVType *NewPtrType = in validatePtrTypes() local 176 if (!GR.isBitcastCompatible(NewPtrType, OpType)) in validatePtrTypes() 179 doInsertBitcast(STI, MRI, GR, I, OpReg, OpIdx, NewPtrType); in validatePtrTypes() 200 SPIRVType *NewPtrType = in validateGroupWaitEventsPtr() local 203 doInsertBitcast(STI, MRI, GR, I, OpReg, OpIdx, NewPtrType); in validateGroupWaitEventsPtr() 235 SPIRVType *NewPtrType = GR.getOrCreateSPIRVPointerType(MemberType, MIB, SC); in validateGroupAsyncCopyPtr() local 236 doInsertBitcast(STI, MRI, GR, I, OpReg, OpIdx, NewPtrType); in validateGroupAsyncCopyPtr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | InferAddressSpaces.cpp | 608 Type *NewPtrType = getPtrOrVecOfPtrsWithNewAS(I->getType(), NewAddrSpace); in cloneInstructionWithNewAddressSpace() local 616 if (Src->getType() != NewPtrType) in cloneInstructionWithNewAddressSpace() 617 return new BitCastInst(Src, NewPtrType); in cloneInstructionWithNewAddressSpace() 662 return new BitCastInst(NewPointerOperands[0], NewPtrType); in cloneInstructionWithNewAddressSpace() 666 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace() 689 if (Src->getType() == NewPtrType) in cloneInstructionWithNewAddressSpace() 695 return CastInst::CreatePointerBitCastOrAddrSpaceCast(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()
|