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
21 lines
325 B
CMake
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
|
|
)
|