aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.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 17:53:42 +0200
commit39cf83cc78ff0a017fb9de27d45b87217aa6f558 (patch)
treef40501de55da8f23206e7085452f267f39425666 /clang/lib/CodeGen/CodeGenModule.cpp
parentc5aa63dd560b9cf5825c1e4da2a9ee53dbd772f3 (diff)
downloadllvm-39cf83cc78ff0a017fb9de27d45b87217aa6f558.zip
llvm-39cf83cc78ff0a017fb9de27d45b87217aa6f558.tar.gz
llvm-39cf83cc78ff0a017fb9de27d45b87217aa6f558.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/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions