mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-13 19:40:26 +00:00
removed circular definitions in comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f66fc53bc7
commit
c41eb0df9a
@ -309,17 +309,17 @@ namespace llvm {
|
|||||||
getLoop(), FlagAnyWrap);
|
getLoop(), FlagAnyWrap);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isAffine - Return true if this is an affine AddRec (i.e., it represents
|
/// isAffine - Return true if this represents an expression
|
||||||
/// an expressions A+B*x where A and B are loop invariant values.
|
/// A + B*x where A and B are loop invariant values.
|
||||||
bool isAffine() const {
|
bool isAffine() const {
|
||||||
// We know that the start value is invariant. This expression is thus
|
// We know that the start value is invariant. This expression is thus
|
||||||
// affine iff the step is also invariant.
|
// affine iff the step is also invariant.
|
||||||
return getNumOperands() == 2;
|
return getNumOperands() == 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isQuadratic - Return true if this is an quadratic AddRec (i.e., it
|
/// isQuadratic - Return true if this represents an expression
|
||||||
/// represents an expressions A+B*x+C*x^2 where A, B and C are loop
|
/// A + B*x + C*x^2 where A, B and C are loop invariant values.
|
||||||
/// invariant values. This corresponds to an addrec of the form {L,+,M,+,N}
|
/// This corresponds to an addrec of the form {L,+,M,+,N}
|
||||||
bool isQuadratic() const {
|
bool isQuadratic() const {
|
||||||
return getNumOperands() == 3;
|
return getNumOperands() == 3;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user