Cleanup the 'clone' methods and remove the need to explicitly pass in the context.
authorRiver Riddle <riverriddle@google.com>
Thu, 27 Jun 2019 23:42:50 +0000 (16:42 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 27 Jun 2019 23:43:18 +0000 (16:43 -0700)
commit929466b5c9fef18c590f1aa160878a4f9ac2ce61
tree041eae2318bbfc0eb7fb06c2388912e650f2b704
parent7b5f49af76991066437d72122b5789e97ba495da
Cleanup the 'clone' methods and remove the need to explicitly pass in the context.

This also adds a new 'Region::cloneInto' method that accepts an insertion position.

PiperOrigin-RevId: 255504640
mlir/include/mlir/IR/BlockAndValueMapping.h
mlir/include/mlir/IR/Builders.h
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/Region.h
mlir/lib/IR/Function.cpp
mlir/lib/IR/Operation.cpp
mlir/lib/IR/Region.cpp