aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorStella Laurenzo <stellaraccident@gmail.com>2020-10-20 23:20:04 -0700
committerStella Laurenzo <stellaraccident@gmail.com>2020-10-21 12:14:06 -0700
commit74a58ec9c27f48eb26094667156934c6ca9d0012 (patch)
tree289f62e6e08c9aa2d441d889b67fbc04b6e64da0 /clang/lib/CodeGen/CodeGenModule.cpp
parent57b338c08a4942bda6e58c77870c657c53b6fb5b (diff)
downloadllvm-74a58ec9c27f48eb26094667156934c6ca9d0012.zip
llvm-74a58ec9c27f48eb26094667156934c6ca9d0012.tar.gz
llvm-74a58ec9c27f48eb26094667156934c6ca9d0012.tar.bz2
[mlir][CAPI][Python] Plumb OpPrintingFlags to C and Python APIs.
* Adds a new MlirOpPrintingFlags type and supporting accessors. * Adds a new mlirOperationPrintWithFlags function. * Adds a full featured python Operation.print method with all options and the ability to print directly to files/stdout in text or binary. * Adds an Operation.get_asm which delegates to print and returns a str or bytes. * Reworks Operation.__str__ to be based on get_asm. Differential Revision: https://reviews.llvm.org/D89848
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions