|
CIRCT 22.0.0git
|
#include "ImportVerilogInternals.h"#include "slang/ast/Compilation.h"#include "slang/ast/symbols/ClassSymbols.h"#include "llvm/ADT/ScopeExit.h"
Go to the source code of this file.
Functions | |
| static void | guessNamespacePrefix (const slang::ast::Symbol &symbol, SmallString< 64 > &prefix) |
| static moore::ProcedureKind | convertProcedureKind (slang::ast::ProceduralBlockKind kind) |
| static moore::NetKind | convertNetKind (slang::ast::NetType::NetKind kind) |
| static FunctionType | getFunctionSignature (Context &context, const slang::ast::SubroutineSymbol &subroutine, llvm::SmallVectorImpl< Type > &extraParams) |
| Helper function to generate the function signature from a SubroutineSymbol and optional extra arguments (used for this argument) | |
| static LogicalResult | rewriteCallSitesToPassCaptures (mlir::func::FuncOp callee, ArrayRef< Value > captures) |
| Special case handling for recursive functions with captures; this function fixes the in-body call of the recursive function with the captured arguments. | |
|
static |
Definition at line 218 of file Structure.cpp.
|
static |
Definition at line 200 of file Structure.cpp.
|
static |
Helper function to generate the function signature from a SubroutineSymbol and optional extra arguments (used for this argument)
Definition at line 1068 of file Structure.cpp.
References circt::ImportVerilog::Context::convertType(), and circt::ImportVerilog::Context::getContext().
Referenced by circt::ImportVerilog::Context::declareCallableImpl().
|
static |
Definition at line 21 of file Structure.cpp.
References guessNamespacePrefix().
Referenced by circt::ImportVerilog::Context::convertGlobalVariable(), circt::ImportVerilog::Context::declareFunction(), and guessNamespacePrefix().
|
static |
Special case handling for recursive functions with captures; this function fixes the in-body call of the recursive function with the captured arguments.
Definition at line 1140 of file Structure.cpp.
Referenced by circt::ImportVerilog::Context::convertFunction().