CIRCT 20.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
SVAttributes.h File Reference
#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"
Include dependency graph for SVAttributes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
namespace  circt::sv
 

Macros

#define GET_ATTRDEF_CLASSES
 

Functions

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.
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 19 of file SVAttributes.h.