Reorder some SDep methods. No functionality change.

llvm-svn: 61063
This commit is contained in:
Dan Gohman 2008-12-16 00:48:53 +00:00
parent 30204c2019
commit 600cec38ab
1 changed files with 6 additions and 6 deletions

View File

@ -166,12 +166,6 @@ namespace llvm {
return getKind() != Data; 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 /// isMustAlias - Test if this is an Order dependence that is marked
/// as "must alias", meaning that the SUnits at either end of the edge /// as "must alias", meaning that the SUnits at either end of the edge
/// have a memory dependence on a known memory location. /// have a memory dependence on a known memory location.
@ -179,6 +173,12 @@ namespace llvm {
return getKind() == Order && Contents.Order.isMustAlias; 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 /// isAssignedRegDep - Test if this is a Data dependence that is
/// associated with a register. /// associated with a register.
bool isAssignedRegDep() const { bool isAssignedRegDep() const {