13 #ifndef CIRCT_TARGET_DEBUGINFO_H
14 #define CIRCT_TARGET_DEBUGINFO_H
17 #include "llvm/Support/raw_ostream.h"
26 LogicalResult
dumpDebugInfo(Operation *module, llvm::raw_ostream &os);
49 LogicalResult
emitHGLDD(Operation *module, llvm::raw_ostream &os,
57 const EmitHGLDDOptions &options = {});
LogicalResult emitHGLDD(Operation *module, llvm::raw_ostream &os, const EmitHGLDDOptions &options={})
Serialize the debug information in the given module into the HGLDD format and writes it to output.
void registerTranslations()
Register all debug information emission flavors as from-MLIR translations.
LogicalResult emitSplitHGLDD(Operation *module, const EmitHGLDDOptions &options={})
Serialize the debug information in the given module into the HGLDD format and emit one companion HGLD...
LogicalResult dumpDebugInfo(Operation *module, llvm::raw_ostream &os)
Dump the debug information in the given module in a human-readable format.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Options for HGLDD emission.
bool onlyExistingFileLocs
Only consider location information for files that actually exist on disk.
StringRef outputDirectory
The directory in which to place HGLDD output files.
StringRef sourceFilePrefix
A prefix prepended to all source file locations.
StringRef outputFilePrefix
A prefix prepended to all output file locations.