Skip to content

Commit 5c8db7a

Browse files
authored
[DA] remove constraint propagation (#160924)
Remove all constraint propagation functions in Dependence Analysis.
1 parent 76d614b commit 5c8db7a

File tree

4 files changed

+16
-1605
lines changed

4 files changed

+16
-1605
lines changed

llvm/include/llvm/Analysis/DependenceAnalysis.h

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -931,36 +931,6 @@ class DependenceInfo {
931931
/// of the Constraints X and Y. Returns true if X has changed.
932932
bool intersectConstraints(Constraint *X, const Constraint *Y);
933933

934-
/// propagate - Review the constraints, looking for opportunities
935-
/// to simplify a subscript pair (Src and Dst).
936-
/// Return true if some simplification occurs.
937-
/// If the simplification isn't exact (that is, if it is conservative
938-
/// in terms of dependence), set consistent to false.
939-
bool propagate(const SCEV *&Src, const SCEV *&Dst, SmallBitVector &Loops,
940-
SmallVectorImpl<Constraint> &Constraints, bool &Consistent);
941-
942-
/// propagateDistance - Attempt to propagate a distance
943-
/// constraint into a subscript pair (Src and Dst).
944-
/// Return true if some simplification occurs.
945-
/// If the simplification isn't exact (that is, if it is conservative
946-
/// in terms of dependence), set consistent to false.
947-
bool propagateDistance(const SCEV *&Src, const SCEV *&Dst,
948-
Constraint &CurConstraint, bool &Consistent);
949-
950-
/// propagatePoint - Attempt to propagate a point
951-
/// constraint into a subscript pair (Src and Dst).
952-
/// Return true if some simplification occurs.
953-
bool propagatePoint(const SCEV *&Src, const SCEV *&Dst,
954-
Constraint &CurConstraint);
955-
956-
/// propagateLine - Attempt to propagate a line
957-
/// constraint into a subscript pair (Src and Dst).
958-
/// Return true if some simplification occurs.
959-
/// If the simplification isn't exact (that is, if it is conservative
960-
/// in terms of dependence), set consistent to false.
961-
bool propagateLine(const SCEV *&Src, const SCEV *&Dst,
962-
Constraint &CurConstraint, bool &Consistent);
963-
964934
/// findCoefficient - Given a linear SCEV,
965935
/// return the coefficient corresponding to specified loop.
966936
/// If there isn't one, return the SCEV constant 0.

0 commit comments

Comments
 (0)