|
LLVM
4.0.0
|
Array of PressureDiffs. More...
#include <RegisterPressure.h>
Public Member Functions | |
| PressureDiffs () | |
| ~PressureDiffs () | |
| void | clear () |
| void | init (unsigned N) |
| Initialize an array of N PressureDiffs. More... | |
| PressureDiff & | operator[] (unsigned Idx) |
| const PressureDiff & | operator[] (unsigned Idx) const |
| void | addInstruction (unsigned Idx, const RegisterOperands &RegOpers, const MachineRegisterInfo &MRI) |
Record pressure difference induced by the given operand list to node with index Idx. More... | |
Array of PressureDiffs.
Definition at line 184 of file RegisterPressure.h.
|
inline |
Definition at line 189 of file RegisterPressure.h.
|
inline |
Definition at line 190 of file RegisterPressure.h.
| void PressureDiffs::addInstruction | ( | unsigned | Idx, |
| const RegisterOperands & | RegOpers, | ||
| const MachineRegisterInfo & | MRI | ||
| ) |
Record pressure difference induced by the given operand list to node with index Idx.
Definition at line 615 of file RegisterPressure.cpp.
References llvm::PressureDiff::addPressureChange(), assert(), llvm::PressureDiff::begin(), llvm::RegisterOperands::Defs, llvm::PressureChange::isValid(), P, llvm::RegisterMaskPair::RegUnit, and llvm::RegisterOperands::Uses.
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().
|
inline |
Definition at line 192 of file RegisterPressure.h.
Referenced by llvm::ScheduleDAGMILive::enterRegion().
| void PressureDiffs::init | ( | unsigned | N | ) |
Initialize an array of N PressureDiffs.
Definition at line 604 of file RegisterPressure.cpp.
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().
|
inline |
Definition at line 196 of file RegisterPressure.h.
References assert().
|
inline |
Definition at line 200 of file RegisterPressure.h.
1.8.6