[#llvm-RegClassWeight] = xref:llvm.adoc[llvm]::RegClassWeight :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct RegClassWeight; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/RegClassWeight/RegWeight.adoc[`RegWeight`] | Weight contributed by one register from the class. | xref:llvm/RegClassWeight/WeightLimit.adoc[`WeightLimit`] | Maximum total weight allowed for registers from the class. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#