Register pressure computed over an iterator‐delimited instruction region.

Synopsis

Declared in <llvm/CodeGen/RegisterPressure.h>

struct RegionPressure
    : RegisterPressure

Description

This is a less precise version of IntervalPressure for use when LiveIntervals are unavailable.

Base Classes

Name

Description

RegisterPressure

Base class for register pressure results.

Member Functions

Name

Description

dump

Dump max pressure and live in/out registers to the debug stream.

openBottom

Open the bottom of the region if it currently equals PrevBottom.

openTop

Open the top of the region if it currently equals PrevTop.

reset

Clear this result so it can be used for another round of tracking.

Data Members

Name

Description

BottomPos

Block iterator at the bottom of the tracked region.

LiveInRegs

List of live in virtual registers or physical register units.

LiveOutRegs

List of live‐out virtual registers or physical register units.

MaxSetPressure

Map of max reg pressure indexed by pressure set ID, not class ID.

TopPos

Record the boundary of the region being tracked.

Created with MrDocs