Home
last modified time | relevance | path

Searched defs:EvictionCost (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp217 struct EvictionCost { struct in __anon4e4d313f0111::RAGreedy
218 unsigned BrokenHints; ///< Total number of broken hints.
219 float MaxWeight; ///< Maximum spill weight evicted.
221 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost() argument
223 bool isMax() const { return BrokenHints == ~0u; } in isMax()
225 void setMax() { BrokenHints = ~0u; } in setMax()
227 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()
229 bool operator<(const EvictionCost &O) const { in operator <()