[LiveRegUnits] Add phys_regs_and_masks iterator range (NFC).
authorFlorian Hahn <flo@fhahn.com>
Wed, 11 Dec 2019 09:27:01 +0000 (09:27 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 11 Dec 2019 09:34:42 +0000 (09:34 +0000)
commit11f311875f092e59cac2936b54f922b968e615e3
treebb126d44e8d5642c5ced172e9fa35d9900f1cf31
parent445c3fdd2ae8648cd79f98d3d72ff142b4c19792
[LiveRegUnits] Add phys_regs_and_masks iterator range (NFC).

This iterator range just includes physical registers and register masks,
which are interesting when dealing with register liveness.

Reviewers: evandro, t.p.northover, paquette, MatzeB, arsenm

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D70562
llvm/include/llvm/CodeGen/LiveRegUnits.h
llvm/lib/CodeGen/LivePhysRegs.cpp
llvm/lib/CodeGen/LiveRegUnits.cpp