LLVM  5.0.0
Public Member Functions | List of all members
llvm::PressureDiffs Class Reference

Array of PressureDiffs. More...

#include "llvm/CodeGen/RegisterPressure.h"

Public Member Functions

 PressureDiffs ()=default
 
 ~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...
 

Detailed Description

Array of PressureDiffs.

Definition at line 201 of file RegisterPressure.h.

Constructor & Destructor Documentation

llvm::PressureDiffs::PressureDiffs ( )
default
llvm::PressureDiffs::~PressureDiffs ( )
inline

Definition at line 208 of file RegisterPressure.h.

Member Function Documentation

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

Definition at line 210 of file RegisterPressure.h.

Referenced by llvm::ScheduleDAGMILive::enterRegion().

void PressureDiffs::init ( unsigned  N)

Initialize an array of N PressureDiffs.

Definition at line 630 of file RegisterPressure.cpp.

References N, and llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Size.

Referenced by llvm::ScheduleDAGInstrs::buildSchedGraph().

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

Definition at line 214 of file RegisterPressure.h.

References assert().

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

Definition at line 218 of file RegisterPressure.h.


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