This deprecates PointerType::getElementType() in favor of Type::getPointerElementType(). The motivation is to make it more apparent when code accesses the pointer element type, because getElementType() may also also refer to at least ArrayType::getElementType() and VectorType::getElementType().
Note that this is only a partial change -- if the general idea is agreeable, I'm going to convert uses of PointerType::getElementType() first, and then commit the actual deprecation as a separate change lateron. The current revision is just to give a general impression.
Depends on D117870.