summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-12-05 09:16:08 +0000
committerFlorian Hahn <flo@fhahn.com>2019-12-05 09:29:26 +0000
commit76a5c8421e04b246892157fe18f1c082c908c5e9 (patch)
treefd623ecbaf18f6c858da5cc561dbf47e06149170 /llvm/examples
parent1b81964586b4f0fde94f4d238be659bedd85b627 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud