CIRCT  19.0.0git
Public Member Functions | Private Attributes | List of all members
circt::hw::HWSymbolCache::Item Class Reference

#include <HWSymCache.h>

Collaboration diagram for circt::hw::HWSymbolCache::Item:
Collaboration graph
[legend]

Public Member Functions

 Item (mlir::Operation *op)
 
 Item (mlir::Operation *op, size_t port)
 
bool hasPort () const
 
size_t getPort () const
 
mlir::Operation * getOp () const
 

Private Attributes

mlir::Operation * op
 
size_t port
 

Detailed Description

Definition at line 29 of file HWSymCache.h.

Constructor & Destructor Documentation

◆ Item() [1/2]

circt::hw::HWSymbolCache::Item::Item ( mlir::Operation *  op)
inline

Definition at line 31 of file HWSymCache.h.

◆ Item() [2/2]

circt::hw::HWSymbolCache::Item::Item ( mlir::Operation *  op,
size_t  port 
)
inline

Definition at line 32 of file HWSymCache.h.

Member Function Documentation

◆ getOp()

mlir::Operation* circt::hw::HWSymbolCache::Item::getOp ( ) const
inline

Definition at line 35 of file HWSymCache.h.

References op.

◆ getPort()

size_t circt::hw::HWSymbolCache::Item::getPort ( ) const
inline

Definition at line 34 of file HWSymCache.h.

References port.

◆ hasPort()

bool circt::hw::HWSymbolCache::Item::hasPort ( ) const
inline

Definition at line 33 of file HWSymCache.h.

References port.

Member Data Documentation

◆ op

mlir::Operation* circt::hw::HWSymbolCache::Item::op
private

Definition at line 38 of file HWSymCache.h.

Referenced by getOp().

◆ port

size_t circt::hw::HWSymbolCache::Item::port
private

Definition at line 39 of file HWSymCache.h.

Referenced by getPort(), and hasPort().


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