class PressureChange

Declaration

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

Description

Capture a change in pressure for a single pressure set. UnitInc may be expressed in terms of upward or downward pressure depending on the client and will be dynamically adjusted for current liveness. Pressure increments are tiny, typically 1-2 units, and this is only for heuristics, so we don't check UnitInc overflow. Instead, we may have a higher level assert that pressure is consistent within a region. We also effectively ignore dead defs which don't affect heuristics much.

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

Method Overview

Methods

PressureChange()

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

PressureChange(unsigned int id)

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

Parameters

unsigned int id

void dump() const

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

unsigned int getPSet() const

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

unsigned int getPSetOrMax() const

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

int getUnitInc() const

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

bool isValid() const

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

void setUnitInc(int Inc)

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

Parameters

int Inc