Lines Matching refs:PTy
389 PointerType *PTy, in expandAddToGEP() argument
392 Type *OriginalElTy = PTy->getElementType(); in expandAddToGEP()
402 Type *IntPtrTy = DL.getIntPtrType(PTy); in expandAddToGEP()
494 Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace())); in expandAddToGEP()
572 if (V->getType() != PTy) in expandAddToGEP()
573 Casted = InsertNoopCastOfTo(Casted, PTy); in expandAddToGEP()
696 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) { in visitAddExpr() local
709 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
710 } else if (PointerType *PTy = dyn_cast<PointerType>(Op->getType())) { in visitAddExpr() local
719 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, expand(Op)); in visitAddExpr()
1362 if (PointerType *PTy = dyn_cast<PointerType>(ExpandTy)) { in expandAddRecExprLiterally() local
1364 Result = expandAddToGEP(OffsetArray, OffsetArray+1, PTy, IntTy, Result); in expandAddRecExprLiterally()
1419 if (PointerType *PTy = dyn_cast<PointerType>(Base->getType())) { in visitAddRecExpr() local
1425 assert(StartV->getType() == PTy && "Pointer type mismatch for GEP!"); in visitAddRecExpr()
1426 return expandAddToGEP(RestArray, RestArray+1, PTy, Ty, StartV); in visitAddRecExpr()