LLVM 20.0.0git
DXILConstants.h
Go to the documentation of this file.
1//===- DXILConstants.h - Essential DXIL constants -------------------------===//
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/// \file This file contains essential DXIL constants.
10//===----------------------------------------------------------------------===//
11
12#ifndef LLVM_LIB_TARGET_DIRECTX_DXILCONSTANTS_H
13#define LLVM_LIB_TARGET_DIRECTX_DXILCONSTANTS_H
14
15namespace llvm {
16namespace dxil {
17
18enum class OpCode : unsigned {
19#define DXIL_OPCODE(Op, Name) Name = Op,
20#include "DXILOperation.inc"
21};
22
23enum class OpCodeClass : unsigned {
24#define DXIL_OPCLASS(Name) Name,
25#include "DXILOperation.inc"
26};
27
28enum class OpParamType : unsigned {
29#define DXIL_OP_PARAM_TYPE(Name) Name,
30#include "DXILOperation.inc"
31};
32
33} // namespace dxil
34} // namespace llvm
35
36#endif
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18