LLVM 24.0.0git
PISAEnum.h
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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
10/// This file declares PISA enumeration and operand option tables.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAENUM_H
15#define LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAENUM_H
16
17#include "llvm/ADT/StringRef.h"
19#include <cstdint>
20
21namespace llvm {
22namespace PISA {
23
24#define GET_BoolOptionID_DECL
25#define GET_EnumOptionClass_DECL
26#define GET_LoadCacheControl_DECL
27#define GET_StoreCacheControl_DECL
28#define GET_AtomicCacheControl_DECL
29#include "PISAGenSearchableTables.inc"
30
35
37 EnumOptionClass OptClass;
38 unsigned Value;
40 unsigned CFlags;
41};
42
43#define GET_BoolOptionTable_DECL
44#define GET_EnumOptionTable_DECL
45#include "PISAGenSearchableTables.inc"
46
47} // namespace PISA
48} // namespace llvm
49#endif // LLVM_LIB_TARGET_PISA_MCTARGETDESC_PISAENUM_H
This is an optimization pass for GlobalISel generic memory operations.
StringTable::Offset OptStr
Definition PISAEnum.h:33
EnumOptionClass OptClass
Definition PISAEnum.h:37
StringTable::Offset OptStr
Definition PISAEnum.h:39