CIRCT
20.0.0git
|
#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.
Namespaces | |
circt | |
The InstanceGraph op interface, see InstanceGraphInterface.td for more details. | |
circt::sv | |
Macros | |
#define | GET_ATTRDEF_CLASSES |
Functions | |
bool | circt::sv::hasSVAttributes (mlir::Operation *op) |
Helper functions to handle SV attributes. More... | |
mlir::ArrayAttr | circt::sv::getSVAttributes (mlir::Operation *op) |
Return all the SV attributes of an operation, or null if there are none. More... | |
void | circt::sv::setSVAttributes (mlir::Operation *op, mlir::ArrayAttr attrs) |
Set the SV attributes of an operation. More... | |
void | circt::sv::setSVAttributes (mlir::Operation *op, mlir::ArrayRef< SVAttributeAttr > attrs) |
Set the SV attributes of an operation. More... | |
bool | circt::sv::hasSVAttribute (mlir::Operation *op, SVAttributeAttr attr) |
Check if an op contains a specific SV attribute. More... | |
bool | circt::sv::modifySVAttributes (mlir::Operation *op, llvm::function_ref< void(llvm::SmallVectorImpl< SVAttributeAttr > &)> modifyCallback) |
Modify the list of SV attributes of an operation. More... | |
unsigned | circt::sv::addSVAttributes (mlir::Operation *op, llvm::ArrayRef< SVAttributeAttr > attrs) |
Add a list of SV attributes to an operation. More... | |
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. More... | |
unsigned | circt::sv::removeSVAttributes (mlir::Operation *op, llvm::ArrayRef< SVAttributeAttr > attrs) |
Remove a list of SV attributes from an operation. More... | |
#define GET_ATTRDEF_CLASSES |
Definition at line 19 of file SVAttributes.h.