#include "circt/Dialect/FIRRTL/Passes.h"
#include "mlir/IR/Iterators.h"
#include "mlir/IR/Threading.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/FIRRTL/Passes.h.inc"
Go to the source code of this file.
|
| static LogicalResult | stripModuleImpl (FModuleLike op, llvm::function_ref< bool(StringAttr)> shouldStripDomain) |
| | A helper for stripping domains from a module based on a predicate.
|
◆ GEN_PASS_DEF_STRIPDOMAINS
| #define GEN_PASS_DEF_STRIPDOMAINS |
◆ stripModuleImpl()
| LogicalResult stripModuleImpl |
( |
FModuleLike | op, |
|
|
llvm::function_ref< bool(StringAttr)> | shouldStripDomain ) |
|
static |
A helper for stripping domains from a module based on a predicate.
The predicate takes a domain name and returns true if that domain should be stripped.
Definition at line 31 of file StripDomains.cpp.
References concat(), and failure().