Run pass on a particular Function or Module object

Hi,
This question may be bit dumb. But I couldn’t find it in the doc.
Can I call instantiated a Pass and call methods like
runOnFunction on a single Function object that I want to look at ? Or I have to
use opt and then loop until that function?
Thanks

Ryan