LLVM 22.0.0git
|
Array of PressureDiffs. More...
#include "llvm/CodeGen/RegisterPressure.h"
Public Member Functions | |
PressureDiffs ()=default | |
PressureDiffs & | operator= (const PressureDiffs &other)=delete |
PressureDiffs (const PressureDiffs &other)=delete | |
~PressureDiffs () | |
void | clear () |
LLVM_ABI void | init (unsigned N) |
Initialize an array of N PressureDiffs. | |
PressureDiff & | operator[] (unsigned Idx) |
const PressureDiff & | operator[] (unsigned Idx) const |
LLVM_ABI void | addInstruction (unsigned Idx, const RegisterOperands &RegOpers, const MachineRegisterInfo &MRI) |
Record pressure difference induced by the given operand list to node with index Idx . |
Array of PressureDiffs.
Definition at line 200 of file RegisterPressure.h.
|
default |
Referenced by operator=(), operator[](), and PressureDiffs().
|
delete |
References PressureDiffs().
|
inline |
Definition at line 209 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 645 of file RegisterPressure.cpp.
References llvm::PressureDiff::addPressureChange(), assert(), llvm::PressureDiff::begin(), llvm::RegisterOperands::Defs, llvm::PressureChange::isValid(), MRI, P, and llvm::RegisterOperands::Uses.
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().
|
inline |
Definition at line 211 of file RegisterPressure.h.
void PressureDiffs::init | ( | unsigned | N | ) |
Initialize an array of N PressureDiffs.
Definition at line 634 of file RegisterPressure.cpp.
References N, and llvm::safe_calloc().
Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().
|
delete |
References PressureDiffs().
|
inline |
Definition at line 215 of file RegisterPressure.h.
References assert().
|
inline |
Definition at line 219 of file RegisterPressure.h.
References PressureDiffs().