[mlir][NFC] modernize / clean up some loop transform utils, affine analysis utils
authorUday Bondhugula <uday@polymagelabs.com>
Sat, 14 Mar 2020 04:15:07 +0000 (21:15 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Sat, 14 Mar 2020 04:16:05 +0000 (21:16 -0700)
commitbf0cc6b328ca7fe8b938acb379eb56d7e74ad019
treeb8ed22b24267ed70b2e1f49aafe35c3d0be8e300
parent810794ce882850a11baca35aa4ef107ee8ee7f53
[mlir][NFC] modernize / clean up some loop transform utils, affine analysis utils

Summary:
- remove stale declarations on flat affine constraints
- avoid allocating small vectors where possible
- clean up code comments, rename some variables

Differential Revision: https://reviews.llvm.org/D76117
mlir/include/mlir/Analysis/AffineStructures.h
mlir/lib/Analysis/AffineStructures.cpp
mlir/lib/Analysis/LoopAnalysis.cpp
mlir/lib/Transforms/Utils/LoopUtils.cpp