LLVM 22.0.0git
llvm::PressureDiffs Class Reference

Array of PressureDiffs. More...

#include "llvm/CodeGen/RegisterPressure.h"

Public Member Functions

 PressureDiffs ()=default
PressureDiffsoperator= (const PressureDiffs &other)=delete
 PressureDiffs (const PressureDiffs &other)=delete
 ~PressureDiffs ()
void clear ()
LLVM_ABI void init (unsigned N)
 Initialize an array of N PressureDiffs.
PressureDiffoperator[] (unsigned Idx)
const PressureDiffoperator[] (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.

Detailed Description

Array of PressureDiffs.

Definition at line 200 of file RegisterPressure.h.

Constructor & Destructor Documentation

◆ PressureDiffs() [1/2]

llvm::PressureDiffs::PressureDiffs ( )
default

◆ PressureDiffs() [2/2]

llvm::PressureDiffs::PressureDiffs ( const PressureDiffs & other)
delete

References PressureDiffs().

◆ ~PressureDiffs()

llvm::PressureDiffs::~PressureDiffs ( )
inline

Definition at line 209 of file RegisterPressure.h.

Member Function Documentation

◆ addInstruction()

void PressureDiffs::addInstruction ( unsigned Idx,
const RegisterOperands & RegOpers,
const MachineRegisterInfo & MRI )

◆ clear()

void llvm::PressureDiffs::clear ( )
inline

Definition at line 211 of file RegisterPressure.h.

◆ init()

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().

◆ operator=()

PressureDiffs & llvm::PressureDiffs::operator= ( const PressureDiffs & other)
delete

References PressureDiffs().

◆ operator[]() [1/2]

PressureDiff & llvm::PressureDiffs::operator[] ( unsigned Idx)
inline

Definition at line 215 of file RegisterPressure.h.

References assert().

◆ operator[]() [2/2]

const PressureDiff & llvm::PressureDiffs::operator[] ( unsigned Idx) const
inline

Definition at line 219 of file RegisterPressure.h.

References PressureDiffs().


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