aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-08 17:33:45 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-08 17:33:45 +0000
commit3fd3a840c50fe4ede1b200be18990bc955c536fd (patch)
tree498b8f8c0adcb14845ec705c65ff25b5163d03e8 /lib/CodeGen/MachineCopyPropagation.cpp
parent90a468c424f7d0a85b3dc783634106d9a46d6688 (diff)
Keep track of register masks in LiveIntervalAnalysis.
Build an ordered vector of register mask operands (i.e., calls) when computing live intervals. Provide a checkRegMaskInterference() function that computes a bit mask of usable registers for a live range. This is a quick way of determining of a live range crosses any calls, and restricting it to the callee saved registers if it does. Previously, we had to discover call clobbers for each candidate register independently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions