CodeGen: Add/Factor out LiveRegUnits class; NFCI
authorMatthias Braun <matze@braunis.de>
Fri, 20 Jan 2017 00:16:14 +0000 (00:16 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 20 Jan 2017 00:16:14 +0000 (00:16 +0000)
commit710a4c1f3ddba3aa9313c72c43f9619afbc3e259
tree1756736d583a81a6fec407b1e2e32a51e4b00502
parentd1e211a9ff29b921ced3097e50238a024971c081
CodeGen: Add/Factor out LiveRegUnits class; NFCI

This is a set of register units intended to track register liveness, it
is similar in spirit to LivePhysRegs.
You can also think of this as the liveness tracking parts of the
RegisterScavenger factored out into an own class.

This was proposed in http://llvm.org/PR27609

Differential Revision: http://reviews.llvm.org/D21916

llvm-svn: 292542
llvm/include/llvm/CodeGen/LiveRegUnits.h [new file with mode: 0644]
llvm/include/llvm/CodeGen/RegisterScavenging.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/LiveRegUnits.cpp [new file with mode: 0644]
llvm/lib/CodeGen/RegisterScavenging.cpp