CIRCT 20.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
EmitRTGISAAssemblyPass.cpp File Reference
#include "circt/Dialect/RTG/IR/RTGISAAssemblyOpInterfaces.h"
#include "circt/Dialect/RTG/IR/RTGOps.h"
#include "circt/Dialect/RTG/Transforms/RTGPasses.h"
#include "circt/Support/Path.h"
#include "mlir/IR/Threading.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/raw_ostream.h"
#include <fstream>
#include "circt/Dialect/RTG/Transforms/RTGPasses.h.inc"
Include dependency graph for EmitRTGISAAssemblyPass.cpp:

Go to the source code of this file.

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
namespace  circt::rtg
 

Macros

#define GEN_PASS_DEF_EMITRTGISAASSEMBLYPASS
 
#define DEBUG_TYPE   "emit-rtg-isa-assembly"
 

Functions

static void parseUnsupportedInstructionsFile (MLIRContext *ctxt, const std::string &unsupportedInstructionsFile, DenseSet< StringAttr > &unsupportedInstrs)
 
static std::unique_ptr< llvm::ToolOutputFile > createOutputFile (StringRef filename, StringRef dirname, function_ref< InFlightDiagnostic()> emitError)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "emit-rtg-isa-assembly"

Definition at line 38 of file EmitRTGISAAssemblyPass.cpp.

◆ GEN_PASS_DEF_EMITRTGISAASSEMBLYPASS

#define GEN_PASS_DEF_EMITRTGISAASSEMBLYPASS

Definition at line 30 of file EmitRTGISAAssemblyPass.cpp.

Function Documentation

◆ createOutputFile()

static std::unique_ptr< llvm::ToolOutputFile > createOutputFile ( StringRef  filename,
StringRef  dirname,
function_ref< InFlightDiagnostic()>  emitError 
)
static

Definition at line 176 of file EmitRTGISAAssemblyPass.cpp.

References circt::appendPossiblyAbsolutePath().

◆ parseUnsupportedInstructionsFile()

static void parseUnsupportedInstructionsFile ( MLIRContext *  ctxt,
const std::string &  unsupportedInstructionsFile,
DenseSet< StringAttr > &  unsupportedInstrs 
)
static

Definition at line 161 of file EmitRTGISAAssemblyPass.cpp.