CIRCT  19.0.0git
Namespaces | Macros | Enumerations | Functions
FIRRTLAttributes.h File Reference
#include "circt/Dialect/FIRRTL/FIRRTLDialect.h"
#include "circt/Support/LLVM.h"
#include "circt/Dialect/FIRRTL/FIRRTLAttributes.h.inc"
Include dependency graph for FIRRTLAttributes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Macros

#define GET_ATTRDEF_CLASSES
 

Enumerations

enum class  circt::firrtl::Direction { circt::firrtl::In , circt::firrtl::Out }
 This represents the direction of a single port. More...
 

Functions

llvm::raw_ostream & circt::firrtl::operator<< (llvm::raw_ostream &os, const Direction &dir)
 Prints the Direction to the stream as either "in" or "out". More...
 
static Direction circt::firrtl::direction::get (bool isOutput)
 Return an output direction if isOutput is true, otherwise return an input direction. More...
 
static bool circt::firrtl::direction::unGet (Direction dir)
 Convert from Direction to bool. The opposite of get;. More...
 
Direction circt::firrtl::direction::flip (Direction direction)
 Flip a port direction. More...
 
static StringRef circt::firrtl::direction::toString (Direction direction)
 
static StringRef circt::firrtl::direction::toString (bool direction)
 
mlir::DenseBoolArrayAttr circt::firrtl::direction::packAttribute (MLIRContext *context, ArrayRef< Direction > directions)
 Return a DenseBoolArrayAttr containing the packed representation of an array of directions. More...
 
mlir::DenseBoolArrayAttr circt::firrtl::direction::packAttribute (MLIRContext *context, ArrayRef< bool > directions)
 Return a DenseBoolArrayAttr containing the packed representation of an array of directions. More...
 
SmallVector< Directioncirct::firrtl::direction::unpackAttribute (mlir::DenseBoolArrayAttr directions)
 Turn a packed representation of port attributes into a vector that can be worked with. More...
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 70 of file FIRRTLAttributes.h.