diff options
| author | Matthias Braun <matze@braunis.de> | 2016-07-06 21:31:27 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2016-07-06 21:31:27 +0000 |
| commit | 332bb5c2364d2d213f768948acbe25b35474cd53 (patch) | |
| tree | e758a68f04a99da32f2fe35bae78cafeea2ec635 /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | |
| parent | f296a7eeae5e850b2460513cac4ebc13e7240788 (diff) | |
| download | llvm-332bb5c2364d2d213f768948acbe25b35474cd53.zip llvm-332bb5c2364d2d213f768948acbe25b35474cd53.tar.gz llvm-332bb5c2364d2d213f768948acbe25b35474cd53.tar.bz2 | |
AArch64: Replace a RegScavenger instance with LivePhysRegs
findScratchNonCalleeSaveRegister() just needs a simple liveness
analysis, use LivePhysRegs for that as it is simpler and does not depend
on the kill flags.
This commit adds a convenience function available() to LivePhysRegs:
This function returns true if the given register is not reserved and
neither the register nor any of its aliases are alive.
Differential Revision: http://reviews.llvm.org/D21865
llvm-svn: 274685
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
0 files changed, 0 insertions, 0 deletions
