MLIR
22.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 "llvm/ADT/TypeSwitch.h"
12
13
#include "
mlir/IR/Builders.h
"
14
#include "
mlir/IR/DialectImplementation.h
"
15
#include "
mlir/Support/LLVM.h
"
16
17
using namespace
mlir
;
18
using namespace
mlir::wasmssa
;
19
20
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsDialect.cpp.inc"
21
22
//===----------------------------------------------------------------------===//
23
// TableGen'd types definitions
24
//===----------------------------------------------------------------------===//
25
26
#define GET_TYPEDEF_CLASSES
27
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsTypes.cpp.inc"
28
29
void
wasmssa::WasmSSADialect::initialize() {
30
addOperations<
31
#define GET_OP_LIST
32
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOps.cpp.inc"
33
>();
34
addTypes<
35
#define GET_TYPEDEF_LIST
36
#include "mlir/Dialect/WasmSSA/IR/WasmSSAOpsTypes.cpp.inc"
37
>();
38
}
Builders.h
DialectImplementation.h
WasmSSA.h
LLVM.h
mlir::wasmssa
Definition:
WasmSSA.h:47
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
Generated on Sat Sep 6 2025 04:32:48 for MLIR by
1.9.1