CIRCT  20.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 45 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 264 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 259 of file InnerSymbolTable.cpp.


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