File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
include/mlir/Analysis/Presburger Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ class SimplexBase {
181
181
void rollback (unsigned snapshot);
182
182
183
183
// / Add all the constraints from the given IntegerPolyhedron.
184
- void intersectIntegerPolyhedron (const IntegerPolyhedron &fac );
184
+ void intersectIntegerPolyhedron (const IntegerPolyhedron &poly );
185
185
186
186
// / Returns a rational sample point. This should not be called when Simplex is
187
187
// / empty.
@@ -387,9 +387,9 @@ class Simplex : public SimplexBase {
387
387
// / Check if the specified equality already holds in the polytope.
388
388
bool isRedundantEquality (ArrayRef<int64_t > coeffs);
389
389
390
- // / Returns true if this Simplex's polytope is a rational subset of `fac `.
390
+ // / Returns true if this Simplex's polytope is a rational subset of `poly `.
391
391
// / Otherwise, returns false.
392
- bool isRationalSubsetOf (const IntegerPolyhedron &fac );
392
+ bool isRationalSubsetOf (const IntegerPolyhedron &poly );
393
393
394
394
private:
395
395
friend class GBRSimplex ;
Original file line number Diff line number Diff line change @@ -168,16 +168,16 @@ void IntegerPolyhedron::removeInequality(unsigned pos) {
168
168
inequalities.removeRow (pos);
169
169
}
170
170
171
- void IntegerPolyhedron::removeEqualityRange (unsigned begin , unsigned end) {
172
- if (begin >= end)
171
+ void IntegerPolyhedron::removeEqualityRange (unsigned start , unsigned end) {
172
+ if (start >= end)
173
173
return ;
174
- equalities.removeRows (begin , end - begin );
174
+ equalities.removeRows (start , end - start );
175
175
}
176
176
177
- void IntegerPolyhedron::removeInequalityRange (unsigned begin , unsigned end) {
178
- if (begin >= end)
177
+ void IntegerPolyhedron::removeInequalityRange (unsigned start , unsigned end) {
178
+ if (start >= end)
179
179
return ;
180
- inequalities.removeRows (begin , end - begin );
180
+ inequalities.removeRows (start , end - start );
181
181
}
182
182
183
183
void IntegerPolyhedron::swapId (unsigned posA, unsigned posB) {
You can’t perform that action at this time.
0 commit comments