Calculate auxiliary information for a virtual register such as its spill weight and allocation hint.
Synopsis
Declared in <llvm/CodeGen/CalcSpillWeights.h>
class VirtRegAuxInfo;
Member Functions
Name |
Description |
|
Construct auxiliary info for virtual‐register spill weight calculation. |
|
Virtual destructor. |
(re)compute li's spill weight and allocation hint. |
|
Compute spill weights and allocation hints for all virtual register live intervals. |
Static Member Functions
Name |
Description |
Check whether every register used by MI is available at UseIdx. |
|
Return the preferred allocation register for reg, given a COPY instruction. |
|
Determine if all values in LI are rematerializable. |