CIRCT
20.0.0git
|
#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"
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) |
|
static |
Definition at line 96 of file FIRRTLAnnotations.cpp.
References assert(), circt::calyx::direction::get(), circt::firrtl::AnnotationSet::getArrayAttr(), and circt::firrtl::getPortAnnotationAttrName().
Referenced by circt::firrtl::AnnotationSet::applyToPort().
|
static |
Definition at line 63 of file FIRRTLAnnotations.cpp.
References circt::calyx::direction::get(), and circt::firrtl::getPortAnnotationAttrName().
Referenced by circt::firrtl::AnnotationSet::forPort().
|
static |
Definition at line 34 of file FIRRTLAnnotations.cpp.
References circt::calyx::direction::get().
|
static |
Definition at line 28 of file FIRRTLAnnotations.cpp.
References circt::calyx::direction::get(), and circt::firrtl::getAnnotationsIfPresent().