CIRCT
24.0.0git
Loading...
Searching...
No Matches
include
circt
Tools
circt-lec
Passes.h
Go to the documentation of this file.
1
//===- Passes.h - Pass Entrypoints ------------------------------*- C++ -*-===//
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 CIRCT LEC transformation passes.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef CIRCT_TOOLS_CIRCT_LEC_PASSES_H
14
#define CIRCT_TOOLS_CIRCT_LEC_PASSES_H
15
16
#include "mlir/Pass/Pass.h"
17
18
namespace
circt
{
19
20
namespace
lec
{
21
enum class
InsertAdditionalModeEnum
{
22
/// Don't insert any LLVM code.
23
None,
24
25
/// Insert LLVM code to report the LEC result from an SMT solver.
26
Reporting
,
27
28
/// Insert a main function for AOT compilation.
29
Main
,
30
};
31
}
32
33
/// Generate the code for registering passes.
34
#define GEN_PASS_DECL_CONSTRUCTLEC
35
#define GEN_PASS_REGISTRATION
36
#include "circt/Tools/circt-lec/Passes.h.inc"
37
38
}
// namespace circt
39
40
#endif
// CIRCT_TOOLS_CIRCT_LEC_PASSES_H
circt::lec
Definition
Passes.h:20
circt::lec::InsertAdditionalModeEnum
InsertAdditionalModeEnum
Definition
Passes.h:21
circt::lec::InsertAdditionalModeEnum::Main
@ Main
Insert a main function for AOT compilation.
Definition
Passes.h:29
circt::lec::InsertAdditionalModeEnum::Reporting
@ Reporting
Insert LLVM code to report the LEC result from an SMT solver.
Definition
Passes.h:26
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
Generated on
for CIRCT by
1.15.0