Add a general operation property 'IsolatedFromAbove' that guarantees that all regions...
authorRiver Riddle <riverriddle@google.com>
Thu, 6 Jun 2019 21:28:13 +0000 (14:28 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:21:08 +0000 (16:21 -0700)
commit3ab5c0bfaffbdd03b44d047b98651c88716dbc28
tree934dd82e13b309de98613edee8fb2219a2fe9ce2
parentfa187e0f3bb491d369c6cb4b964727ff3f306571
Add a general operation property 'IsolatedFromAbove' that guarantees that all regions of a given operation are explicit capture only and will not reference values defined above the enclosing operation. This trait will be useful for applying some of the properties currently attached to Functions to operations, e.g. verifying dominance within a specific operation, enabling multi-threading of certain transformations between different instances, etc.

PiperOrigin-RevId: 251927466
mlir/include/mlir/GPU/GPUDialect.h
mlir/include/mlir/IR/Block.h
mlir/include/mlir/IR/Function.h
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/OperationSupport.h
mlir/lib/IR/Block.cpp