Add range iterators for post order and inverse post order. Use them

llvm-svn: 235026
8 files changed