Searched defs:MaxCost (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp456 EvictionCost MaxCost(1);
457 if (canEvictInterference(VirtReg, Hint, true, MaxCost)) {
512 /// @param MaxCost Only look for cheaper candidates and update with new cost
514 /// @returns True when interference can be evicted cheaper than MaxCost.
516 bool IsHint, EvictionCost &MaxCost) {
572 if (!(Cost < MaxCost))
579 MaxCost = Cost;
515 canEvictInterference(LiveInterval &VirtReg, unsigned PhysReg, bool IsHint, EvictionCost &MaxCost) argument
/external/webkit/Source/WebCore/platform/graphics/texmap/
H A DTextureMapperNode.cpp62 static const int MaxCost = TEXMAP_TEXTURE_CACHE_KBS * 1024; member in class:WebCore::TextureMapperCache
63 static const int PurgeAmount = MaxCost / 4;
71 if (m_totalCost <= TextureMapperCache::MaxCost)
80 for (int i = size-1; i >= 0 && m_totalCost > TextureMapperCache::MaxCost - TextureMapperCache::PurgeAmount; --i) {

Completed in 224 milliseconds