LLVM: llvm::RegionPressure Struct Reference (original) (raw)
RegisterPressure computed within a region of instructions delimited by TopPos and BottomPos. 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 (MachineBasicBlock::const_iterator PrevTop) |
| If the current top is the previous instruction (before receding), open it. | |
| LLVM_ABI void | openBottom (MachineBasicBlock::const_iterator PrevBottom) |
| If the current bottom is the previous instr (before advancing), open it. | |
| Public Member Functions inherited from llvm::RegisterPressure | |
| LLVM_ABI void | dump (const TargetRegisterInfo *TRI) const |
| Public Attributes | |
|---|---|
| MachineBasicBlock::const_iterator | TopPos |
| Record the boundary of the region being tracked. | |
| MachineBasicBlock::const_iterator | BottomPos |
| 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 TopPos and BottomPos.
This is a less precise version of IntervalPressure for use when LiveIntervals are unavailable.
Definition at line 83 of file RegisterPressure.h.
◆ openBottom()
◆ openTop()
◆ reset()
| void RegionPressure::reset | ( | ) |
|---|
◆ BottomPos
◆ TopPos
The documentation for this struct was generated from the following files:
- include/llvm/CodeGen/RegisterPressure.h
- lib/CodeGen/RegisterPressure.cpp