MLIR
20.0.0git
include
mlir
Tools
PDLL
CodeGen
CPPGen.h
Go to the documentation of this file.
1
//===- CPPGen.h - MLIR PDLL CPP Code Generation -----------------*- 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
#ifndef MLIR_TOOLS_PDLL_CODEGEN_CPPGEN_H_
10
#define MLIR_TOOLS_PDLL_CODEGEN_CPPGEN_H_
11
12
#include "
mlir/Support/LLVM.h
"
13
#include <memory>
14
15
namespace
mlir
{
16
class
ModuleOp;
17
18
namespace
pdll {
19
namespace
ast {
20
class
Module
;
21
}
// namespace ast
22
23
void
codegenPDLLToCPP
(
const
ast::Module &astModule, ModuleOp module,
24
raw_ostream &os);
25
}
// namespace pdll
26
}
// namespace mlir
27
28
#endif
// MLIR_TOOLS_PDLL_CODEGEN_CPPGEN_H_
LLVM.h
mlir::lsp::SymbolKind::Module
@ Module
mlir::pdll::codegenPDLLToCPP
void codegenPDLLToCPP(const ast::Module &astModule, ModuleOp module, raw_ostream &os)
Definition:
CPPGen.cpp:253
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Wed Dec 25 2024 00:39:31 for MLIR by
1.9.1