Lines Matching defs:NewGEP
1911 auto *NewGEP = cast<GetElementPtrInst>(Op1->clone());
1931 NewGEP->setOperand(DI, NewPN);
1935 GEP.getParent()->getFirstInsertionPt(), NewGEP);
1936 replaceOperand(GEP, 0, NewGEP);
1937 PtrOp = NewGEP;
1989 auto *NewGEP = GetElementPtrInst::Create(GEPEltType, NewSrc, {SO1});
1990 NewGEP->setIsInBounds(GEP.isInBounds());
1991 return NewGEP;
2170 Value *NewGEP =
2176 return new AddrSpaceCastInst(NewGEP, GEPType);
2191 Value *NewGEP =
2199 return CastInst::CreatePointerBitCastOrAddrSpaceCast(NewGEP, GEPType);
2227 Value *NewGEP =
2234 // The NewGEP must be pointer typed, so must the old one -> BitCast
2235 return CastInst::CreatePointerBitCastOrAddrSpaceCast(NewGEP,
2272 Value *NewGEP =
2278 // The NewGEP must be pointer typed, so must the old one -> BitCast
2279 return CastInst::CreatePointerBitCastOrAddrSpaceCast(NewGEP,