CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
circt::ImportVerilog::FunctionLowering Struct Reference

Function lowering information. More...

#include <ImportVerilogInternals.h>

Collaboration diagram for circt::ImportVerilog::FunctionLowering:
Collaboration graph
[legend]

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 100 of file ImportVerilogInternals.h.

Constructor & Destructor Documentation

◆ FunctionLowering()

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

Definition at line 108 of file ImportVerilogInternals.h.

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 106 of file ImportVerilogInternals.h.

◆ op

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

Definition at line 101 of file ImportVerilogInternals.h.


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