Files
clang-p2996/mlir/lib/CAPI/IR/CMakeLists.txt
Mehdi Amini 89418ddcb5 Plumb write_bytecode to the Python API
This adds a `write_bytecode` method to the Operation class.
The method takes a file handle and writes the binary blob to it.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D133210
2022-09-05 12:02:06 +00:00

21 lines
325 B
CMake

# Main API shared library.
add_mlir_upstream_c_api_library(MLIRCAPIIR
AffineExpr.cpp
AffineMap.cpp
BuiltinAttributes.cpp
BuiltinTypes.cpp
Diagnostics.cpp
DialectHandle.cpp
IntegerSet.cpp
IR.cpp
Pass.cpp
Support.cpp
LINK_LIBS PUBLIC
MLIRBytecodeWriter
MLIRIR
MLIRParser
MLIRSupport
MLIRPass
)