diff options
author | Alex Zinenko <zinenko@google.com> | 2020-06-17 16:46:45 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-06-18 11:47:32 +0200 |
commit | a75e09372e7f8715f93013a03542acfbb046583a (patch) | |
tree | 0fbcb8b5c5cfb7dfae035e9a5194a4e47b0669c0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e31e8f1ed57eb25584903f1a67040babf2c48eda (diff) | |
download | llvm-a75e09372e7f8715f93013a03542acfbb046583a.zip llvm-a75e09372e7f8715f93013a03542acfbb046583a.tar.gz llvm-a75e09372e7f8715f93013a03542acfbb046583a.tar.bz2 |
[mlir] Provide OpBuilder-based replacements for edsc::BlockBuilder
The ScopedBuilder class in EDSC is being gradually phased out in favor of core
OpBuilder-based helpers with callbacks. Provide helper functions that are
compatible with `edsc::ScopedContext` and can be used to create and populate
blocks using callbacks that take block arguments as callback arguments. This
removes the need for `edsc::BlockHandle`, forward-declaration of `Value`s used
for block arguments and the tag `edsc::Append` class, leading to noticable
reduction in the verbosity of the code using helper functions.
Remove "eager mode" construction tests that are only relevant to the
`BlockBuilder`-based approach.
`edsc::BlockHandle` and `edsc::BlockBuilder` are now deprecated and will be
removed soon.
Differential Revision: https://reviews.llvm.org/D82008
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions