1 //===--- Opcode.h - Opcodes for the constexpr VM ----------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // Defines all opcodes executed by the VM and emitted by the compiler.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_CLANG_AST_INTERP_OPCODE_H
14 #define LLVM_CLANG_AST_INTERP_OPCODE_H
21 enum Opcode
: uint32_t {
22 #define GET_OPCODE_NAMES
23 #include "Opcodes.inc"
24 #undef GET_OPCODE_NAMES