Type of Pointer

Hi,
Can we find the type of the pointer, means can we find is it a Integer pointer or float, etc.

sunil rathee <ratheesuniljec@gmail.com> writes:

Can we find the type of the pointer, means can we find is it a Integer
pointer or float, etc.

Suppossing `ptype' is a PointerType, ptype->getElementType() should do
the trick.