| 1 | //===-- cpu_model/aarch64.h --------------------------------------------- -===// |
| 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 | #include "cpu_model.h" |
| 10 | |
| 11 | #if !defined(__aarch64__) && !defined(__arm64__) && !defined(_M_ARM64) && \ |
| 12 | !defined(__arm64ec__) && !defined(_M_ARM64EC) |
| 13 | #error This file is intended only for aarch64-based targets |
| 14 | #endif |
| 15 | |
| 16 | #if !defined(DISABLE_AARCH64_FMV) |
| 17 | |
| 18 | #include "AArch64CPUFeatures.inc" |
| 19 | |
| 20 | void __init_cpu_features(void); |
| 21 | |
| 22 | #endif // !defined(DISABLE_AARCH64_FMV) |
| 23 | |