CIRCT  19.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
HWOps.h File Reference
#include "circt/Dialect/HW/HWDialect.h"
#include "circt/Dialect/HW/HWEnums.h"
#include "circt/Dialect/HW/HWOpInterfaces.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Support/BuilderUtils.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/RegionKindInterface.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "llvm/ADT/StringExtras.h"
#include "circt/Dialect/HW/HW.h.inc"
Include dependency graph for HWOps.h:

Go to the source code of this file.

Classes

class  circt::hw::HWModulePortAccessor
 

Namespaces

 circt
 This file defines an intermediate representation for circuits acting as an abstraction for constraints defined over an SMT's solver context.
 
 circt::hw
 

Macros

#define GET_OP_CLASSES
 

Typedefs

using circt::hw::HWModuleBuilder = llvm::function_ref< void(OpBuilder &, HWModulePortAccessor &)>
 

Functions

ModulePort::Direction circt::hw::flip (ModulePort::Direction direction)
 Flip a port direction. More...
 
bool circt::hw::isAnyModuleOrInstance (Operation *module)
 TODO: Move all these functions to a hw::ModuleLike interface. More...
 
FunctionType circt::hw::getModuleType (Operation *module)
 Return the signature for the specified module as a function type. More...
 
StringAttr circt::hw::getVerilogModuleNameAttr (Operation *module)
 Returns the verilog module name attribute or symbol name of any module-like operations. More...
 
StringRef circt::hw::getVerilogModuleName (Operation *module)
 
bool circt::hw::isValidIndexBitWidth (Value index, Value array)
 
bool circt::hw::isCombinational (Operation *op)
 Return true if the specified operation is a combinational logic op. More...
 
bool circt::hw::isValidParameterExpression (Attribute attr, Operation *module)
 Return true if the specified attribute tree is made up of nodes that are valid in a parameter expression. More...
 
LogicalResult circt::hw::checkParameterInContext (Attribute value, Operation *module, Operation *usingOp, bool disallowParamRefs=false)
 Check parameter specified by value to see if it is valid within the scope of the specified module module. More...
 
LogicalResult circt::hw::checkParameterInContext (Attribute value, ArrayAttr moduleParameters, const std::function< void(std::function< bool(InFlightDiagnostic &)>)> &instanceError, bool disallowParamRefs=false)
 Check parameter specified by value to see if it is valid according to the module's parameters. More...
 
bool circt::hw::isOffset (Value base, Value index, uint64_t offset)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 127 of file HWOps.h.