Lines Matching refs:AffineExprMatcher
39 class AffineExprMatcher { class
41 AffineExprMatcher();
42 AffineExprMatcher(const AffineExprMatcher &other);
44 AffineExprMatcher operator+(AffineExprMatcher other) { in operator +()
45 return AffineExprMatcher(AffineExprKind::Add, *this, other); in operator +()
47 AffineExprMatcher operator*(AffineExprMatcher other) { in operator *()
48 return AffineExprMatcher(AffineExprKind::Mul, *this, other); in operator *()
50 AffineExprMatcher floorDiv(AffineExprMatcher other) { in floorDiv()
51 return AffineExprMatcher(AffineExprKind::FloorDiv, *this, other); in floorDiv()
53 AffineExprMatcher ceilDiv(AffineExprMatcher other) { in ceilDiv()
54 return AffineExprMatcher(AffineExprKind::CeilDiv, *this, other); in ceilDiv()
56 AffineExprMatcher operator%(AffineExprMatcher other) { in operator %()
57 return AffineExprMatcher(AffineExprKind::Mod, *this, other); in operator %()
65 AffineExprMatcher(AffineExprKind k, AffineExprMatcher a, AffineExprMatcher b);
79 AffineExprMatcherStorage(ArrayRef<AffineExprMatcher> exprs) in AffineExprMatcherStorage()
81 AffineExprMatcherStorage(AffineExprMatcher &a, AffineExprMatcher &b) in AffineExprMatcherStorage()
83 SmallVector<AffineExprMatcher, 0> subExprs;
88 AffineExprMatcher::AffineExprMatcher() in AffineExprMatcher() function in AffineExprMatcher
91 AffineExprMatcher::AffineExprMatcher(const AffineExprMatcher &other) in AffineExprMatcher() function in AffineExprMatcher
94 Optional<int> AffineExprMatcher::getMatchedConstantValue() { in getMatchedConstantValue()
100 AffineExpr AffineExprMatcher::match(AffineExpr expr) { in match()
129 AffineExpr AffineExprMatcher::matched() { return storage->matched; } in matched()
131 AffineExprMatcher::AffineExprMatcher(AffineExprKind k, AffineExprMatcher a, in AffineExprMatcher() function in AffineExprMatcher
132 AffineExprMatcher b) in AffineExprMatcher()
449 AffineExprMatcher x, C; in tryConvertAffineExpr()
450 AffineExprMatcher pattern = (x.floorDiv(C)) * C; in tryConvertAffineExpr()