CIRCT
20.0.0git
lib
CAPI
Dialect
DC.cpp
Go to the documentation of this file.
1
//===- DC.cpp - C interface for the DC 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/DC.h
"
10
#include "
circt/Conversion/Passes.h
"
11
#include "
circt/Dialect/DC/DCDialect.h
"
12
#include "
circt/Dialect/DC/DCPasses.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
registerDCPasses
() {
19
circt::registerMapArithToCombPass();
20
circt::dc::registerPasses
();
21
}
22
MLIR_DEFINE_CAPI_DIALECT_REGISTRATION
(DC, dc, circt::dc::DCDialect)
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:45
Passes.h
DCDialect.h
DCPasses.h
registerDCPasses
void registerDCPasses()
Definition:
DC.cpp:18
DC.h
Passes.h
Generated on Mon Dec 23 2024 00:07:23 for CIRCT by
1.9.1