|
LLVM 22.0.0git
|
Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy. More...
#include "llvm/CodeGen/RegAllocEvictionAdvisor.h"
Public Member Functions | |
| EvictionCost ()=default | |
| bool | isMax () const |
| void | setMax () |
| void | setBrokenHints (unsigned NHints) |
| bool | operator< (const EvictionCost &O) const |
| bool | operator>= (const EvictionCost &O) const |
Public Attributes | |
| unsigned | BrokenHints = 0 |
| Total number of broken hints. | |
| float | MaxWeight = 0 |
| Maximum spill weight evicted. | |
Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy.
Definition at line 78 of file RegAllocEvictionAdvisor.h.
|
default |
Referenced by operator<(), and operator>=().
|
inline |
Definition at line 84 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
|
inline |
Definition at line 90 of file RegAllocEvictionAdvisor.h.
References BrokenHints, EvictionCost(), and MaxWeight.
|
inline |
Definition at line 95 of file RegAllocEvictionAdvisor.h.
References EvictionCost().
|
inline |
Definition at line 88 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
|
inline |
Definition at line 86 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
| unsigned llvm::EvictionCost::BrokenHints = 0 |
Total number of broken hints.
Definition at line 79 of file RegAllocEvictionAdvisor.h.
Referenced by isMax(), operator<(), setBrokenHints(), and setMax().
| float llvm::EvictionCost::MaxWeight = 0 |
Maximum spill weight evicted.
Definition at line 80 of file RegAllocEvictionAdvisor.h.
Referenced by operator<().