CIRCT
20.0.0git
|
#include "circt/Dialect/Handshake/HandshakeOps.h"
#include "circt/Dialect/Handshake/HandshakePasses.h"
#include "circt/Dialect/Handshake/HandshakeUtils.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"
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_HANDSHAKEREMOVEBUFFERS |
#define | GEN_PASS_DEF_HANDSHAKEINSERTBUFFERS |
Functions | |
static bool | shouldBufferArgument (BlockArgument arg) |
static bool | isUnbufferedChannel (Operation *definingOp, Operation *usingOp) |
static void | insertBuffer (Location loc, Value operand, OpBuilder &builder, unsigned numSlots, BufferTypeEnum bufferType) |
static void | bufferResults (OpBuilder &builder, Operation *op, unsigned numSlots, BufferTypeEnum bufferType) |
static void | bufferAllStrategy (Region &r, OpBuilder &builder, unsigned numSlots, BufferTypeEnum bufferType=BufferTypeEnum::seq) |
static bool | inCycle (Operation *src, llvm::function_ref< bool(Operation *)> breaksCycle) |
static void | bufferCyclesStrategy (Region &r, OpBuilder &builder, unsigned numSlots, BufferTypeEnum=BufferTypeEnum::seq) |
static void | bufferAllFIFOStrategy (Region &r, OpBuilder &builder, unsigned numSlots) |
static LogicalResult | bufferRegion (Region &r, OpBuilder &builder, StringRef strategy, unsigned bufferSize) |
#define GEN_PASS_DEF_HANDSHAKEINSERTBUFFERS |
Definition at line 24 of file Buffers.cpp.
#define GEN_PASS_DEF_HANDSHAKEREMOVEBUFFERS |
Definition at line 23 of file Buffers.cpp.
|
static |
Definition at line 171 of file Buffers.cpp.
References bufferAllStrategy(), and bufferCyclesStrategy().
Referenced by bufferRegion().
|
static |
Definition at line 96 of file Buffers.cpp.
References insertBuffer(), isUnbufferedChannel(), and shouldBufferArgument().
Referenced by bufferAllFIFOStrategy(), and bufferRegion().
|
static |
Definition at line 146 of file Buffers.cpp.
References bufferResults(), and inCycle().
Referenced by bufferAllFIFOStrategy(), and bufferRegion().
|
static |
Definition at line 181 of file Buffers.cpp.
References bufferAllFIFOStrategy(), bufferAllStrategy(), bufferCyclesStrategy(), and strategy.
|
static |
Definition at line 85 of file Buffers.cpp.
References insertBuffer().
Referenced by bufferCyclesStrategy().
|
static |
Definition at line 118 of file Buffers.cpp.
Referenced by bufferCyclesStrategy().
|
static |
Definition at line 71 of file Buffers.cpp.
Referenced by bufferAllStrategy(), and bufferResults().
|
static |
Definition at line 67 of file Buffers.cpp.
Referenced by bufferAllStrategy().
|
static |
Definition at line 61 of file Buffers.cpp.
Referenced by bufferAllStrategy().