llvm::PSetIterator

Iterate over the pressure sets affected by a physical or virtual register.

Synopsis

Declared in <llvm/CodeGen/MachineRegisterInfo.h>

class PSetIterator;

Description

If Reg is physical, it must be a register unit (from MCRegUnitIterator).

Member Functions

NameDescription
PSetIterator [constructor]Constructors
getWeight Return the register weight contributed to the current pressure set.
isValid Return true if this iterator still points at a valid pressure set.
operator* Return the current pressure set identifier.
operator++ Advance to the next pressure set, or become invalid at the end.