CIRCT
20.0.0git
Loading...
Searching...
No Matches
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
Passes.h
DCDialect.h
DCPasses.h
registerDCPasses
void registerDCPasses()
Definition
DC.cpp:18
DC.h
Passes.h
Generated on Wed Jan 22 2025 00:10:06 for CIRCT by
1.9.8