]> granicus.if.org Git - llvm/commit
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)
commitf91130f149ef9863ae68d0e92e3d132f82ad9825
treed1298c7b05467ec2ed5346ac1199c5c0f3a4e001
parentdfbb55fc0c58ce681ea4b7afb8a031f33b8cf327
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292542 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveRegUnits.h [new file with mode: 0644]
include/llvm/CodeGen/RegisterScavenging.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/LiveRegUnits.cpp [new file with mode: 0644]
lib/CodeGen/RegisterScavenging.cpp