LLVM: llvm::PressureChange Class Reference (original) (raw)

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.

Definition at line 103 of file RegisterPressure.h.