Add FlatAffineConstraints::containsId to avoid using findId when position isn't
authorUday Bondhugula <bondhugula@google.com>
Thu, 7 Mar 2019 00:18:27 +0000 (16:18 -0800)
committerjpienaar <jpienaar@google.com>
Sat, 30 Mar 2019 00:03:17 +0000 (17:03 -0700)
commitb8b15c7700761eff0b1acea21bccd7db33e6cb30
treeba2c614ecb285dcc46b784f17bdc609371e92fde
parent9e425a06f7b55f38cb315db81ab9ea5fd7d1af02
Add FlatAffineConstraints::containsId to avoid using findId when position isn't
needed + other cleanup
- clean up unionBoundingBox (hoist SmallVector allocations out of loop).

PiperOrigin-RevId: 237141668
mlir/include/mlir/Analysis/AffineStructures.h
mlir/lib/Analysis/AffineStructures.cpp
mlir/lib/Analysis/Utils.cpp