CIRCT 22.0.0git
Loading...
Searching...
No Matches
SynthPasses.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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// This header file defines prototypes for transformation passes related to
10// synthesis.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef CIRCT_DIALECT_SYNTH_TRANSFORMS_SYNTHPASSES_H
15#define CIRCT_DIALECT_SYNTH_TRANSFORMS_SYNTHPASSES_H
16
17#include "mlir/Pass/Pass.h"
18#include <limits>
19
20namespace circt {
21namespace synth {
22
23/// Optimization strategy.
25 OptimizationStrategyArea, ///< Optimize for minimal area
26 OptimizationStrategyTiming ///< Optimize for minimal critical path delay
27};
28
29#define GEN_PASS_DECL
30#define GEN_PASS_REGISTRATION
31#include "circt/Dialect/Synth/Transforms/SynthPasses.h.inc"
32
33} // namespace synth
34} // namespace circt
35
36#endif // CIRCT_DIALECT_SYNTH_TRANSFORMS_SYNTHPASSES_H
OptimizationStrategy
Optimization strategy.
Definition SynthPasses.h:24
@ OptimizationStrategyArea
Optimize for minimal area.
Definition SynthPasses.h:25
@ OptimizationStrategyTiming
Optimize for minimal critical path delay.
Definition SynthPasses.h:26
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition synth.py:1