Home | History | Annotate | Download | only in Scalar

Lines Matching refs:OtherPtr

2161   Value *OtherPtr = nullptr;
2165 OtherPtr = MTI->getRawSource();
2168 OtherPtr = MTI->getRawDest();
2174 if (OtherPtr) {
2176 cast<PointerType>(OtherPtr->getType())->getAddressSpace();
2178 // Remove bitcasts and all-zero GEPs from OtherPtr. This is an
2181 // OtherPtr may be a bitcast or GEP that currently being rewritten. (This
2184 OtherPtr = OtherPtr->stripPointerCasts();
2187 if (OtherPtr == AI || OtherPtr == NewElts[0]) {
2202 if (OtherPtr->getType() != NewTy)
2203 OtherPtr = new BitCastInst(OtherPtr, NewTy, OtherPtr->getName(), MI);
2216 if (OtherPtr) {
2219 OtherElt = GetElementPtrInst::CreateInBounds(OtherPtr, Idx,
2220 OtherPtr->getName()+"."+Twine(i),
2223 PointerType *OtherPtrTy = cast<PointerType>(OtherPtr->getType());