How to use dropAllReferences in dropAllReferences

Hi all.

I want to know how the dropAllReferences() is used in the FunctionPass MoudlePass and so on.
If I want to delete the node about function in Module, I can use it ,am i right?
Thanks for your help.
yao.