CalculateSpillWeights does not need to be a pass
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Fri, 8 Nov 2013 17:56:29 +0000 (17:56 +0000)
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>
Fri, 8 Nov 2013 17:56:29 +0000 (17:56 +0000)
commit663fcde3d33e44a9b543a692ad29873bd1ddc403
treea797e4e20a5ae9fb94045f27c1fd939a0717a2b9
parentfffdcacff2de0c1eaf4dbd2884384d71d024776d
CalculateSpillWeights does not need to be a pass

Based on discussions with Lang Hames and Jakob Stoklund Olesen at the hacker's lab, and in the light of upcoming work on the PBQP register allocator, it was though that CalcSpillWeights does not need to be a pass. This change will enable to customize / tune the spill weight computation depending on the allocator.

Update the documentation style while there.

No functionnal change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194269 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/CalcSpillWeights.h
include/llvm/InitializePasses.h
lib/CodeGen/CalcSpillWeights.cpp
lib/CodeGen/CodeGen.cpp
lib/CodeGen/RegAllocBasic.cpp
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/RegAllocPBQP.cpp