aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEhsan Toosi <ehsan.nadjaran_toosi@dfki.de>2020-07-31 15:20:37 +0200
committerEhsan Toosi <ehsan.nadjaran_toosi@dfki.de>2020-09-02 13:26:55 +0200
commit94f5d248772ba0f1f9c8b0746fe75a5d246c5540 (patch)
treec8db17acf62a82953b5aa7d755079bae518f9b7b /clang/lib/Frontend/CompilerInvocation.cpp
parentf72121254da48bf668c35918b53c96cf8c568342 (diff)
downloadllvm-94f5d248772ba0f1f9c8b0746fe75a5d246c5540.zip
llvm-94f5d248772ba0f1f9c8b0746fe75a5d246c5540.tar.gz
llvm-94f5d248772ba0f1f9c8b0746fe75a5d246c5540.tar.bz2
[mlir] Extend BufferAssignmentTypeConverter with result conversion callbacks
In this PR, the users of BufferPlacement can configure BufferAssginmentTypeConverter. These new configurations would give the user more freedom in the process of converting function signature, and return and call operation conversions. These are the new features: - Accepting callback functions for decomposing types (i.e. 1 to N type conversion such as unpacking tuple types). - Defining ResultConversionKind for specifying whether a function result with a certain type should be appended to the function arguments list or should be kept as function result. (Usage: converter.setResultConversionKind<MemRefType>(AppendToArgumentList)) - Accepting callback functions for composing or decomposing values (i.e. N to 1 and 1 to N value conversion). Differential Revision: https://reviews.llvm.org/D85133
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions