Reorder some SDep methods. No functionality change.
authorDan Gohman <gohman@apple.com>
Tue, 16 Dec 2008 00:48:53 +0000 (00:48 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 16 Dec 2008 00:48:53 +0000 (00:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61063 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ScheduleDAG.h

index 74e14d34c88079bddb359b1d1f5c705e9e61e115..8ffe7f74389d16243dd45f6e1ef367c21c87a4ff 100644 (file)
@@ -166,12 +166,6 @@ namespace llvm {
       return getKind() != Data;
     }
 
-    /// isArtificial - Test if this is an Order dependence that is marked
-    /// as "artificial", meaning it isn't necessary for correctness.
-    bool isArtificial() const {
-      return getKind() == Order && Contents.Order.isArtificial;
-    }
-
     /// isMustAlias - Test if this is an Order dependence that is marked
     /// as "must alias", meaning that the SUnits at either end of the edge
     /// have a memory dependence on a known memory location.
@@ -179,6 +173,12 @@ namespace llvm {
       return getKind() == Order && Contents.Order.isMustAlias;
     }
 
+    /// isArtificial - Test if this is an Order dependence that is marked
+    /// as "artificial", meaning it isn't necessary for correctness.
+    bool isArtificial() const {
+      return getKind() == Order && Contents.Order.isArtificial;
+    }
+
     /// isAssignedRegDep - Test if this is a Data dependence that is
     /// associated with a register.
     bool isAssignedRegDep() const {