LLVM  3.7.0
Public Types | Public Member Functions | List of all members
llvm::PressureDiff Class Reference

List of PressureChanges in order of increasing, unique PSetID. More...

#include <RegisterPressure.h>

Public Types

typedef PressureChangeiterator
 
typedef const PressureChangeconst_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void addPressureChange (unsigned RegUnit, bool IsDec, const MachineRegisterInfo *MRI)
 Add a change in pressure to the pressure diff of a given instruction. More...
 
LLVM_DUMP_METHOD void dump (const TargetRegisterInfo &TRI) const
 

Detailed Description

List of PressureChanges in order of increasing, unique PSetID.

Use a small fixed number, because we can fit more PressureChanges in an empty SmallVector than ever need to be tracked per register class. If more PSets are affected, then we only track the most constrained.

Definition at line 121 of file RegisterPressure.h.

Member Typedef Documentation

Definition at line 130 of file RegisterPressure.h.

Definition at line 129 of file RegisterPressure.h.

Member Function Documentation

void PressureDiff::addPressureChange ( unsigned  RegUnit,
bool  IsDec,
const MachineRegisterInfo MRI 
)
iterator llvm::PressureDiff::begin ( )
inline
const_iterator llvm::PressureDiff::begin ( ) const
inline

Definition at line 133 of file RegisterPressure.h.

void PressureDiff::dump ( const TargetRegisterInfo TRI) const
iterator llvm::PressureDiff::end ( )
inline
const_iterator llvm::PressureDiff::end ( ) const
inline

Definition at line 134 of file RegisterPressure.h.


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