Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp158 struct EvictionCost { struct in __anonee6eecea0111::RAGreedy
159 unsigned BrokenHints; ///< Total number of broken hints.
160 float MaxWeight; ///< Maximum spill weight evicted.
162 EvictionCost(unsigned B = 0) : BrokenHints(B), MaxWeight(0) {} in EvictionCost() argument
164 bool operator<(const EvictionCost &O) const { in operator <()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp232 struct EvictionCost { struct in __anon739613be0111::RAGreedy
233 unsigned BrokenHints; ///< Total number of broken hints.
234 float MaxWeight; ///< Maximum spill weight evicted.
236 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost() function
238 bool isMax() const { return BrokenHints == ~0u; } in isMax()
240 void setMax() { BrokenHints = ~0u; } in setMax()
242 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()
244 bool operator<(const EvictionCost &O) const { in operator <()