diff options
author | Florian Hahn <flo@fhahn.com> | 2019-12-05 09:16:08 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-12-05 09:29:26 +0000 |
commit | 76a5c8421e04b246892157fe18f1c082c908c5e9 (patch) | |
tree | fd623ecbaf18f6c858da5cc561dbf47e06149170 /llvm/examples | |
parent | 1b81964586b4f0fde94f4d238be659bedd85b627 (diff) | |
download | bcm5719-llvm-76a5c8421e04b246892157fe18f1c082c908c5e9.tar.gz bcm5719-llvm-76a5c8421e04b246892157fe18f1c082c908c5e9.zip |
[MCRegInfo] Add forward sub and super register iterators. (NFC)
This patch adds forward iterators mc_difflist_iterator,
mc_subreg_iterator and mc_superreg_iterator, based on the existing
DiffListIterator. Those are used to provide iterator ranges over
sub- and super-register from TRI, which are slightly more convenient
than the existing MCSubRegIterator/MCSuperRegIterator. Unfortunately,
it duplicates a bit of functionality, but the new iterators are a bit
more convenient (and can be used with various existing iterator
utilities) and should probably replace the old iterators in the future.
This patch updates some existing users.
Reviewers: evandro, qcolombet, paquette, MatzeB, arsenm
Reviewed By: qcolombet
Differential Revision: https://reviews.llvm.org/D70565
Diffstat (limited to 'llvm/examples')
0 files changed, 0 insertions, 0 deletions