-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathPasses.td
35 lines (28 loc) · 1016 Bytes
/
Passes.td
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef VAST_CONVERSION_PARSER_PASSES_TD
#define VAST_CONVERSION_PARSER_PASSES_TD
include "mlir/Pass/PassBase.td"
def HLToParser : Pass<"vast-hl-to-parser", "core::ModuleOp"> {
let summary = "Transform hl to parser dialect.";
let description = [{ WIP }];
let options = [
Option< "config", "config", "std::string", "",
"Configuration file for parser transformation."
>,
Option< "socket", "socket", "std::string", "",
"Unix socket path to use for server"
>
];
let constructor = "vast::createHLToParserPass()";
let dependentDialects = [
"vast::pr::ParserDialect"
];
}
def ParserReconcileCasts : Pass<"vast-parser-reconcile-casts", "core::ModuleOp"> {
let summary = "Reconcile casts in parser dialect.";
let description = [{ WIP }];
let constructor = "vast::createParserReconcileCastsPass()";
let dependentDialects = [
"vast::pr::ParserDialect"
];
}
#endif // VAST_CONVERSION_PARSER_PASSES_TD