CIRCT  19.0.0git
Namespaces | Macros | Functions
LowerExtmemToHW.cpp File Reference
#include "circt/Dialect/Comb/CombDialect.h"
#include "circt/Dialect/ESI/ESIOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Dialect/Handshake/HandshakeDialect.h"
#include "circt/Dialect/Handshake/HandshakeOps.h"
#include "circt/Dialect/Handshake/HandshakePasses.h"
#include "circt/Dialect/Handshake/HandshakeUtils.h"
#include "circt/Support/BackedgeBuilder.h"
#include "mlir/Dialect/Arith/IR/Arith.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Rewrite/FrozenRewritePatternSet.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/Handshake/HandshakePasses.h.inc"
Include dependency graph for LowerExtmemToHW.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_HANDSHAKELOWEREXTMEMTOHW
 

Functions

static Type indexToMemAddr (Type t, MemRefType memRef)
 
static HandshakeMemType getMemTypeForExtmem (Value v)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_HANDSHAKELOWEREXTMEMTOHW

#define GEN_PASS_DEF_HANDSHAKELOWEREXTMEMTOHW

Definition at line 31 of file LowerExtmemToHW.cpp.

Function Documentation

◆ getMemTypeForExtmem()

static HandshakeMemType getMemTypeForExtmem ( Value  v)
static

Definition at line 77 of file LowerExtmemToHW.cpp.

References assert(), circt::calyx::direction::get(), and indexToMemAddr().

◆ indexToMemAddr()

static Type indexToMemAddr ( Type  t,
MemRefType  memRef 
)
static

Definition at line 69 of file LowerExtmemToHW.cpp.

References assert(), and circt::calyx::direction::get().

Referenced by getMemTypeForExtmem().