CIRCT  20.0.0git
Namespaces | Macros | Functions
LockFunctions.cpp File Reference
#include "circt/Dialect/Handshake/HandshakeOps.h"
#include "circt/Dialect/Handshake/HandshakePasses.h"
#include "circt/Support/BackedgeBuilder.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Rewrite/FrozenRewritePatternSet.h"
#include "mlir/Transforms/DialectConversion.h"
#include "circt/Dialect/Handshake/HandshakePasses.h.inc"
Include dependency graph for LockFunctions.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GEN_PASS_DEF_HANDSHAKELOCKFUNCTIONS
 

Functions

static LogicalResult lockRegion (Region &r, OpBuilder &rewriter)
 Adds a locking mechanism around the region. More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_HANDSHAKELOCKFUNCTIONS

#define GEN_PASS_DEF_HANDSHAKELOCKFUNCTIONS

Definition at line 23 of file LockFunctions.cpp.

Function Documentation

◆ lockRegion()

static LogicalResult lockRegion ( Region &  r,
OpBuilder &  rewriter 
)
static

Adds a locking mechanism around the region.

Definition at line 33 of file LockFunctions.cpp.

References circt::BackedgeBuilder::get().