CIRCT 24.0.0git
Loading...
Searching...
No Matches
MemberAccessEmitter Struct Reference

Emit a systemc.cpp.member_access operation. More...

Inheritance diagram for MemberAccessEmitter:
Collaboration diagram for MemberAccessEmitter:

Public Member Functions

MatchResult matchInlinable (Value value) override
 Checks if this pattern is applicable to the given value to emit an inlinable expression.
void emitInlined (Value value, EmissionPrinter &p) override
 OpEmissionPattern (MLIRContext *context)
Public Member Functions inherited from circt::ExportSystemC::OpEmissionPattern< MemberAccessOp >
 OpEmissionPattern (MLIRContext *context)
void emitStatement (mlir::Operation *op, EmissionPrinter &p) final
 Emit zero or more statements for the given operation.
MatchResult matchInlinable (Value value) override
 Checks if this pattern is applicable to the given value to emit an inlinable expression.
bool matchStatement (mlir::Operation *op) override
 Checks if this pattern is applicable to the given operation for statement emission.
void emitInlined (mlir::Value value, EmissionPrinter &p) override
 Emit the expression for the given value.
Public Member Functions inherited from circt::ExportSystemC::OpEmissionPatternBase
 OpEmissionPatternBase (StringRef operationName, MLIRContext *context)
virtual ~OpEmissionPatternBase ()=default
Public Member Functions inherited from circt::ExportSystemC::PatternBase
 PatternBase (const void *rootValue)
const void * getRootValue () const
 Get a unique identifier for the C++ type the pattern is matching on.

Additional Inherited Members

Static Public Member Functions inherited from circt::ExportSystemC::PatternBase
template<typename E, typename... Args>
static std::unique_ptr< E > create (Args &&...args)

Detailed Description

Emit a systemc.cpp.member_access operation.

Definition at line 292 of file SystemCEmissionPatterns.cpp.

Member Function Documentation

◆ emitInlined()

◆ matchInlinable()

MatchResult MemberAccessEmitter::matchInlinable ( Value value)
inlineoverridevirtual

Checks if this pattern is applicable to the given value to emit an inlinable expression.

Additionally returns information such as the precedence to the pattern where this pattern's result is to be inlined.

Implements circt::ExportSystemC::OpEmissionPatternBase.

Definition at line 295 of file SystemCEmissionPatterns.cpp.

References circt::ExportSystemC::MEMBER_ACCESS.

◆ OpEmissionPattern()

circt::ExportSystemC::OpEmissionPattern< Op >::OpEmissionPattern ( MLIRContext * context)
inlineexplicit

Definition at line 169 of file EmissionPattern.h.


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