Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp308 BlockFrequency CSRCost; member in __anon4e4d313f0111::RAGreedy
2257 if (calcSpillCost() >= CSRCost) in tryAssignCSRFirstTime()
2270 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost. in tryAssignCSRFirstTime()
2292 CSRCost = BlockFrequency( in initializeCSRCost()
2294 if (!CSRCost.getFrequency()) in initializeCSRCost()
2300 CSRCost = 0; in initializeCSRCost()
2305 CSRCost *= BranchProbability(ActualEntry, FixedEntry); in initializeCSRCost()
2308 CSRCost /= BranchProbability(FixedEntry, ActualEntry); in initializeCSRCost()
2311 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
2489 if (CSRCost.getFrequency() && isUnusedCalleeSavedReg(PhysReg) && in selectOrSplitImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp402 BlockFrequency CSRCost; member in __anondab441770111::RAGreedy
2766 if (calcSpillCost() >= CSRCost) in tryAssignCSRFirstTime()
2779 BlockFrequency BestCost = CSRCost; // Don't modify CSRCost. in tryAssignCSRFirstTime()
2801 CSRCost = BlockFrequency( in initializeCSRCost()
2803 if (!CSRCost.getFrequency()) in initializeCSRCost()
2809 CSRCost = 0; in initializeCSRCost()
2814 CSRCost *= BranchProbability(ActualEntry, FixedEntry); in initializeCSRCost()
2817 CSRCost /= BranchProbability(FixedEntry, ActualEntry); in initializeCSRCost()
2820 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
3001 if (CSRCost.getFrequency() && isUnusedCalleeSavedReg(PhysReg) && in selectOrSplitImpl()