LLVM: llvm::IntervalPressure Struct Reference (original) (raw)

RegisterPressure computed within a region of instructions delimited by TopIdx and BottomIdx. More...

#include "[llvm/CodeGen/RegisterPressure.h](RegisterPressure%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI void reset ()
Clear the result so it can be used for another round of pressure tracking.
LLVM_ABI void openTop (SlotIndex NextTop)
If the current top is not less than or equal to the next index, open it.
LLVM_ABI void openBottom (SlotIndex PrevBottom)
If the current bottom is not greater than the previous index, open it.
Public Member Functions inherited from llvm::RegisterPressure
LLVM_ABI void dump (const TargetRegisterInfo *TRI) const
Public Attributes
SlotIndex TopIdx
Record the boundary of the region being tracked.
SlotIndex BottomIdx
Public Attributes inherited from llvm::RegisterPressure
std::vector< unsigned > MaxSetPressure
Map of max reg pressure indexed by pressure set ID, not class ID.
SmallVector< VRegMaskOrUnit, 8 > LiveInRegs
List of live in virtual registers or physical register units.
SmallVector< VRegMaskOrUnit, 8 > LiveOutRegs

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.

Definition at line 68 of file RegisterPressure.h.

openBottom()

void IntervalPressure::openBottom ( SlotIndex PrevBottom )

openTop()

void IntervalPressure::openTop ( SlotIndex NextTop )

reset()

void IntervalPressure::reset ( )

BottomIdx

TopIdx


The documentation for this struct was generated from the following files: