LLVM API Documentation
|Clear the result so it can be used for another round of pressure tracking. |
|void||openTop (SlotIndex NextTop)|
|void||openBottom (SlotIndex PrevBottom)|
|If the current bottom is not greater than the previous index, open it. |
|Record the boundary of the region being tracked. |
RegisterPressure computed within a region of instructions delimited by TopIdx and BottomIdx. During pressure computation, the maximum pressure per register pressure set is increased. Once pressure within a region is fully computed, the live-in and live-out sets are recorded.
This is preferable to RegionPressure when LiveIntervals are available, because delimiting regions by SlotIndex is more robust and convenient than holding block iterators. The block contents can change without invalidating the pressure result.
Clear the result so it can be used for another round of pressure tracking.