LLVM 24.0.0git
AArch64MemoryHints.h
Go to the documentation of this file.
1//===-- AArch64MemoryHints.h - AArch64 Memory Hint Attributes ---*- 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-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_SUPPORT_AARCH64MEMORYHINTS_H
10#define LLVM_SUPPORT_AARCH64MEMORYHINTS_H
11
12namespace llvm {
14 NONE = 0,
17 STCPH = 3,
18 SHUH = 4,
20};
21
22template <typename Int> inline bool isValidAArch64MemoryHintValue(Int I) {
25}
26
27template <typename Int> inline AArch64MemoryHint toAArch64MemoryHint(Int I) {
28 switch (I) {
29 case 0:
31 case 1:
33 case 2:
35 case 3:
37 case 4:
39 default:
41 }
42}
43} // namespace llvm
44#endif // LLVM_SUPPORT_AARCH64MEMORYHINTS_H
#define I(x, y, z)
Definition MD5.cpp:57
This is an optimization pass for GlobalISel generic memory operations.
bool isValidAArch64MemoryHintValue(Int I)
AArch64MemoryHint toAArch64MemoryHint(Int I)