diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-02 23:05:19 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-02 23:05:19 +0000 |
commit | 4670353a21fbc6e8159a129cda965f256e73a451 (patch) | |
tree | f255083de47aafe8338406b2f5da3b2833525dca /lib/CodeGen/SplitKit.h | |
parent | e2dc0c978e2435dbbb55cb7fca7750034c3e292a (diff) | |
download | external_llvm-4670353a21fbc6e8159a129cda965f256e73a451.zip external_llvm-4670353a21fbc6e8159a129cda965f256e73a451.tar.gz external_llvm-4670353a21fbc6e8159a129cda965f256e73a451.tar.bz2 |
Transfer simply defined values directly without recomputing liveness and SSA.
Values that map to a single new value in a new interval after splitting don't
need new PHIDefs, and if the parent value was never rematerialized the live
range will be the same.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r-- | lib/CodeGen/SplitKit.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index 3a4d710..05de1505 100644 --- a/lib/CodeGen/SplitKit.h +++ b/lib/CodeGen/SplitKit.h @@ -246,12 +246,16 @@ class SplitEditor { SlotIndex Idx, const MachineBasicBlock *IdxMBB); + /// transferSimpleValues - Transfer simply defined values to the new ranges. + /// Return true if any complex ranges were skipped. + bool transferSimpleValues(); + /// extendPHIKillRanges - Extend the ranges of all values killed by original /// parent PHIDefs. void extendPHIKillRanges(); /// rewriteAssigned - Rewrite all uses of Edit.getReg() to assigned registers. - void rewriteAssigned(); + void rewriteAssigned(bool ExtendRanges); /// rewriteComponents - Rewrite all uses of Intv[0] according to the eq /// classes in ConEQ. |