| commit | 65c69407c8cfeb4f33a8957c7762cbb2f9518c15 | [log] [tgz] |
|---|---|---|
| author | Pete Cooper <peter_cooper@apple.com> | Tue Jul 14 22:10:54 2015 +0000 |
| committer | Pete Cooper <peter_cooper@apple.com> | Tue Jul 14 22:10:54 2015 +0000 |
| tree | b049c3a963789e27d548a5d5627bec0b71ae1a61 | |
| parent | 8c20b4ebe4c9a311825490220b7fd8f844bfffd7 [diff] |
Add allnodes() iterator range to SelectionDAG. NFC. SelectionDAG already had begin/end methods for iterating over all the nodes, but didn't define an iterator_range for us in foreach loops. This adds such a method and uses it in some of the eligible places throughout the backends. llvm-svn: 242212