14#ifndef CIRCT_SUPPORT_PATH_H
15#define CIRCT_SUPPORT_PATH_H
18#include "llvm/Support/ToolOutputFile.h"
27 const llvm::Twine &suffix);
33std::unique_ptr<llvm::ToolOutputFile>
35 function_ref<InFlightDiagnostic()> emitError);
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
std::unique_ptr< llvm::ToolOutputFile > createOutputFile(StringRef filename, StringRef dirname, function_ref< InFlightDiagnostic()> emitError)
Creates an output file with the given filename in the specified directory.
void appendPossiblyAbsolutePath(llvm::SmallVectorImpl< char > &base, const llvm::Twine &suffix)
Append a path to an existing path, replacing it if the other path is absolute.