CIRCT  20.0.0git
Functions
FIRRTLAnnotations.cpp File Reference
#include "circt/Dialect/FIRRTL/FIRRTLAnnotations.h"
#include "circt/Dialect/FIRRTL/AnnotationDetails.h"
#include "circt/Dialect/FIRRTL/FIRRTLAttributes.h"
#include "circt/Dialect/FIRRTL/FIRRTLOps.h"
#include "circt/Dialect/FIRRTL/FIRRTLUtils.h"
#include "circt/Dialect/FIRRTL/Namespace.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Dialect/HW/InnerSymbolNamespace.h"
#include "mlir/IR/Operation.h"
#include "mlir/Interfaces/FunctionImplementation.h"
#include "llvm/ADT/TypeSwitch.h"
Include dependency graph for FIRRTLAnnotations.cpp:

Go to the source code of this file.

Functions

static ArrayAttr getAnnotationsFrom (Operation *op)
 
static ArrayAttr getAnnotationsFrom (ArrayRef< Annotation > annotations, MLIRContext *context)
 
static AnnotationSet forPort (Operation *op, size_t portNo)
 
static bool applyToPort (AnnotationSet annos, Operation *op, size_t portCount, size_t portNo)
 

Function Documentation

◆ applyToPort()

static bool applyToPort ( AnnotationSet  annos,
Operation *  op,
size_t  portCount,
size_t  portNo 
)
static

◆ forPort()

static AnnotationSet forPort ( Operation *  op,
size_t  portNo 
)
static

◆ getAnnotationsFrom() [1/2]

static ArrayAttr getAnnotationsFrom ( ArrayRef< Annotation annotations,
MLIRContext *  context 
)
static

Definition at line 34 of file FIRRTLAnnotations.cpp.

References circt::calyx::direction::get().

◆ getAnnotationsFrom() [2/2]

static ArrayAttr getAnnotationsFrom ( Operation *  op)
static