Lines Matching refs:PTy
387 PointerType *PTy, in expandAddToGEP() argument
390 Type *OriginalElTy = PTy->getElementType(); in expandAddToGEP()
400 Type *IntPtrTy = DL.getIntPtrType(PTy); in expandAddToGEP()
492 Type::getInt8PtrTy(Ty->getContext(), PTy->getAddressSpace())); in expandAddToGEP()
570 if (V->getType() != PTy) in expandAddToGEP()
571 Casted = InsertNoopCastOfTo(Casted, PTy); in expandAddToGEP()
692 } else if (PointerType *PTy = dyn_cast<PointerType>(Sum->getType())) { in visitAddExpr() local
705 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, Sum); in visitAddExpr()
706 } else if (PointerType *PTy = dyn_cast<PointerType>(Op->getType())) { in visitAddExpr() local
715 Sum = expandAddToGEP(NewOps.begin(), NewOps.end(), PTy, Ty, expand(Op)); in visitAddExpr()
1384 if (PointerType *PTy = dyn_cast<PointerType>(ExpandTy)) { in expandAddRecExprLiterally() local
1386 Result = expandAddToGEP(OffsetArray, OffsetArray+1, PTy, IntTy, Result); in expandAddRecExprLiterally()
1441 if (PointerType *PTy = dyn_cast<PointerType>(Base->getType())) { in visitAddRecExpr() local
1447 assert(StartV->getType() == PTy && "Pointer type mismatch for GEP!"); in visitAddRecExpr()
1448 return expandAddToGEP(RestArray, RestArray+1, PTy, Ty, StartV); in visitAddRecExpr()