hanchenye-llvm-project/mlir/lib/Transforms
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
..
CFGFunctionViewGraph.cpp Move the GraphTraits implementations for CFGs out to their own header, 2019-03-29 13:17:35 -07:00
ConstantFold.cpp Constant folding for loop bounds. 2019-03-29 13:24:01 -07:00
ConvertToCFG.cpp Add function attributes for ExtFunction, CFGFunction and MLFunction. 2019-03-29 13:15:35 -07:00
LoopUnroll.cpp [MLIR] Remove uses of AffineExpr* outside of IR 2019-03-29 13:22:35 -07:00
LoopUnrollAndJam.cpp [MLIR] Remove uses of AffineExpr* outside of IR 2019-03-29 13:22:35 -07:00
LoopUtils.cpp [MLIR] Templated AffineExprBaseRef 2019-03-29 13:22:49 -07:00
Pass.cpp Add PassResult and have passes return PassResult to indicate failure/success. 2019-03-29 13:13:55 -07:00
PipelineDataTransfer.cpp Introduce memref replacement/rewrite support: to replace an existing memref 2019-03-29 13:23:19 -07:00
SimplifyAffineExpr.cpp [RFC][MLIR] Use AffineExprRef in place of AffineExpr* in IR 2019-03-29 13:23:05 -07:00
Utils.cpp Fix opt build breakage - lib/Transforms/Utils.cpp 2019-03-29 13:23:46 -07:00