CIRCT  20.0.0git
Classes | Typedefs | Functions
circt::hw::detail Namespace Reference

Classes

struct  ModuleTypeStorage
 
struct  FieldInfo
 Struct defining a field. Used in structs. More...
 
struct  OffsetFieldInfo
 Struct defining a field with an offset. Used in unions. More...
 

Typedefs

using HWOperation = mlir::Operation
 

Functions

LogicalResult verifyInnerRefNamespace (Operation *op)
 
ModuleType fnToMod (Operation *op, ArrayRef< Attribute > inputNames, ArrayRef< Attribute > outputNames)
 
ModuleType fnToMod (FunctionType fn, ArrayRef< Attribute > inputNames, ArrayRef< Attribute > outputNames)
 
bool operator== (const FieldInfo &a, const FieldInfo &b)
 
llvm::hash_code hash_value (const FieldInfo &fi)
 
bool operator== (const OffsetFieldInfo &a, const OffsetFieldInfo &b)
 
llvm::hash_code hash_value (const OffsetFieldInfo &fi)
 

Typedef Documentation

◆ HWOperation

using circt::hw::detail::HWOperation = typedef mlir::Operation

Definition at line 34 of file HWModuleGraph.h.

Function Documentation

◆ fnToMod() [1/2]

ModuleType circt::hw::detail::fnToMod ( FunctionType  fn,
ArrayRef< Attribute >  inputNames,
ArrayRef< Attribute >  outputNames 
)

Definition at line 1031 of file HWTypes.cpp.

References InOut, and Input.

◆ fnToMod() [2/2]

ModuleType circt::hw::detail::fnToMod ( Operation *  op,
ArrayRef< Attribute >  inputNames,
ArrayRef< Attribute >  outputNames 
)

Definition at line 1023 of file HWTypes.cpp.

Referenced by modifyModulePorts().

◆ hash_value() [1/2]

llvm::hash_code circt::hw::detail::hash_value ( const FieldInfo fi)

Definition at line 244 of file HWTypes.cpp.

◆ hash_value() [2/2]

llvm::hash_code circt::hw::detail::hash_value ( const OffsetFieldInfo fi)

Definition at line 437 of file HWTypes.cpp.

◆ operator==() [1/2]

bool circt::hw::detail::operator== ( const FieldInfo a,
const FieldInfo b 
)

Definition at line 241 of file HWTypes.cpp.

◆ operator==() [2/2]

bool circt::hw::detail::operator== ( const OffsetFieldInfo a,
const OffsetFieldInfo b 
)

Definition at line 433 of file HWTypes.cpp.

◆ verifyInnerRefNamespace()

LogicalResult circt::hw::detail::verifyInnerRefNamespace ( Operation *  op)