CIRCT
20.0.0git
|
#include "circt/Dialect/Handshake/HandshakeOps.h"
#include "mlir/IR/Value.h"
#include "llvm/ADT/Any.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Namespaces | |
circt | |
The InstanceGraph op interface, see InstanceGraphInterface.td for more details. | |
circt::handshake | |
Functions | |
static std::vector< mlir::Value > | toVector (mlir::ValueRange range) |
static bool | isReadyToExecute (ArrayRef< mlir::Value > ins, ArrayRef< mlir::Value > outs, llvm::DenseMap< mlir::Value, llvm::Any > &valueMap) |
static std::vector< llvm::Any > | fetchValues (ArrayRef< mlir::Value > values, llvm::DenseMap< mlir::Value, llvm::Any > &valueMap) |
static void | storeValues (std::vector< llvm::Any > &values, ArrayRef< mlir::Value > outs, llvm::DenseMap< mlir::Value, llvm::Any > &valueMap) |
static void | updateTime (ArrayRef< mlir::Value > ins, ArrayRef< mlir::Value > outs, llvm::DenseMap< mlir::Value, double > &timeMap, double latency) |
static bool | tryToExecute (Operation *op, llvm::DenseMap< mlir::Value, llvm::Any > &valueMap, llvm::DenseMap< mlir::Value, double > &timeMap, std::vector< mlir::Value > &scheduleList, double latency) |
template<typename TMemOp > | |
static bool | circt::handshake::executeMemoryOperation (TMemOp op, unsigned buffer, int opIndex, llvm::DenseMap< mlir::Value, llvm::Any > &valueMap, llvm::DenseMap< unsigned, unsigned > &memoryMap, llvm::DenseMap< mlir::Value, double > &timeMap, std::vector< std::vector< llvm::Any >> &store, std::vector< mlir::Value > &scheduleList) |
Variables | |
static constexpr int | INDEX_WIDTH = 32 |
|
static |
Definition at line 46 of file HandshakeExecutableOps.cpp.
References assert().
Referenced by tryToExecute().
|
static |
Definition at line 30 of file HandshakeExecutableOps.cpp.
Referenced by tryToExecute().
|
static |
Definition at line 58 of file HandshakeExecutableOps.cpp.
References assert().
Referenced by tryToExecute().
|
static |
Definition at line 25 of file HandshakeExecutableOps.cpp.
Referenced by circt::FirMemLowering::createMemoryModule(), LowerXMRPass::getRefABIPrefix(), LowerXMRPass::resolveReferencePath(), LowerXMRPass::runOnOperation(), and tryToExecute().
|
static |
Definition at line 78 of file HandshakeExecutableOps.cpp.
References fetchValues(), isReadyToExecute(), storeValues(), toVector(), and updateTime().
|
static |
Definition at line 67 of file HandshakeExecutableOps.cpp.
Referenced by tryToExecute().
|
staticconstexpr |
Definition at line 22 of file HandshakeExecutableOps.cpp.