brintos

brintos / llvm-project-archived public Read only

0
0
Text · 817 B · d2daa1e Raw
31 lines · c
1//===--- 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-exception6//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_H14#define LLVM_CLANG_AST_INTERP_OPCODE_H15 16#include <cstdint>17 18namespace clang {19namespace interp {20 21enum Opcode : uint32_t {22#define GET_OPCODE_NAMES23#include "Opcodes.inc"24#undef GET_OPCODE_NAMES25};26 27} // namespace interp28} // namespace clang29 30#endif31