Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocScore.cpp32 cl::opt<double> LoadWeight("regalloc-load-weight", cl::init(4.0), cl::Hidden); variable
66 Ret += LoadWeight * loadCounts(); in getScore()
68 Ret += (LoadWeight + StoreWeight) * loadStoreCounts(); in getScore()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DRegAllocScoreTest.cpp33 extern cl::opt<double> LoadWeight;
177 TotalScore.loadCounts() * LoadWeight + in TEST()
179 TotalScore.loadStoreCounts() * (LoadWeight + StoreWeight) + in TEST()