CIRCT  20.0.0git
Classes | Namespaces | Functions | Variables
FIRParser.h File Reference
#include "circt/Dialect/FIRRTL/FIRRTLAttributes.h"
#include "circt/Support/LLVM.h"
#include <optional>
#include <string>
#include <vector>
Include dependency graph for FIRParser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  circt::firrtl::FIRParserOptions
 
struct  circt::firrtl::FIRVersion
 The FIRRTL specification version. More...
 

Namespaces

 llvm
 
 mlir
 
 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::firrtl
 

Functions

mlir::OwningOpRef< mlir::ModuleOp > circt::firrtl::importFIRFile (llvm::SourceMgr &sourceMgr, mlir::MLIRContext *context, mlir::TimingScope &ts, FIRParserOptions options={})
 
std::pair< bool, std::optional< mlir::LocationAttr > > circt::firrtl::maybeStringToLocation (llvm::StringRef spelling, bool skipParsing, mlir::StringAttr &locatorFilenameCache, FileLineColLoc &fileLineColLocCache, MLIRContext *context)
 
void circt::firrtl::registerFromFIRFileTranslation ()
 
constexpr FIRVersion circt::firrtl::minimumFIRVersion (2, 0, 0)
 The current minimum version of FIRRTL that the parser supports. More...
 
constexpr FIRVersion circt::firrtl::nextFIRVersion (4, 1, 0)
 The next version of FIRRTL that is not yet released. More...
 
template<typename T >
T & circt::firrtl::operator<< (T &os, FIRVersion version)
 

Variables

constexpr FIRVersion circt::firrtl::missingSpecFIRVersion = nextFIRVersion
 A marker for parser features that are currently missing from the spec. More...
 
constexpr FIRVersion circt::firrtl::exportFIRVersion = nextFIRVersion
 The version of FIRRTL that the exporter produces. More...