CIRCT  20.0.0git
Classes | Namespaces | Functions
ModuleImplementation.h File Reference
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Support/LLVM.h"
#include "mlir/IR/DialectImplementation.h"
Include dependency graph for ModuleImplementation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  circt::hw::module_like_impl::PortParse
 

Namespaces

 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::hw
 
 

Functions

ParseResult circt::hw::module_like_impl::parseModuleFunctionSignature (OpAsmParser &parser, bool &isVariadic, SmallVectorImpl< OpAsmParser::Argument > &args, SmallVectorImpl< Attribute > &argNames, SmallVectorImpl< Attribute > &argLocs, SmallVectorImpl< Attribute > &resultNames, SmallVectorImpl< DictionaryAttr > &resultAttrs, SmallVectorImpl< Attribute > &resultLocs, TypeAttr &type)
 This is a variant of mlir::parseFunctionSignature that allows names on result arguments. More...
 
void circt::hw::module_like_impl::printModuleSignature (OpAsmPrinter &p, Operation *op, ArrayRef< Type > argTypes, bool isVariadic, ArrayRef< Type > resultTypes, bool &needArgNamesAttr)
 Print a module signature with named results. More...
 
ParseResult circt::hw::module_like_impl::parseModuleSignature (OpAsmParser &parser, SmallVectorImpl< PortParse > &args, TypeAttr &modType)
 New Style parsing. More...
 
void circt::hw::module_like_impl::printModuleSignatureNew (OpAsmPrinter &p, Region &body, hw::ModuleType modType, ArrayRef< Attribute > portAttrs, ArrayRef< Location > locAttrs)
 
void circt::hw::module_like_impl::printModuleSignatureNew (OpAsmPrinter &p, HWModuleLike op)
 
void circt::hw::module_like_impl::getAsmBlockArgumentNamesImpl (mlir::Region &region, OpAsmSetValueNameFn setNameFn)
 Get a special name to use when printing the entry block arguments of the region contained by an operation in this dialect. More...
 
SmallVector< Location > circt::hw::module_like_impl::getAllPortLocsImpl (hw::ModuleType modType)