Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp574 Type *NewPtrType = PointerType::getWithSamePointeeType( in cloneInstructionWithNewAddressSpace() local
583 if (Src->getType() != NewPtrType) in cloneInstructionWithNewAddressSpace()
584 return new BitCastInst(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()
629 return new BitCastInst(NewPointerOperands[0], NewPtrType); in cloneInstructionWithNewAddressSpace()
633 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace()
656 if (Src->getType() == NewPtrType) in cloneInstructionWithNewAddressSpace()
662 return CastInst::CreatePointerBitCastOrAddrSpaceCast(Src, NewPtrType); in cloneInstructionWithNewAddressSpace()
H A DScalarizeMaskedMemIntrin.cpp173 Type *NewPtrType = in scalarizeMaskedLoad() local
175 Value *FirstEltPtr = Builder.CreateBitCast(Ptr, NewPtrType); in scalarizeMaskedLoad()
312 Type *NewPtrType = in scalarizeMaskedStore() local
314 Value *FirstEltPtr = Builder.CreateBitCast(Ptr, NewPtrType); in scalarizeMaskedStore()