|
CIRCT 24.0.0git
|
Resource types are distinguished by name (chosen by the client). More...
#include <Problems.h>

Public Member Functions | |
| ResourceType ()=default | |
| ResourceType (mlir::StringAttr attr) | |
| mlir::StringAttr | getAttr () const |
| mlir::StringRef | getValue () const |
| std::string | str () const |
| bool | operator!= (const ResourceType &rhs) const |
Static Public Member Functions | |
| static ResourceType | get (mlir::MLIRContext *ctx, llvm::StringRef name) |
Public Attributes | |
| mlir::StringAttr | attr |
Friends | |
| bool | operator== (const ResourceType &lhs, const ResourceType &rhs) |
Resource types are distinguished by name (chosen by the client).
Definition at line 120 of file Problems.h.
|
default |
Referenced by get(), operator!=(), and operator==.
|
inline |
Definition at line 124 of file Problems.h.
References attr.
|
inlinestatic |
Definition at line 126 of file Problems.h.
References circt::scheduling::Problem::name, and ResourceType().
Referenced by circt::scheduling::Problem::getOrInsertResourceType().
|
inline |
Definition at line 130 of file Problems.h.
References attr.
Referenced by circt::scheduling::scheduleCPSAT().
|
inline |
Definition at line 132 of file Problems.h.
References attr.
Referenced by circt::ssp::loadResourceType(), circt::scheduling::ModuloProblem::verifyUtilization(), and circt::scheduling::SharedOperatorsProblem::verifyUtilization().
|
inline |
Definition at line 139 of file Problems.h.
References ResourceType().
|
inline |
Definition at line 134 of file Problems.h.
References attr.
|
friend |
Definition at line 136 of file Problems.h.
References attr, and ResourceType().
| mlir::StringAttr circt::scheduling::Problem::ResourceType::attr |
Definition at line 121 of file Problems.h.
Referenced by getAttr(), llvm::DenseMapInfo< circt::scheduling::Problem::ResourceType >::getHashValue(), getValue(), llvm::DenseMapInfo< circt::scheduling::Problem::ResourceType >::isEqual(), operator==, ResourceType(), and str().