hanchenye-llvm-project/mlir
Uday Bondhugula d18ae9e2c7 Constant folding for loop bounds.
- Fold the lower/upper bound of a loop to a constant whenever the result of the
  application of the bound's affine map on the operand list yields a constant.

- Update/complete 'for' stmt's API to set lower/upper bounds with operands.
  Resolve TODOs for ForStmt::set{Lower,Upper}Bound.

- Moved AffineExprConstantFolder into AffineMap.cpp and added
  AffineMap::constantFold to be used by both AffineApplyOp and
  ForStmt::constantFoldBound.

PiperOrigin-RevId: 215997346
2019-03-29 13:24:01 -07:00
..
include/mlir Constant folding for loop bounds. 2019-03-29 13:24:01 -07:00
lib Constant folding for loop bounds. 2019-03-29 13:24:01 -07:00
test Constant folding for loop bounds. 2019-03-29 13:24:01 -07:00
tools Introduce loop body skewing / loop pipelining / loop shifting utility. 2019-03-29 13:21:26 -07:00
utils Add tf_control to syntax files's types. NFC 2019-03-29 12:48:19 -07:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
LICENSE.TXT Continue sketching out basic infrastructure, including an input and output 2019-03-29 12:23:51 -07:00