llvm-project/mlir/test/lib
Sean Silva 9c9a7e9268 Add support for function result attributes.
This allows dialect-specific attributes to be attached to func results. (or more specifically, FunctionLike ops).

For example:

```
func @f() -> (i32 {my_dialect.some_attr = 3})
```

This attaches my_dialect.some_attr with value 3 to the first result of func @f.

Another more complex example:

```
func @g() -> (i32, f32 {my_dialect.some_attr = "foo", other_dialect.some_other_attr = [1,2,3]}, i1)
```

Here, the second result has two attributes attached.

PiperOrigin-RevId: 275564165
2019-10-18 16:03:28 -07:00
..
IR Update the symbol utility methods to handle the case of unknown operations. 2019-10-08 18:38:37 -07:00
Pass Add support for generating reproducers on pass crash and failure. 2019-10-10 19:36:54 -07:00
TestDialect Add support for function result attributes. 2019-10-18 16:03:28 -07:00
Transforms Add Instance Specific Pass Options. 2019-10-08 18:23:43 -07:00
CMakeLists.txt Add support for walking the uses of a symbol. 2019-10-08 10:21:59 -07:00