-
Notifications
You must be signed in to change notification settings - Fork 302
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
24 changed files
with
154 additions
and
182 deletions.
There are no files selected for viewing
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
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
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
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,41 +1,37 @@ | ||
//===- ArcPasses.td - Arc dialect passes -------------------*- tablegen -*-===// | ||
//===- AIGPasses.td - AIG dialect passes -------------------*- tablegen -*-===// | ||
// | ||
// 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_ARC_ARCPASSES_TD | ||
#define CIRCT_DIALECT_ARC_ARCPASSES_TD | ||
#ifndef CIRCT_DIALECT_AIG_AIGPASSES_TD | ||
#define CIRCT_DIALECT_AIG_AIGPASSES_TD | ||
|
||
include "mlir/Pass/PassBase.td" | ||
|
||
def LowerCutToLUT : Pass<"aig-lower-cut-to-lut", "hw::HWModuleOp"> { | ||
let summary = "Lower a cut to a LUT"; | ||
let dependentDialects = ["comb::CombDialect"]; | ||
let constructor = "circt::aig::createLowerCutToLUTPass()"; | ||
} | ||
|
||
def LowerVariadic : Pass<"aig-lower-variadic", "hw::HWModuleOp"> { | ||
let summary = "Lower variadic AndInverter operations to binary AndInverter"; | ||
let constructor = "circt::aig::createLowerVariadicPass()"; | ||
} | ||
|
||
def LowerWordToBits : Pass<"aig-lower-word-to-bits", "hw::HWModuleOp"> { | ||
let summary = "Lower multi-bit AIG operations to single-bit ones"; | ||
let dependentDialects = ["comb::CombDialect"]; | ||
let constructor = "circt::aig::createLowerWordToBitsPass()"; | ||
} | ||
|
||
def GreedyCutDecomp : Pass<"aig-greedy-cut-decomp", "hw::HWModuleOp"> { | ||
let summary = "Decompose AIGs into k-feasible Cuts using a greedy algorithm"; | ||
let dependentDialects = ["comb::CombDialect"]; | ||
let constructor = "circt::aig::createGreedyCutDecompPass()"; | ||
let options = [ | ||
Option<"cutSizes", "cut-sizes", "uint32_t", "6", | ||
"The sizes of the cuts to decompose">, | ||
]; | ||
} | ||
|
||
#endif // CIRCT_DIALECT_ARC_ARCPASSES_TD | ||
#endif // CIRCT_DIALECT_AIG_AIGPASSES_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
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
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.