From what I understand, your phone works in conjunction with iMap accounts with your filters set up in web mail. If you have iCloud, set up your filters on line, and your phone will duplicate what is set.
You can do it manually by selecting edit on your phone and sending it to the Junk folder, but I am not sure the Mail on iPhone learns.