DSP

If there was a need to filter that implies either some noise or interference (the properties of which determine how easy it is to filter), or that an anti-aliasing filter is needed to remove frequencies above the nyquist limit.

The latter has to be in hardware before the ADC by its very nature, but the former could be either - more details are handy.