kuhar added a comment. Would it make sense to use one of the llvm graph iterators and have `descendants_begin()` and `descendants_end()` functions instead? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D60754/new/ https://reviews.llvm.org/D60754