mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
* Eliminate the LiveVarSet class, making applyTranferFuncForMInst a static
function in the one .cpp file that uses it. Use ValueSet's instead. * Prepare to delete LiveVarSet.h & LiveVarSet.cpp * Eliminate the ValueSet class, making all old member functions into global templates that will eventually be moved to Support. * Eliminate some irrelevant const's git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1712 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -133,8 +133,8 @@ unsigned InterferenceGraph::getInterference(const LiveRange *const LR1,
|
||||
// LiveRangeInfo::unionAndUpdateLRs for that purpose.
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *const LR1,
|
||||
LiveRange *const LR2 ) {
|
||||
void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *LR1,
|
||||
LiveRange *LR2) {
|
||||
|
||||
assert( LR1 != LR2); // cannot merge the same live range
|
||||
|
||||
@@ -145,8 +145,8 @@ void InterferenceGraph::mergeIGNodesOfLRs(const LiveRange *const LR1,
|
||||
assertIGNode( SrcNode );
|
||||
|
||||
if( DEBUG_RA > 1) {
|
||||
cerr << "Merging LRs: \""; LR1->printSet();
|
||||
cerr << "\" and \""; LR2->printSet();
|
||||
cerr << "Merging LRs: \""; printSet(*LR1);
|
||||
cerr << "\" and \""; printSet(*LR2);
|
||||
cerr << "\"\n";
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ void InterferenceGraph::printIGNodeList() const
|
||||
|
||||
if (Node) {
|
||||
cerr << " [" << Node->getIndex() << "] ";
|
||||
Node->getParentLR()->printSet();
|
||||
printSet(*Node->getParentLR());
|
||||
//int Deg = Node->getCurDegree();
|
||||
cerr << "\t <# of Neighs: " << Node->getNumOfNeighbors() << ">\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user