aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-01-12 22:57:35 +0000
committerMatthias Braun <matze@braunis.de>2016-01-12 22:57:35 +0000
commitb505c76c9a51e3ca73bc806152651ad5292e2545 (patch)
treed158104b4c5eaed1e69c6260da3cb809bf95d6b3 /llvm/lib/Object/COFFObjectFile.cpp
parent9aae445e0952baba4b3cbe0eacce4ca7fa3cc62b (diff)
downloadllvm-b505c76c9a51e3ca73bc806152651ad5292e2545.zip
llvm-b505c76c9a51e3ca73bc806152651ad5292e2545.tar.gz
llvm-b505c76c9a51e3ca73bc806152651ad5292e2545.tar.bz2
RegisterPressure: Expose RegisterOperands API
Previously the RegisterOperands have only been used internally in RegisterPressure.cpp. However this datastructure can be useful for other tasks as well and allows refactoring of PDiff initialisation out of RPTracker::recede(). This patch: - Exposes RegisterOperands as public API - Splits RPTracker::recede() into a part that skips DebugValues and maintains the region borders, and the core that changes register pressure when given a set of RegisterOperands. - This allows to move the PDiff initialisation out recede() into a method of the PressureDiffs class. - The upcoming subregister scheduling code will also use RegisterOperands to avoid pushing more unrelated functionality into recede()/advance(). Differential Revision: http://reviews.llvm.org/D15473 llvm-svn: 257535
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions