CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::ImportVerilog::FunctionLowering Struct Reference

Function lowering information. More...

#include <ImportVerilogInternals.h>

Collaboration diagram for circt::ImportVerilog::FunctionLowering:

Public Member Functions

 FunctionLowering (mlir::FunctionOpInterface op)

Public Attributes

mlir::FunctionOpInterface op
SmallVector< const slang::ast::ValueSymbol *, 4 > capturedSymbols
 The AST symbols captured by this function, determined by the capture analysis pre-pass.

Detailed Description

Function lowering information.

The op field holds either a func::FuncOp (for SystemVerilog functions), a moore::CoroutineOp (for tasks), or a moore::DPIFuncOp (for DPI-imported functions), all accessed through the FunctionOpInterface.

Definition at line 129 of file ImportVerilogInternals.h.

Constructor & Destructor Documentation

◆ FunctionLowering()

circt::ImportVerilog::FunctionLowering::FunctionLowering ( mlir::FunctionOpInterface op)
inlineexplicit

Definition at line 137 of file ImportVerilogInternals.h.

References op.

Member Data Documentation

◆ capturedSymbols

SmallVector<const slang::ast::ValueSymbol *, 4> circt::ImportVerilog::FunctionLowering::capturedSymbols

The AST symbols captured by this function, determined by the capture analysis pre-pass.

These are added as extra parameters to the function during declaration.

Definition at line 135 of file ImportVerilogInternals.h.

◆ op

mlir::FunctionOpInterface circt::ImportVerilog::FunctionLowering::op

Definition at line 130 of file ImportVerilogInternals.h.

Referenced by FunctionLowering().


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