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:141

Method Overview

  • public void addPressureChange(unsigned int 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

Methods

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

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

Parameters

unsigned int RegUnit
bool IsDec
const llvm::MachineRegisterInfo* MRI

llvm::PressureDiff::const_iterator begin() const

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

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

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

Parameters

const llvm::TargetRegisterInfo& TRI

llvm::PressureDiff::const_iterator end() const

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