Searched refs:NewPtrType (Results 1 – 1 of 1) sorted by relevance
608 Type *NewPtrType = getPtrOrVecOfPtrsWithNewAS(I->getType(), NewAddrSpace); in cloneInstructionWithNewAddressSpace() local616 if (Src->getType() != NewPtrType) in cloneInstructionWithNewAddressSpace()617 return new BitCastInst(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()661 return new BitCastInst(NewPointerOperands[0], NewPtrType); in cloneInstructionWithNewAddressSpace()665 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace()688 if (Src->getType() == NewPtrType) in cloneInstructionWithNewAddressSpace()694 return CastInst::CreatePointerBitCastOrAddrSpaceCast(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()