Each TargetRegisterClass has a per register weight, and weight limit which must be less than the limits of its pressure sets.
Declared in <llvm/CodeGen/TargetRegisterInfo.h>
struct RegClassWeight;
| Name | Description |
|---|---|
RegWeight | Weight contributed by one register from the class. |
WeightLimit | Maximum total weight allowed for registers from the class. |