Refactor the Block support classes.
authorRiver Riddle <riverriddle@google.com>
Mon, 9 Dec 2019 23:24:10 +0000 (15:24 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 9 Dec 2019 23:24:43 +0000 (15:24 -0800)
commit3f9744a6b744b9213b0e34f4f3433db8276780f9
treed28fc9ba7f987332668c03a5820cba4d950622d0
parent7be6a40ab9b914b14ab61ae13e47e0bb8237e74d
Refactor the Block support classes.

Each of the support classes for Block are now moved into a new header BlockSupport.h. The successor iterator class is also reimplemented as an indexed_accessor_range. This makes the class more efficient, and expands on its available functionality.

PiperOrigin-RevId: 284646792
mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/BlockSupport.h [new file with mode: 0644]
mlir/lib/IR/Block.cpp