summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-21 02:31:15 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-21 02:31:15 +0000
commit6264fb70c14562266e3d3973ddd108e962f5eb92 (patch)
tree2ee0fe862797a1c46f9c051aecbdb54e70e043a7
parent43ce8fe477eb15674ba09eb1a7622de38e7d0f8a (diff)
downloadllvm-6264fb70c14562266e3d3973ddd108e962f5eb92.tar.gz
llvm-6264fb70c14562266e3d3973ddd108e962f5eb92.tar.bz2
llvm-6264fb70c14562266e3d3973ddd108e962f5eb92.tar.xz
Standardize the names of include guards.
Fix typos in file header comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8643 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/RegAlloc/IGNode.h11
-rw-r--r--lib/Target/SparcV9/RegAlloc/IGNode.h11
2 files changed, 10 insertions, 12 deletions
diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h
index dc3ae8a505..8cb8409994 100644
--- a/lib/CodeGen/RegAlloc/IGNode.h
+++ b/lib/CodeGen/RegAlloc/IGNode.h
@@ -9,21 +9,20 @@
The removal of nodes from IG is simulated by decrementing the CurDegree.
If this node is put on stack (that is removed from IG), the CurDegree of all
- the neighbors are decremented and this node is marked OnSack. Hence
+ the neighbors are decremented and this node is marked OnStack. Hence
the effective neighbors in the AdjList are the ones that do not have the
OnStack flag set (therefore, they are in the IG).
- The methods that modify/use the CurDegree Must be called only
+ The methods that modify/use the CurDegree must be called only
after all modifications to the IG are over (i.e., all neighbors are fixed).
The vector representation is the most efficient one for adj list.
- Though nodes are removed when coalsing is done, we access it in sequence
+ Though nodes are removed when coalescing is done, we access it in sequence
for far many times when coloring (colorNode()).
-
*/
-#ifndef IG_NODE_H
-#define IG_NODE_H
+#ifndef IGNODE_H
+#define IGNODE_H
#include "LiveRange.h"
class RegClass;
diff --git a/lib/Target/SparcV9/RegAlloc/IGNode.h b/lib/Target/SparcV9/RegAlloc/IGNode.h
index dc3ae8a505..8cb8409994 100644
--- a/lib/Target/SparcV9/RegAlloc/IGNode.h
+++ b/lib/Target/SparcV9/RegAlloc/IGNode.h
@@ -9,21 +9,20 @@
The removal of nodes from IG is simulated by decrementing the CurDegree.
If this node is put on stack (that is removed from IG), the CurDegree of all
- the neighbors are decremented and this node is marked OnSack. Hence
+ the neighbors are decremented and this node is marked OnStack. Hence
the effective neighbors in the AdjList are the ones that do not have the
OnStack flag set (therefore, they are in the IG).
- The methods that modify/use the CurDegree Must be called only
+ The methods that modify/use the CurDegree must be called only
after all modifications to the IG are over (i.e., all neighbors are fixed).
The vector representation is the most efficient one for adj list.
- Though nodes are removed when coalsing is done, we access it in sequence
+ Though nodes are removed when coalescing is done, we access it in sequence
for far many times when coloring (colorNode()).
-
*/
-#ifndef IG_NODE_H
-#define IG_NODE_H
+#ifndef IGNODE_H
+#define IGNODE_H
#include "LiveRange.h"
class RegClass;