Calculate auxiliary information for a virtual register such as its spill weight and allocation hint.
Declared in <llvm/CodeGen/CalcSpillWeights.h>
class VirtRegAuxInfo;
| Name | Description |
|---|---|
VirtRegAuxInfo [constructor] | Construct auxiliary info for virtual-register spill weight calculation. |
~VirtRegAuxInfo [destructor] [virtual] | Virtual destructor. |
calculateSpillWeightAndHint | (re)compute li's spill weight and allocation hint. |
calculateSpillWeightsAndHints | Compute spill weights and allocation hints for all virtual register live intervals. |
| Name | Description |
|---|---|
allUsesAvailableAt | Check whether every register used by MI is available at UseIdx. |
copyHint | Return the preferred allocation register for reg, given a COPY instruction. |
isRematerializable | Determine if all values in LI are rematerializable. |
| Name | Description |
|---|---|
normalize [virtual] | Normalize a raw spill weight for a live interval. |
weightCalcHelper | Compute the spill weight and allocation hint for a live interval. |