blob: d2daa1ea52ac14865b33176cd16e36027651fae3 [file] [log] [blame]
Nandor Licker950b70d2019-09-13 09:46:16 +00001//===--- Opcode.h - Opcodes for the constexpr VM ----------------*- 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// Defines all opcodes executed by the VM and emitted by the compiler.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_CLANG_AST_INTERP_OPCODE_H
14#define LLVM_CLANG_AST_INTERP_OPCODE_H
15
16#include <cstdint>
17
18namespace clang {
19namespace interp {
20
21enum Opcode : uint32_t {
22#define GET_OPCODE_NAMES
23#include "Opcodes.inc"
24#undef GET_OPCODE_NAMES
25};
26
27} // namespace interp
28} // namespace clang
29
30#endif