LLVM 23.0.0git
WasmEHInfo.h
Go to the documentation of this file.
1//===--- llvm/CodeGen/WasmEHInfo.h ------------------------------*- 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// Data for Wasm exception handling schemes.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CODEGEN_WASMEHINFO_H
14#define LLVM_CODEGEN_WASMEHINFO_H
15
16namespace llvm {
17
18namespace WebAssembly {
19enum Tag { CPP_EXCEPTION = 0, C_LONGJMP = 1 };
20} // namespace WebAssembly
21
22} // namespace llvm
23
24#endif // LLVM_CODEGEN_WASMEHINFO_H
This is an optimization pass for GlobalISel generic memory operations.