Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy.
Declared in <llvm/CodeGen/RegAllocEvictionAdvisor.h>
struct EvictionCost;
| Name | Description |
|---|---|
EvictionCost [constructor] | Construct a zero eviction cost. |
isMax | Return true if this cost is the maximum (unbeatable) value. |
setBrokenHints | Set the number of broken allocation hints. |
setMax | Set this cost to the maximum (unbeatable) value. |
operator< | Return true if this cost is strictly less than O. |
operator>= | Return true if this cost is greater than or equal to O. |
| Name | Description |
|---|---|
BrokenHints | Total number of broken hints. |
MaxWeight | Maximum spill weight evicted. |