CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::firrtl::OpAnnoTarget Struct Reference

This represents an annotation targeting a specific operation. More...

#include <FIRRTLAnnotations.h>

Inheritance diagram for circt::firrtl::OpAnnoTarget:
Collaboration diagram for circt::firrtl::OpAnnoTarget:

Public Member Functions

 OpAnnoTarget (Operation *op)
AnnotationSet getAnnotations () const
void setAnnotations (AnnotationSet annotations) const
Attribute getNLAReference (hw::InnerSymbolNamespace &moduleNamespace) const
FIRRTLType getType () const
 AnnoTarget (detail::AnnoTargetImpl impl=nullptr)
Public Member Functions inherited from circt::firrtl::AnnoTarget
 AnnoTarget (detail::AnnoTargetImpl impl=nullptr)
 operator bool () const
bool operator== (const AnnoTarget &other) const
bool operator!= (const AnnoTarget &other) const
Operation * getOp () const
void setOp (Operation *op)
AnnotationSet getAnnotations () const
 Get the annotations associated with the target.
void setAnnotations (AnnotationSet annotations) const
 Set the annotations associated with the target.
FModuleLike getModule () const
 Get the parent module of the target.
Attribute getNLAReference (hw::InnerSymbolNamespace &moduleNamespace) const
 Get a reference to this target suitable for use in an NLA.
FIRRTLType getType () const
 Get the type of the target.
detail::AnnoTargetImpl getImpl () const

Static Public Member Functions

static bool classof (const AnnoTarget &annoTarget)

Additional Inherited Members

Protected Attributes inherited from circt::firrtl::AnnoTarget
detail::AnnoTargetImpl impl

Detailed Description

This represents an annotation targeting a specific operation.

Definition at line 403 of file FIRRTLAnnotations.h.

Constructor & Destructor Documentation

◆ OpAnnoTarget()

circt::firrtl::OpAnnoTarget::OpAnnoTarget ( Operation * op)
inline

Definition at line 406 of file FIRRTLAnnotations.h.

References AnnoTarget().

Member Function Documentation

◆ AnnoTarget()

Definition at line 372 of file FIRRTLAnnotations.h.

Referenced by classof(), and OpAnnoTarget().

◆ classof()

bool circt::firrtl::OpAnnoTarget::classof ( const AnnoTarget & annoTarget)
inlinestatic

◆ getAnnotations()

AnnotationSet OpAnnoTarget::getAnnotations ( ) const

Definition at line 479 of file FIRRTLAnnotations.cpp.

References circt::firrtl::AnnoTarget::getOp().

◆ getNLAReference()

Attribute OpAnnoTarget::getNLAReference ( hw::InnerSymbolNamespace & moduleNamespace) const

◆ getType()

FIRRTLType OpAnnoTarget::getType ( ) const

◆ setAnnotations()

void OpAnnoTarget::setAnnotations ( AnnotationSet annotations) const

The documentation for this struct was generated from the following files: