Move Pointer from Type to ScalarType to support  scatter/gather-instructions.