aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCFrameLowering.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2012-09-12 10:18:23 +0000
committerJames Molloy <james.molloy@arm.com>2012-09-12 10:18:23 +0000
commitc4f70d437df505e128e0debdf0c5f4ab5010e1b5 (patch)
treea7d8acfb72802729badbcfe26e55fb35acb3afdc /lib/Target/PowerPC/PPCFrameLowering.cpp
parentb17cf29784ad526f3adfc20c5aa1b0de5c57033e (diff)
Add a function computeRegisterLiveness() to MachineBasicBlock. This uses analyzePhysReg() from r163694 to heuristically try and determine the liveness state of a physical register upon arrival at a particular instruction in a block.
The search for liveness is clipped to a specific number of instructions around the target MachineInstr, in order to avoid degenerating into an O(N^2) algorithm. It tries to use various clues about how instructions around (both before and after) a given MachineInstr use that register, to determine its state at the MachineInstr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions