MLIR 22.0.0git
CppEmitter.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringRef.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::emitc

Functions

LogicalResult mlir::emitc::translateToCpp (Operation *op, raw_ostream &os, bool declareVariablesAtTop=false, StringRef fileId={})
 Translates the given operation to C++ code.