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 {
18
19template <typename Int> inline bool isValidAArch64MemoryHintValue(Int I) {
22}
23
24template <typename Int> inline AArch64MemoryHint toAArch64MemoryHint(Int I) {
25 switch (I) {
26 case 0:
28 case 1:
30 default:
32 }
33}
34} // namespace llvm
35#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)