LLVM: llvm::EvictionCost Struct Reference (original) (raw)

Cost of evicting interference - used by default advisor, and the eviction chain heuristic in RegAllocGreedy. More...

#include "[llvm/CodeGen/RegAllocEvictionAdvisor.h](RegAllocEvictionAdvisor%5F8h%5Fsource.html)"

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.

llvm::EvictionCost::EvictionCost ( ) default

isMax()

bool llvm::EvictionCost::isMax ( ) const inline

operator<()

operator>=()

setBrokenHints()

void llvm::EvictionCost::setBrokenHints ( unsigned NHints) inline

setMax()

void llvm::EvictionCost::setMax ( ) inline

BrokenHints

unsigned llvm::EvictionCost::BrokenHints = 0

MaxWeight

float llvm::EvictionCost::MaxWeight = 0


The documentation for this struct was generated from the following file: