#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "circt/Dialect/SV/SVEnums.h.inc"
#include "circt/Dialect/SV/SVAttributes.h.inc"
Go to the source code of this file.
|
namespace | circt |
| The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
|
|
namespace | circt::sv |
|
|
bool | circt::sv::hasSVAttributes (mlir::Operation *op) |
| Helper functions to handle SV attributes.
|
|
mlir::ArrayAttr | circt::sv::getSVAttributes (mlir::Operation *op) |
| Return all the SV attributes of an operation, or null if there are none.
|
|
void | circt::sv::setSVAttributes (mlir::Operation *op, mlir::ArrayAttr attrs) |
| Set the SV attributes of an operation.
|
|
void | circt::sv::setSVAttributes (mlir::Operation *op, mlir::ArrayRef< SVAttributeAttr > attrs) |
| Set the SV attributes of an operation.
|
|
bool | circt::sv::hasSVAttribute (mlir::Operation *op, SVAttributeAttr attr) |
| Check if an op contains a specific SV attribute.
|
|
bool | circt::sv::modifySVAttributes (mlir::Operation *op, llvm::function_ref< void(llvm::SmallVectorImpl< SVAttributeAttr > &)> modifyCallback) |
| Modify the list of SV attributes of an operation.
|
|
unsigned | circt::sv::addSVAttributes (mlir::Operation *op, llvm::ArrayRef< SVAttributeAttr > attrs) |
| Add a list of SV attributes to an operation.
|
|
unsigned | circt::sv::removeSVAttributes (mlir::Operation *op, llvm::function_ref< bool(SVAttributeAttr)> removeCallback) |
| Remove the SV attributes from an operation for which removeCallback returns true.
|
|
unsigned | circt::sv::removeSVAttributes (mlir::Operation *op, llvm::ArrayRef< SVAttributeAttr > attrs) |
| Remove a list of SV attributes from an operation.
|
|
◆ GET_ATTRDEF_CLASSES
#define GET_ATTRDEF_CLASSES |