aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/RegAlloc/InterferenceGraph.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 23:30:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 23:30:14 +0000
commitb5f662fa0314f7e7e690aae8ebff7136cc3a5ab0 (patch)
treee7c0cbff032351446ce38058e84f6f6f9fd2300d /lib/Target/SparcV9/RegAlloc/InterferenceGraph.h
parent4633f1cde84b1dbb05dfbdce17ca6b483596cee7 (diff)
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/InterferenceGraph.h')
-rw-r--r--lib/Target/SparcV9/RegAlloc/InterferenceGraph.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.h b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.h
index 79850c1fcf..2f07b4f1df 100644
--- a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.h
+++ b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.h
@@ -1,10 +1,10 @@
//===-- InterferenceGraph.h - Interference graph for register coloring -*- C++ -*-===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
/* Title: InterferenceGraph.h -*- C++ -*-
@@ -12,17 +12,17 @@
Date: July 20, 01
Purpose: Interference Graph used for register coloring.
- Notes:
- Adj Info is stored in the lower trangular matrix (i.e., row > col )
+ Notes:
+ Adj Info is stored in the lower trangular matrix (i.e., row > col )
This class must be used in the following way:
* Construct class
* call addLRToIG as many times to add ALL LRs to this IG
* call createGraph to create the actual matrix
- * Then setInterference, getInterference, mergeIGNodesOfLRs can be
+ * Then setInterference, getInterference, mergeIGNodesOfLRs can be
called as desired to modify the graph.
- * Once the modifications to the graph are over, call
+ * Once the modifications to the graph are over, call
setCurDegreeOfIGNodes() before pushing IGNodes on to stack for coloring.
*/
@@ -42,9 +42,9 @@ class InterferenceGraph {
unsigned int Size; // size of a side of the IG
RegClass *const RegCl; // RegCl contains this IG
std::vector<IGNode *> IGNodeList; // a list of all IGNodes in a reg class
-
+
public:
- // the matrix is not yet created by the constructor. Call createGraph()
+ // the matrix is not yet created by the constructor. Call createGraph()
// to create it after adding all IGNodes to the IGNodeList
InterferenceGraph(RegClass *RC);
~InterferenceGraph();
@@ -61,8 +61,8 @@ class InterferenceGraph {
void mergeIGNodesOfLRs(const LiveRange *LR1, LiveRange *LR2);
- std::vector<IGNode *> &getIGNodeList() { return IGNodeList; }
- const std::vector<IGNode *> &getIGNodeList() const { return IGNodeList; }
+ std::vector<IGNode *> &getIGNodeList() { return IGNodeList; }
+ const std::vector<IGNode *> &getIGNodeList() const { return IGNodeList; }
void setCurDegreeOfIGNodes();