Path: blob/main/contrib/llvm-project/clang/lib/AST/Interp/Opcode.h
35292 views
//===--- Opcode.h - Opcodes for the constexpr VM ----------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// Defines all opcodes executed by the VM and emitted by the compiler.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_CLANG_AST_INTERP_OPCODE_H13#define LLVM_CLANG_AST_INTERP_OPCODE_H1415#include <cstdint>1617namespace clang {18namespace interp {1920enum Opcode : uint32_t {21#define GET_OPCODE_NAMES22#include "Opcodes.inc"23#undef GET_OPCODE_NAMES24};2526} // namespace interp27} // namespace clang2829#endif303132