CIRCT  20.0.0git
Classes | Namespaces | Functions
FIRRTLAnnotations.h File Reference
#include "circt/Support/LLVM.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Operation.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
Include dependency graph for FIRRTLAnnotations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::firrtl::Annotation
 This class provides a read-only projection of an annotation. More...
 
struct  circt::firrtl::Annotation::ClassIsa
 Helper struct to perform variadic class equality check. More...
 
class  circt::firrtl::AnnotationSet
 This class provides a read-only projection over the MLIR attributes that represent a set of annotations. More...
 
class  circt::firrtl::AnnotationSetIterator
 
struct  circt::firrtl::detail::AnnoTargetImpl
 
struct  circt::firrtl::AnnoTarget
 An annotation target is used to keep track of something that is targeted by an Annotation. More...
 
struct  circt::firrtl::OpAnnoTarget
 This represents an annotation targeting a specific operation. More...
 
struct  circt::firrtl::PortAnnoTarget
 This represents an annotation targeting a specific port of a module, memory, or instance. More...
 
struct  llvm::CastInfo< To, From, std::enable_if_t< std::is_base_of_v<::circt::firrtl::AnnoTarget, From > > >
 Add support for llvm style casts to AnnoTarget. More...
 
struct  llvm::PointerLikeTypeTraits< circt::firrtl::Annotation >
 Make Annotation behave like a Attribute in terms of pointer-likeness. More...
 
struct  llvm::DenseMapInfo< circt::firrtl::Annotation >
 Make Annotation hash just like Attribute. More...
 
struct  llvm::DenseMapInfo< circt::firrtl::AnnoTarget >
 Make AnnoTarget hash. More...
 

Namespaces

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

Functions

StringRef circt::firrtl::getAnnotationAttrName ()
 Return the name of the attribute used for annotations on FIRRTL ops. More...
 
StringRef circt::firrtl::getPortAnnotationAttrName ()
 Return the name of the attribute used for port annotations on FIRRTL ops. More...
 
ArrayAttr circt::firrtl::getAnnotationsIfPresent (Operation *op)
 
bool circt::firrtl::isOMIRStringEncodedPassthrough (StringRef type)
 Check if an OMIR type is a string-encoded value that the FIRRTL dialect simply passes through as a string without any decoding. More...
 
LogicalResult circt::firrtl::extractDUT (FModuleOp mod, FModuleOp &dut)
 Utility that searches for a MarkDUTAnnotation on a specific module, mod, and tries to update a design-under-test (DUT), dut, with this module if the module is the DUT. More...