circt
circt copied to clipboard
[ExportSystemC] Support operations from func dialect
trafficstars
Emit functions from the func dialect as regular C functions. This is useful for interop when we, e.g., want to wrap some C++ code in a C function such that a caller which does not support C++ can still call that code.
call_indirect is also especially useful for calling member functions accessed by systemc.cpp.member_access.