From 600cec38abd3723a34827bececf0f26a8e25b23a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 16 Dec 2008 00:48:53 +0000 Subject: [PATCH] Reorder some SDep methods. No functionality change. llvm-svn: 61063 --- llvm/include/llvm/CodeGen/ScheduleDAG.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h index 74e14d34c880..8ffe7f74389d 100644 --- a/llvm/include/llvm/CodeGen/ScheduleDAG.h +++ b/llvm/include/llvm/CodeGen/ScheduleDAG.h @@ -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 {