Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp158 struct EvictionCost { struct in __anon97cedd6b0111::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 __anon4e4d313f0111::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 <()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp276 struct EvictionCost { struct in __anondab441770111::RAGreedy
277 unsigned BrokenHints = 0; ///< Total number of broken hints.
278 float MaxWeight = 0; ///< Maximum spill weight evicted.
282 bool isMax() const { return BrokenHints == ~0u; } in isMax()
284 void setMax() { BrokenHints = ~0u; } in setMax()
286 void setBrokenHints(unsigned NHints) { BrokenHints = NHints; } in setBrokenHints()
288 bool operator<(const EvictionCost &O) const { in operator <()