CIRCT  20.0.0git
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
circt::OpUserInfo Struct Reference

#include <FirRegLowering.h>

Collaboration diagram for circt::OpUserInfo:
Collaboration graph
[legend]

Public Types

using ValidUsersIterator = llvm::filter_iterator< Operation::user_iterator, std::function< bool(const Operation *)> >
 

Public Member Functions

 OpUserInfo (Operation *op)
 
bool getAndSetUnvisited ()
 

Public Attributes

Operation * op
 
ValidUsersIterator userIter
 
ValidUsersIterator userEnd
 

Static Public Attributes

static std::function< bool(const Operation *op)> opAllowsReachability
 

Private Attributes

bool unvisited = true
 

Detailed Description

Definition at line 48 of file FirRegLowering.h.

Member Typedef Documentation

◆ ValidUsersIterator

using circt::OpUserInfo::ValidUsersIterator = llvm::filter_iterator<Operation::user_iterator, std::function<bool(const Operation *)> >

Definition at line 50 of file FirRegLowering.h.

Constructor & Destructor Documentation

◆ OpUserInfo()

circt::OpUserInfo::OpUserInfo ( Operation *  op)
inline

Definition at line 57 of file FirRegLowering.h.

Member Function Documentation

◆ getAndSetUnvisited()

bool circt::OpUserInfo::getAndSetUnvisited ( )
inline

Definition at line 63 of file FirRegLowering.h.

Member Data Documentation

◆ op

Operation* circt::OpUserInfo::op

Definition at line 49 of file FirRegLowering.h.

◆ opAllowsReachability

std::function< bool(const Operation *op)> OpUserInfo::opAllowsReachability
static
Initial value:
=
[](const Operation *op) -> bool {
return (isa<comb::MuxOp, ArrayGetOp, ArrayCreateOp>(op));
}

Definition at line 55 of file FirRegLowering.h.

Referenced by circt::ReachableMuxes::buildReachabilityFrom().

◆ unvisited

bool circt::OpUserInfo::unvisited = true
private

Definition at line 72 of file FirRegLowering.h.

◆ userEnd

ValidUsersIterator circt::OpUserInfo::userEnd

Definition at line 54 of file FirRegLowering.h.

◆ userIter

ValidUsersIterator circt::OpUserInfo::userIter

Definition at line 54 of file FirRegLowering.h.


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