Skip to content

Commit 8450ed1

Browse files
committed
[DA] remove constraint propagation and coupled/separable subscripts
Remove all constraint propagation functions. Simplify depends() and getSplitIteration() to test subscripts individually.
1 parent f33fb0d commit 8450ed1

File tree

5 files changed

+16
-1708
lines changed

5 files changed

+16
-1708
lines changed

llvm/include/llvm/Analysis/DependenceAnalysis.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -838,35 +838,6 @@ class DependenceInfo {
838838
/// of the Constraints X and Y. Returns true if X has changed.
839839
bool intersectConstraints(Constraint *X, const Constraint *Y);
840840

841-
/// propagate - Review the constraints, looking for opportunities
842-
/// to simplify a subscript pair (Src and Dst).
843-
/// Return true if some simplification occurs.
844-
/// If the simplification isn't exact (that is, if it is conservative
845-
/// in terms of dependence), set consistent to false.
846-
bool propagate(const SCEV *&Src, const SCEV *&Dst, SmallBitVector &Loops,
847-
SmallVectorImpl<Constraint> &Constraints, bool &Consistent);
848-
849-
/// propagateDistance - Attempt to propagate a distance
850-
/// constraint into a subscript pair (Src and Dst).
851-
/// Return true if some simplification occurs.
852-
/// If the simplification isn't exact (that is, if it is conservative
853-
/// in terms of dependence), set consistent to false.
854-
bool propagateDistance(const SCEV *&Src, const SCEV *&Dst,
855-
Constraint &CurConstraint, bool &Consistent);
856-
857-
/// propagatePoint - Attempt to propagate a point
858-
/// constraint into a subscript pair (Src and Dst).
859-
/// Return true if some simplification occurs.
860-
bool propagatePoint(const SCEV *&Src, const SCEV *&Dst,
861-
Constraint &CurConstraint);
862-
863-
/// propagateLine - Attempt to propagate a line
864-
/// constraint into a subscript pair (Src and Dst).
865-
/// Return true if some simplification occurs.
866-
/// If the simplification isn't exact (that is, if it is conservative
867-
/// in terms of dependence), set consistent to false.
868-
bool propagateLine(const SCEV *&Src, const SCEV *&Dst,
869-
Constraint &CurConstraint, bool &Consistent);
870841

871842
/// findCoefficient - Given a linear SCEV,
872843
/// return the coefficient corresponding to specified loop.

0 commit comments

Comments
 (0)