@@ -35,22 +35,22 @@ using namespace llvm;
3535STATISTIC (NumAssigned , " Number of registers assigned" );
3636STATISTIC (NumUnassigned , " Number of registers unassigned" );
3737
38- char LiveRegMatrixWrapperPass ::ID = 0 ;
39- INITIALIZE_PASS_BEGIN (LiveRegMatrixWrapperPass , " liveregmatrix" ,
38+ char LiveRegMatrixWrapperLegacy ::ID = 0 ;
39+ INITIALIZE_PASS_BEGIN (LiveRegMatrixWrapperLegacy , " liveregmatrix" ,
4040 " Live Register Matrix" , false , false )
4141INITIALIZE_PASS_DEPENDENCY(LiveIntervalsWrapperPass)
4242INITIALIZE_PASS_DEPENDENCY(VirtRegMapWrapperLegacy)
43- INITIALIZE_PASS_END(LiveRegMatrixWrapperPass , " liveregmatrix" ,
43+ INITIALIZE_PASS_END(LiveRegMatrixWrapperLegacy , " liveregmatrix" ,
4444 " Live Register Matrix" , false , false )
4545
46- void LiveRegMatrixWrapperPass ::getAnalysisUsage(AnalysisUsage &AU) const {
46+ void LiveRegMatrixWrapperLegacy ::getAnalysisUsage(AnalysisUsage &AU) const {
4747 AU.setPreservesAll ();
4848 AU.addRequiredTransitive <LiveIntervalsWrapperPass>();
4949 AU.addRequiredTransitive <VirtRegMapWrapperLegacy>();
5050 MachineFunctionPass::getAnalysisUsage (AU);
5151}
5252
53- bool LiveRegMatrixWrapperPass ::runOnMachineFunction (MachineFunction &MF) {
53+ bool LiveRegMatrixWrapperLegacy ::runOnMachineFunction (MachineFunction &MF) {
5454 auto &LIS = getAnalysis<LiveIntervalsWrapperPass>().getLIS ();
5555 auto &VRM = getAnalysis<VirtRegMapWrapperLegacy>().getVRM ();
5656 LRM.init (MF, LIS, VRM);
@@ -72,7 +72,7 @@ void LiveRegMatrix::init(MachineFunction &MF, LiveIntervals &pLIS,
7272 invalidateVirtRegs ();
7373}
7474
75- void LiveRegMatrixWrapperPass ::releaseMemory () { LRM.releaseMemory (); }
75+ void LiveRegMatrixWrapperLegacy ::releaseMemory () { LRM.releaseMemory (); }
7676
7777void LiveRegMatrix::releaseMemory () {
7878 for (unsigned i = 0 , e = Matrix.size (); i != e; ++i) {
0 commit comments