llvm-project/mlir/lib
Uday Bondhugula 3bae041e5d Add utility to promote single iteration loops. Add methods for getting constant
loop counts. Improve / refactor loop unroll / loop unroll and jam.

- add utility to remove single iteration loops.
- use this utility to promote single iteration loops after unroll/unroll-and-jam
- use loopUnrollByFactor for loopUnrollFull and remove most of the latter.
- add methods for getting constant loop trip count

PiperOrigin-RevId: 212039569
2019-03-29 13:11:21 -07:00
..
Analysis Fix opt build where compiled out assert leaves unused local variable. 2019-03-29 13:09:44 -07:00
IR Add utility to promote single iteration loops. Add methods for getting constant 2019-03-29 13:11:21 -07:00
Parser Add location specifier to MLIR Functions, and: 2019-03-29 13:10:55 -07:00
Transforms Add utility to promote single iteration loops. Add methods for getting constant 2019-03-29 13:11:21 -07:00