LLVM 20.0.0git
|
Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy. More...
#include "CodeGen/RegAllocEvictionAdvisor.h"
Public Member Functions | |
EvictionCost ()=default | |
bool | isMax () const |
void | setMax () |
void | setBrokenHints (unsigned NHints) |
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 77 of file RegAllocEvictionAdvisor.h.
|
default |
|
inline |
Definition at line 83 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
|
inline |
Definition at line 89 of file RegAllocEvictionAdvisor.h.
References BrokenHints, and MaxWeight.
|
inline |
Definition at line 87 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
|
inline |
Definition at line 85 of file RegAllocEvictionAdvisor.h.
References BrokenHints.
unsigned llvm::EvictionCost::BrokenHints = 0 |
Total number of broken hints.
Definition at line 78 of file RegAllocEvictionAdvisor.h.
Referenced by isMax(), operator<(), setBrokenHints(), and setMax().
float llvm::EvictionCost::MaxWeight = 0 |
Maximum spill weight evicted.
Definition at line 79 of file RegAllocEvictionAdvisor.h.
Referenced by operator<().