MLIR
24.0.0git
lib
Dialect
WasmSSA
IR
WasmSSADialect.cpp
Go to the documentation of this file.
1
//===- WebAssemblyDialect.cpp - MLIR WebAssembly dialect implementation ---===//
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
#include "
mlir/Dialect/WasmSSA/IR/WasmSSA.h
"
10
11
#include "
mlir/Support/LLVM.h
"
12
13
using namespace
mlir
;
14
using namespace
mlir::wasmssa
;
15
16
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsDialect.cpp.inc"
17
18
//===----------------------------------------------------------------------===//
19
// TableGen'd types definitions
20
//===----------------------------------------------------------------------===//
21
22
#define GET_TYPEDEF_CLASSES
23
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsTypes.cpp.inc"
24
25
void
wasmssa::WasmSSADialect::initialize() {
26
addOperations<
27
#define GET_OP_LIST
28
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOps.cpp.inc"
29
>();
30
addTypes<
31
#define GET_TYPEDEF_LIST
32
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsTypes.cpp.inc"
33
>();
34
}
WasmSSA.h
LLVM.h
mlir::wasmssa
Definition
WasmSSA.h:40
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:32
Generated on
for MLIR by
1.14.0