diff options
author | Quinn Dawkins <quinn.dawkins@gmail.com> | 2024-01-19 10:21:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 13:21:52 -0500 |
commit | 42b160356fe5d3b41bf07c428d0142d3721b1d44 (patch) | |
tree | 4fff44a995e3eeb65e61ba943856d5b68fd69e0a /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 0784b1eefa36d4acbb0dacd2d18796e26313b6c5 (diff) | |
download | llvm-42b160356fe5d3b41bf07c428d0142d3721b1d44.zip llvm-42b160356fe5d3b41bf07c428d0142d3721b1d44.tar.gz llvm-42b160356fe5d3b41bf07c428d0142d3721b1d44.tar.bz2 |
[mlir][transform] Add an op for replacing values with function calls (#78398)
Adds `transform.func.cast_and_call` that takes a set of inputs and
outputs and replaces the uses of those outputs with a call to a function
at a specified insertion point.
The idea with this operation is to allow users to author independent IR
outside of a to-be-compiled module, and then match and replace a slice
of the program with a call to the external function.
Additionally adds a mechanism for populating a type converter with a set
of conversion materialization functions that allow insertion of
casts on the inputs/outputs to and from the types of the function
signature.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions