Home
last modified time | relevance | path

Searched refs:CSRCost (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp306 BlockFrequency CSRCost; member in __anon4e4d313f0111::RAGreedy
2247 if (calcSpillCost() >= CSRCost) in tryAssignCSRFirstTime()
2260 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost. in tryAssignCSRFirstTime()
2282 CSRCost = BlockFrequency( in initializeCSRCost()
2284 if (!CSRCost.getFrequency()) in initializeCSRCost()
2290 CSRCost = 0; in initializeCSRCost()
2295 CSRCost *= BranchProbability(ActualEntry, FixedEntry); in initializeCSRCost()
2298 CSRCost /= BranchProbability(FixedEntry, ActualEntry); in initializeCSRCost()
2301 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
2479 if (CSRCost.getFrequency() && isUnusedCalleeSavedReg(PhysReg) && in selectOrSplitImpl()