CIRCT 24.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
StripDomains.cpp File Reference
#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"
Include dependency graph for StripDomains.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_STRIPDOMAINS
 

Functions

static LogicalResult stripModuleImpl (FModuleLike op, llvm::function_ref< bool(StringAttr)> shouldStripDomain)
 A helper for stripping domains from a module based on a predicate.
 

Macro Definition Documentation

◆ GEN_PASS_DEF_STRIPDOMAINS

#define GEN_PASS_DEF_STRIPDOMAINS

Definition at line 17 of file StripDomains.cpp.

Function Documentation

◆ stripModuleImpl()

static 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.