-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
2,725 additions
and
2,672 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 'kanagawa' Dialect | ||
|
||
[include "Dialects/Kanagawa.md"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
add_circt_dialect(Kanagawa kanagawa) | ||
add_circt_dialect_doc(Kanagawa kanagawa) | ||
|
||
set(LLVM_TARGET_DEFINITIONS KanagawaPasses.td) | ||
mlir_tablegen(KanagawaPasses.h.inc -gen-pass-decls) | ||
add_public_tablegen_target(CIRCTKanagawaTransformsIncGen) | ||
add_circt_doc(KanagawaPasses KanagawaPasses -gen-pass-doc) | ||
|
||
set(LLVM_TARGET_DEFINITIONS KanagawaInterfaces.td) | ||
mlir_tablegen(KanagawaInterfaces.h.inc -gen-op-interface-decls) | ||
mlir_tablegen(KanagawaInterfaces.cpp.inc -gen-op-interface-defs) | ||
add_public_tablegen_target(MLIRKanagawaInterfacKanagawancGen) | ||
add_dependencies(circt-headers MLIRKanagawaInterfacKanagawancGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS Kanagawa.td) | ||
mlir_tablegen(KanagawaEnums.h.inc -gen-enum-decls) | ||
mlir_tablegen(KanagawaEnums.cpp.inc -gen-enum-defs) | ||
mlir_tablegen(KanagawaAttributes.h.inc -gen-attrdef-decls -attrdefs-dialect=kanagawa) | ||
mlir_tablegen(KanagawaAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=kanagawa) | ||
add_public_tablegen_target(MLIRKanagawaEnumsIncGen) | ||
add_dependencies(circt-headers MLIRKanagawaEnumsIncGen) |
14 changes: 7 additions & 7 deletions
14
include/circt/Dialect/Ibis/Ibis.td → include/circt/Dialect/Kanagawa/Kanagawa.td
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
//===- Ibis.td - Definition of Ibis dialect -------------------------------===// | ||
//===- Kanagawa.td - Definition of Kanagawa dialect -------------------------------===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef CIRCT_DIALECT_IBIS_TD | ||
#define CIRCT_DIALECT_IBIS_TD | ||
#ifndef CIRCT_DIALECT_KANAGAWA_TD | ||
#define CIRCT_DIALECT_KANAGAWA_TD | ||
|
||
include "mlir/IR/AttrTypeBase.td" | ||
include "mlir/IR/OpBase.td" | ||
include "mlir/Interfaces/FunctionInterfaces.td" | ||
|
||
include "circt/Dialect/Ibis/IbisDialect.td" | ||
include "circt/Dialect/Ibis/IbisTypes.td" | ||
include "circt/Dialect/Ibis/IbisOps.td" | ||
include "circt/Dialect/Kanagawa/KanagawaDialect.td" | ||
include "circt/Dialect/Kanagawa/KanagawaTypes.td" | ||
include "circt/Dialect/Kanagawa/KanagawaOps.td" | ||
|
||
#endif // CIRCT_DIALECT_IBIS_TD | ||
#endif // CIRCT_DIALECT_KANAGAWA_TD |
15 changes: 8 additions & 7 deletions
15
include/circt/Dialect/Ibis/IbisDialect.h → .../circt/Dialect/Kanagawa/KanagawaDialect.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
//===- IbisDialect.h - Definition of Ibis dialect ----------------*- C++-*-===// | ||
//===- KanagawaDialect.h - Definition of Kanagawa dialect ----------------*- | ||
//C++-*-===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef CIRCT_DIALECT_IBIS_IBISDIALECT_H | ||
#define CIRCT_DIALECT_IBIS_IBISDIALECT_H | ||
#ifndef CIRCT_DIALECT_KANAGAWA_KANAGAWADIALECT_H | ||
#define CIRCT_DIALECT_KANAGAWA_KANAGAWADIALECT_H | ||
|
||
#include "mlir/IR/Dialect.h" | ||
|
||
// Pull in the dialect definition. | ||
#include "circt/Dialect/Ibis/IbisDialect.h.inc" | ||
#include "circt/Dialect/Kanagawa/KanagawaDialect.h.inc" | ||
|
||
// Pull in all enum type definitions and utility function declarations. | ||
#include "circt/Dialect/Ibis/IbisEnums.h.inc" | ||
#include "circt/Dialect/Kanagawa/KanagawaEnums.h.inc" | ||
|
||
#define GET_ATTRDEF_CLASSES | ||
#include "circt/Dialect/Ibis/IbisAttributes.h.inc" | ||
#include "circt/Dialect/Kanagawa/KanagawaAttributes.h.inc" | ||
|
||
#endif // CIRCT_DIALECT_IBIS_IBISDIALECT_H | ||
#endif // CIRCT_DIALECT_KANAGAWA_KANAGAWADIALECT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.