llvm::RegClassWeight

Each TargetRegisterClass has a per register weight, and weight limit which must be less than the limits of its pressure sets.

Synopsis

Declared in <llvm/CodeGen/TargetRegisterInfo.h>

struct RegClassWeight;

Data Members

NameDescription
RegWeight Weight contributed by one register from the class.
WeightLimit Maximum total weight allowed for registers from the class.