class PressureDiff

Declaration

class PressureDiff { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:140

Member Variables

private llvm::PressureChange[16] PressureChanges

Method Overview

  • public void addPressureChange(llvm::Register RegUnit, bool IsDec, const llvm::MachineRegisterInfo * MRI)
  • public llvm::PressureDiff::const_iterator begin() const
  • public void dump(const llvm::TargetRegisterInfo & TRI) const
  • public llvm::PressureDiff::const_iterator end() const
  • private llvm::PressureDiff::iterator nonconst_begin()
  • private llvm::PressureDiff::iterator nonconst_end()

Methods

void addPressureChange(
    llvm::Register RegUnit,
    bool IsDec,
    const llvm::MachineRegisterInfo* MRI)

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:159

Parameters

llvm::Register RegUnit
bool IsDec
const llvm::MachineRegisterInfo* MRI

llvm::PressureDiff::const_iterator begin() const

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:156

void dump(
    const llvm::TargetRegisterInfo& TRI) const

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:162

Parameters

const llvm::TargetRegisterInfo& TRI

llvm::PressureDiff::const_iterator end() const

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:157

llvm::PressureDiff::iterator nonconst_begin()

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:150

llvm::PressureDiff::iterator nonconst_end()

Declared at: llvm/include/llvm/CodeGen/RegisterPressure.h:151