CIRCT  20.0.0git
Public Member Functions | Protected Attributes | List of all members
circt::firrtl::detail::AnnoTargetImpl Struct Reference

#include <FIRRTLAnnotations.h>

Collaboration diagram for circt::firrtl::detail::AnnoTargetImpl:
Collaboration graph
[legend]

Public Member Functions

 AnnoTargetImpl (Operation *op)
 
 AnnoTargetImpl (Operation *op, unsigned portNo)
 
 operator bool () const
 
bool operator== (const AnnoTargetImpl &other) const
 
bool operator!= (const AnnoTargetImpl &other) const
 
bool isPort () const
 
bool isOp () const
 
Operation * getOp () const
 
void setOp (Operation *op)
 
unsigned getPortNo () const
 
void setPortNo (unsigned portNo)
 

Protected Attributes

Operation * op
 
size_t portNo
 

Detailed Description

Definition at line 353 of file FIRRTLAnnotations.h.

Constructor & Destructor Documentation

◆ AnnoTargetImpl() [1/2]

circt::firrtl::detail::AnnoTargetImpl::AnnoTargetImpl ( Operation *  op)
inline

Definition at line 354 of file FIRRTLAnnotations.h.

◆ AnnoTargetImpl() [2/2]

circt::firrtl::detail::AnnoTargetImpl::AnnoTargetImpl ( Operation *  op,
unsigned  portNo 
)
inline

Definition at line 356 of file FIRRTLAnnotations.h.

Member Function Documentation

◆ getOp()

Operation* circt::firrtl::detail::AnnoTargetImpl::getOp ( ) const
inline

Definition at line 369 of file FIRRTLAnnotations.h.

References op.

Referenced by circt::firrtl::AnnoTarget::getOp(), and operator bool().

◆ getPortNo()

unsigned circt::firrtl::detail::AnnoTargetImpl::getPortNo ( ) const
inline

Definition at line 372 of file FIRRTLAnnotations.h.

References portNo.

Referenced by circt::firrtl::PortAnnoTarget::getPortNo().

◆ isOp()

bool circt::firrtl::detail::AnnoTargetImpl::isOp ( ) const
inline

Definition at line 367 of file FIRRTLAnnotations.h.

References op, and portNo.

Referenced by circt::firrtl::OpAnnoTarget::classof().

◆ isPort()

bool circt::firrtl::detail::AnnoTargetImpl::isPort ( ) const
inline

Definition at line 366 of file FIRRTLAnnotations.h.

References op, and portNo.

Referenced by circt::firrtl::PortAnnoTarget::classof().

◆ operator bool()

circt::firrtl::detail::AnnoTargetImpl::operator bool ( ) const
inline

Definition at line 358 of file FIRRTLAnnotations.h.

References getOp().

◆ operator!=()

bool circt::firrtl::detail::AnnoTargetImpl::operator!= ( const AnnoTargetImpl other) const
inline

Definition at line 362 of file FIRRTLAnnotations.h.

◆ operator==()

bool circt::firrtl::detail::AnnoTargetImpl::operator== ( const AnnoTargetImpl other) const
inline

Definition at line 359 of file FIRRTLAnnotations.h.

References op, and portNo.

◆ setOp()

void circt::firrtl::detail::AnnoTargetImpl::setOp ( Operation *  op)
inline

Definition at line 370 of file FIRRTLAnnotations.h.

References op.

Referenced by circt::firrtl::AnnoTarget::setOp().

◆ setPortNo()

void circt::firrtl::detail::AnnoTargetImpl::setPortNo ( unsigned  portNo)
inline

Definition at line 373 of file FIRRTLAnnotations.h.

References portNo.

Referenced by circt::firrtl::PortAnnoTarget::setPortNo().

Member Data Documentation

◆ op

Operation* circt::firrtl::detail::AnnoTargetImpl::op
protected

Definition at line 376 of file FIRRTLAnnotations.h.

Referenced by getOp(), isOp(), isPort(), operator==(), and setOp().

◆ portNo

size_t circt::firrtl::detail::AnnoTargetImpl::portNo
protected

Definition at line 377 of file FIRRTLAnnotations.h.

Referenced by getPortNo(), isOp(), isPort(), operator==(), and setPortNo().


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