CIRCT
20.0.0git
|
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/Passes.h"
#include "mlir/Pass/Pass.h"
#include "circt/Dialect/FIRRTL/AnnotationDetails.h"
#include "circt/Dialect/FIRRTL/FIRRTLAttributes.h"
#include "circt/Dialect/FIRRTL/FIRRTLTypes.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/FIRRTLVisitors.h"
#include "circt/Dialect/FIRRTL/NLATable.h"
#include "circt/Dialect/FIRRTL/Namespace.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Dialect/HW/HWOpInterfaces.h"
#include "circt/Dialect/SV/SVOps.h"
#include "circt/Support/Debug.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Threading.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Parallel.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-lower-signatures" |
#define | GEN_PASS_DEF_LOWERSIGNATURES |
Functions | |
static hw::InnerSymAttr | symbolsForFieldIDRange (MLIRContext *ctx, const FieldIDSearch< hw::InnerSymAttr > &syms, uint64_t low, uint64_t high) |
static AnnotationSet | annosForFieldIDRange (MLIRContext *ctx, const FieldIDSearch< AnnotationSet > &annos, uint64_t low, uint64_t high) |
static LogicalResult | computeLoweringImpl (FModuleLike mod, PortConversion &newPorts, Convention conv, size_t portID, const PortInfo &port, bool isFlip, Twine name, FIRRTLType type, uint64_t fieldID, const FieldIDSearch< hw::InnerSymAttr > &syms, const FieldIDSearch< AnnotationSet > &annos) |
static LogicalResult | computeLowering (FModuleLike mod, Convention conv, PortConversion &newPorts) |
static LogicalResult | lowerModuleSignature (FModuleLike module, Convention conv, AttrCache &cache, PortConversion &newPorts) |
static void | lowerModuleBody (FModuleOp mod, const DenseMap< StringAttr, PortConversion > &ports) |
#define DEBUG_TYPE "firrtl-lower-signatures" |
Definition at line 39 of file LowerSignatures.cpp.
#define GEN_PASS_DEF_LOWERSIGNATURES |
Definition at line 43 of file LowerSignatures.cpp.
|
static |
Definition at line 140 of file LowerSignatures.cpp.
References circt::firrtl::AnnotationSet::addAnnotations().
Referenced by computeLoweringImpl().
|
static |
Definition at line 260 of file LowerSignatures.cpp.
References computeLoweringImpl(), and circt::firrtl::Out.
Referenced by lowerModuleSignature().
|
static |
Definition at line 151 of file LowerSignatures.cpp.
References annosForFieldIDRange(), circt::firrtl::FIRRTLTypeSwitch< T, ResultT >::Case(), circt::calyx::direction::get(), circt::firrtl::In, circt::firrtl::PortInfo::loc, circt::firrtl::PortInfo::name, circt::firrtl::Out, circt::firrtl::PortInfo::sym, and symbolsForFieldIDRange().
Referenced by computeLowering().
|
static |
Definition at line 402 of file LowerSignatures.cpp.
References assert(), circt::firrtl::emitConnect(), circt::firrtl::AnnotationSet::getContext(), and circt::firrtl::getValueByFieldID().
|
static |
Definition at line 273 of file LowerSignatures.cpp.
References assert(), computeLowering(), circt::firrtl::emitConnect(), circt::calyx::direction::get(), circt::firrtl::getValueByFieldID(), and circt::firrtl::direction::packAttribute().
|
static |
Definition at line 126 of file LowerSignatures.cpp.
References circt::calyx::direction::get().
Referenced by computeLoweringImpl().