13 #ifndef MLIR_TARGET_CPP_CPPEMITTER_H
14 #define MLIR_TARGET_CPP_CPPEMITTER_H
17 #include "llvm/ADT/StringRef.h"
30 bool declareVariablesAtTop =
false,
31 StringRef fileId = {});
LogicalResult translateToCpp(Operation *op, raw_ostream &os, bool declareVariablesAtTop=false, StringRef fileId={})
Translates the given operation to C++ code.
Include the generated interface declarations.