CIRCT
20.0.0git
|
#include "circt/Analysis/FIRRTLInstanceInfo.h"
#include "circt/Dialect/Emit/EmitOps.h"
#include "circt/Dialect/FIRRTL/AnnotationDetails.h"
#include "circt/Dialect/FIRRTL/FIRRTLAnnotations.h"
#include "circt/Dialect/FIRRTL/FIRRTLInstanceGraph.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/FIRRTLTypes.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/Namespace.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "circt/Dialect/HW/InnerSymbolNamespace.h"
#include "circt/Dialect/SV/SVOps.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Location.h"
#include "mlir/Pass/Pass.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/Path.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Go to the source code of this file.
Namespaces | |
circt | |
The InstanceGraph op interface, see InstanceGraphInterface.td for more details. | |
circt::firrtl | |
Macros | |
#define | GEN_PASS_DEF_CREATESIFIVEMETADATA |
Functions | |
static LogicalResult | removeAnnotationWithFilename (Operation *op, StringRef annoClass, StringRef &filename) |
This will search for a target annotation and remove it from the operation. More... | |
#define GEN_PASS_DEF_CREATESIFIVEMETADATA |
Definition at line 35 of file CreateSiFiveMetadata.cpp.
|
static |
This will search for a target annotation and remove it from the operation.
If the annotation has a filename, it will be returned in the output argument. If the annotation is missing the filename member, or if more than one matching annotation is attached, it will print an error and return failure.
Definition at line 701 of file CreateSiFiveMetadata.cpp.
References circt::firrtl::Annotation::getMember(), and circt::firrtl::Annotation::isClass().