Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp401 BlockFrequency CSRCost; member in __anon4935e8a80111::RAGreedy
2812 if (calcSpillCost() >= CSRCost) in tryAssignCSRFirstTime()
2825 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost. in tryAssignCSRFirstTime()
2847 CSRCost = BlockFrequency( in initializeCSRCost()
2849 if (!CSRCost.getFrequency()) in initializeCSRCost()
2855 CSRCost = 0; in initializeCSRCost()
2860 CSRCost *= BranchProbability(ActualEntry, FixedEntry); in initializeCSRCost()
2863 CSRCost /= BranchProbability(FixedEntry, ActualEntry); in initializeCSRCost()
2866 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
3047 if (CSRCost.getFrequency() && isUnusedCalleeSavedReg(PhysReg) && in selectOrSplitImpl()