CIRCT  19.0.0git
Static Public Member Functions | List of all members
circt::hw::InnerRefNamespaceLike Struct Reference

Classify operations that are InnerRefNamespace-like, until structure is in place to do this via Traits. More...

#include <HWOpInterfaces.h>

Static Public Member Functions

static bool classof (mlir::Operation *op)
 Return if this operation is explicitly an IRN or appears compatible. More...
 
static bool classof (const mlir::RegisteredOperationName *opInfo)
 Return if this operation is explicitly an IRN or appears compatible. More...
 

Detailed Description

Classify operations that are InnerRefNamespace-like, until structure is in place to do this via Traits.

Useful for getParentOfType<>, or scheduling passes. Prefer putting the trait on operations here or downstream.

Definition at line 43 of file HWOpInterfaces.h.

Member Function Documentation

◆ classof() [1/2]

bool circt::hw::InnerRefNamespaceLike::classof ( const mlir::RegisteredOperationName *  opInfo)
static

Return if this operation is explicitly an IRN or appears compatible.

Definition at line 263 of file InnerSymbolTable.cpp.

◆ classof() [2/2]

bool circt::hw::InnerRefNamespaceLike::classof ( mlir::Operation *  op)
static

Return if this operation is explicitly an IRN or appears compatible.

Definition at line 258 of file InnerSymbolTable.cpp.


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