diff options
Diffstat (limited to 'lib/CodeGen/LiveRegMatrix.h')
-rw-r--r-- | lib/CodeGen/LiveRegMatrix.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveRegMatrix.h b/lib/CodeGen/LiveRegMatrix.h index 019a5f5877..b3e2d7f4b4 100644 --- a/lib/CodeGen/LiveRegMatrix.h +++ b/lib/CodeGen/LiveRegMatrix.h @@ -137,6 +137,10 @@ public: /// This returns a reference to an internal Query data structure that is only /// valid until the next query() call. LiveIntervalUnion::Query &query(LiveInterval &VirtReg, unsigned RegUnit); + + /// Directly access the live interval unions per regunit. + /// This returns an array indexed by the regunit number. + LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; } }; } // end namespace llvm |