CIRCT  20.0.0git
Classes | Namespaces | Macros | Enumerations | Functions | Variables
CalyxOps.h File Reference
#include "circt/Dialect/Calyx/CalyxDialect.h"
#include "circt/Dialect/HW/HWOps.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/RegionKindInterface.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "circt/Dialect/Calyx/CalyxInterfaces.h.inc"
#include "circt/Dialect/Calyx/Calyx.h.inc"
Include dependency graph for CalyxOps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::calyx::ControlLike< ConcreteType >
 Signals that the following operation is "control-like.". More...
 
class  circt::calyx::Combinational< ConcreteType >
 Signals that the following operation is combinational. More...
 
struct  circt::calyx::PortInfo
 This holds information about the port for either a Component or Cell. More...
 

Namespaces

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

Macros

#define GET_OP_CLASSES
 

Enumerations

enum class  circt::calyx::FloatingPointStandard { circt::calyx::IEEE754 }
 
enum  circt::calyx::Direction { circt::calyx::Input = 0 , circt::calyx::Output = 1 }
 The direction of a Component or Cell port. More...
 

Functions

LogicalResult circt::calyx::verifyControlLikeOp (Operation *op)
 A helper function to verify each control-like operation has a valid parent and, if applicable, body. More...
 
LogicalResult circt::calyx::verifyCombinationalOp (Operation *op)
 A helper function to verify a combinational operation. More...
 
Direction circt::calyx::direction::get (bool isOutput)
 Returns an output direction if isOutput is true, otherwise returns an input direction. More...
 
IntegerAttr circt::calyx::direction::packAttribute (MLIRContext *context, size_t nIns, size_t nOuts)
 Returns an IntegerAttr containing the packed representation of the direction counts. More...
 
LogicalResult circt::calyx::verifyComponent (Operation *op)
 A helper function to verify each operation with the Ccomponent trait. More...
 
LogicalResult circt::calyx::verifyCell (Operation *op)
 A helper function to verify each operation with the Cell trait. More...
 
LogicalResult circt::calyx::verifyGroupInterface (Operation *op)
 A helper function to verify each operation with the Group Interface trait. More...
 
LogicalResult circt::calyx::verifyIf (Operation *op)
 A helper function to verify each operation with the If trait. More...
 
PortInfo circt::calyx::getPortInfo (BlockArgument arg)
 Returns port information for the block argument provided. More...
 

Variables

static constexpr std::string_view circt::calyx::goPort = "go"
 
static constexpr std::string_view circt::calyx::donePort = "done"
 
static constexpr std::string_view circt::calyx::resetPort = "reset"
 
static constexpr std::string_view circt::calyx::clkPort = "clk"
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 145 of file CalyxOps.h.