summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/MemRefDataFlowOpt.cpp
diff options
context:
space:
mode:
authorMLIR Team <no-reply@google.com>2019-02-06 11:01:10 -0800
committerjpienaar <jpienaar@google.com>2019-03-29 16:17:15 -0700
commitb9dde91ea6ec449ecd4203fb06fdf726001a0c37 (patch)
treee757b8d3cc5874995fc50b492123c2a0fcefd5a3 /mlir/lib/Transforms/MemRefDataFlowOpt.cpp
parent31f2b3ffa1a5f5233488e7d1415a7b7e2512a791 (diff)
downloadbcm5719-llvm-b9dde91ea6ec449ecd4203fb06fdf726001a0c37.tar.gz
bcm5719-llvm-b9dde91ea6ec449ecd4203fb06fdf726001a0c37.zip
Adds the ability to compute the MemRefRegion of a sliced loop nest. Utilizes this feature during loop fusion cost computation, to compute what the write region of a fusion candidate loop nest slice would be (without having to materialize the slice or change the IR).
*) Adds parameter to public API of MemRefRegion::compute for passing in the slice loop bounds to compute the memref region of the loop nest slice. *) Exposes public method MemRefRegion::getRegionSize for computing the size of the memref region in bytes. PiperOrigin-RevId: 232706165
Diffstat (limited to 'mlir/lib/Transforms/MemRefDataFlowOpt.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud