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/FIRRTLAnnotationHelper.h"
#include "circt/Dialect/FIRRTL/FIRRTLAnnotations.h"
#include "circt/Dialect/FIRRTL/FIRRTLInstanceGraph.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/NLATable.h"
#include "circt/Dialect/FIRRTL/Namespace.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Dialect/HW/InnerSymbolNamespace.h"
#include "circt/Dialect/SV/SVOps.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/Support/Debug.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 | DEBUG_TYPE "firrtl-extract-instances" |
#define | GEN_PASS_DEF_EXTRACTINSTANCES |
Functions | |
static bool | isAnnoInteresting (Annotation anno) |
static unsigned | findInstanceInNLA (InstanceOp inst, hw::HierPathOp nla) |
Find the location in an NLA that corresponds to a given instance (either by mentioning exactly the instance, or the instance's parent module). More... | |
#define DEBUG_TYPE "firrtl-extract-instances" |
Definition at line 44 of file ExtractInstances.cpp.
#define GEN_PASS_DEF_EXTRACTINSTANCES |
Definition at line 48 of file ExtractInstances.cpp.
|
static |
Find the location in an NLA that corresponds to a given instance (either by mentioning exactly the instance, or the instance's parent module).
Returns a position within the NLA's path, or the length of the path if the instances was not found.
Definition at line 458 of file ExtractInstances.cpp.
References circt::firrtl::getInnerSymName().
|
static |
Definition at line 221 of file ExtractInstances.cpp.
References circt::firrtl::extractBlackBoxAnnoClass, and circt::firrtl::Annotation::isClass().