CIRCT
20.0.0git
lib
CAPI
Dialect
Handshake.cpp
Go to the documentation of this file.
1
//===- Handshake.cpp - C interface for the Handshake dialect --------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#include "
circt-c/Dialect/Handshake.h
"
10
#include "
circt/Conversion/Passes.h
"
11
#include "
circt/Dialect/Handshake/HandshakeDialect.h
"
12
#include "
circt/Dialect/Handshake/HandshakePasses.h
"
13
#include "
circt/Transforms/Passes.h
"
14
#include "mlir/CAPI/IR.h"
15
#include "mlir/CAPI/Registration.h"
16
#include "mlir/CAPI/Support.h"
17
18
void
registerHandshakePasses
() {
19
circt::handshake::registerPasses
();
20
circt::registerCFToHandshakePass();
21
circt::registerHandshakeToHWPass();
22
}
23
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION
(Handshake, handshake,
24
circt::handshake::HandshakeDialect)
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION(CHIRRTL, chirrtl, circt::chirrtl::CHIRRTLDialect) MlirType chirrtlTypeGetCMemory(MlirContext ctx
registerPasses
static void registerPasses()
Definition:
CIRCTModule.cpp:39
Passes.h
HandshakeDialect.h
HandshakePasses.h
registerHandshakePasses
void registerHandshakePasses()
Definition:
Handshake.cpp:18
Handshake.h
Passes.h
Generated on Tue Nov 5 2024 00:07:19 for CIRCT by
1.9.1