CIRCT
19.0.0git
|
#include "PassDetails.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/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/HWDialect.h"
#include "circt/Dialect/HW/InnerSymbolNamespace.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Support/Path.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/Support/FileUtilities.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "firrtl-extract-instances" |
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 37 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 463 of file ExtractInstances.cpp.
References circt::firrtl::getInnerSymName().
|
static |
Definition at line 205 of file ExtractInstances.cpp.
References circt::firrtl::extractBlackBoxAnnoClass, and circt::firrtl::Annotation::isClass().