mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Add SplitKit API to query and select the current interval being worked on.
This makes it possible to target multiple registers in one pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -283,7 +283,15 @@ public:
|
||||
void reset(LiveRangeEdit&);
|
||||
|
||||
/// Create a new virtual register and live interval.
|
||||
void openIntv();
|
||||
/// Return the interval index, starting from 1. Interval index 0 is the
|
||||
/// implicit complement interval.
|
||||
unsigned openIntv();
|
||||
|
||||
/// currentIntv - Return the current interval index.
|
||||
unsigned currentIntv() const { return OpenIdx; }
|
||||
|
||||
/// selectIntv - Select a previously opened interval index.
|
||||
void selectIntv(unsigned Idx);
|
||||
|
||||
/// enterIntvBefore - Enter the open interval before the instruction at Idx.
|
||||
/// If the parent interval is not live before Idx, a COPY is not inserted.
|
||||
|
||||
Reference in New Issue
Block a user