Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocScore.cpp33 cl::opt<double> StoreWeight("regalloc-store-weight", cl::init(1.0), cl::Hidden); variable
67 Ret += StoreWeight * storeCounts(); in getScore()
68 Ret += (LoadWeight + StoreWeight) * loadStoreCounts(); in getScore()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DRegAllocScoreTest.cpp34 extern cl::opt<double> StoreWeight;
178 TotalScore.storeCounts() * StoreWeight + in TEST()
179 TotalScore.loadStoreCounts() * (LoadWeight + StoreWeight) + in TEST()