diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-02 00:49:28 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-03-02 00:49:28 +0000 |
commit | d3fdaeb69a25bcd21914b80f75606e2c2f1b35c8 (patch) | |
tree | 2b2bbb9325d6c6753ffcea068f05511e049f0d8f /lib/CodeGen/SplitKit.h | |
parent | e0ab24532cc11f082d722ab169080322b39afece (diff) |
Rename mapValue to extendRange because that is its function now.
Simplify the signature - The return value and ParentVNI are no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r-- | lib/CodeGen/SplitKit.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index d149e428ed..6d0e6367d5 100644 --- a/lib/CodeGen/SplitKit.h +++ b/lib/CodeGen/SplitKit.h @@ -195,16 +195,9 @@ public: /// getLI - return the current live interval. LiveInterval *getLI() const { return LI; } - /// mapValue - map ParentVNI to the corresponding LI value at Idx. It is - /// assumed that ParentVNI is live at Idx. - /// If ParentVNI has not been defined by defValue, it is assumed that - /// ParentVNI->def dominates Idx. - /// If ParentVNI has been defined by defValue one or more times, a value that - /// dominates Idx will be returned. This may require creating extra phi-def - /// values and adding live ranges to LI. - /// If simple is not NULL, *simple will indicate if ParentVNI is a simply - /// mapped value. - VNInfo *mapValue(const VNInfo *ParentVNI, SlotIndex Idx, bool *simple = 0); + /// extendRange - Extend the live range of LI so it reaches Idx. + /// Insert PHIDefs as needed to preserve SSA form. + void extendRange(SlotIndex Idx); }; |