CIRCT
20.0.0git
|
Base class for Intrinsic Converters. More...
#include <FIRRTLIntrinsics.h>
Public Member Functions | |
virtual | ~IntrinsicConverter ()=default |
virtual bool | check (GenericIntrinsic gi)=0 |
Checks whether the intrinsic is well-formed. More... | |
virtual void | convert (GenericIntrinsic gi, GenericIntrinsicOpAdaptor adaptor, PatternRewriter &rewriter)=0 |
Transform the intrinsic to its implementation. More... | |
Base class for Intrinsic Converters.
Intrinsic converters contain validation logic, along with a converter method to transform generic intrinsic ops to their implementation.
Definition at line 191 of file FIRRTLIntrinsics.h.
|
virtualdefault |
|
pure virtual |
Checks whether the intrinsic is well-formed.
This or's multiple ParseResults together, returning true on failure.
|
pure virtual |
Transform the intrinsic to its implementation.
Implemented in circt::firrtl::IntrinsicOpConverter< OpTy >.