diff options
author | River Riddle <riddleriver@gmail.com> | 2021-12-16 01:49:11 +0000 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2021-12-16 02:08:12 +0000 |
commit | 02670c3f385f24789797cde340be60e8ab2447c1 (patch) | |
tree | 936e37f067e0e042c42e9caa85fb85aec6622618 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | d7e7fdf3aaaf35b1be9b45ee4120976cd57d55ef (diff) | |
download | llvm-02670c3f385f24789797cde340be60e8ab2447c1.zip llvm-02670c3f385f24789797cde340be60e8ab2447c1.tar.gz llvm-02670c3f385f24789797cde340be60e8ab2447c1.tar.bz2 |
[PDLL] Add support for `op` Operation expressions
An operation expression in PDLL represents an MLIR operation. In
the match section of a pattern, this expression models one of
the input operations to the pattern. In the rewrite section of
a pattern, this expression models one of the operations to
create. The general structure of the operation expression is very
similar to that of the "generic form" of textual MLIR assembly:
```
let root = op<my_dialect.foo>(operands: ValueRange) {attr = attr: Attr} -> (resultTypes: TypeRange);
```
For now we only model the components that are within PDL, as PDL
gains support for blocks and regions so will this expression.
Differential Revision: https://reviews.llvm.org/D115296
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions