xref: /freebsd/contrib/llvm-project/clang/lib/Headers/armintr.h (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1 /*===---- armintr.h - ARM Windows intrinsics -------------------------------===
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 
10 /* Only include this if we're compiling for the windows platform. */
11 #ifndef _MSC_VER
12 #include_next <armintr.h>
13 #else
14 
15 #ifndef __ARMINTR_H
16 #define __ARMINTR_H
17 
18 typedef enum
19 {
20   _ARM_BARRIER_SY    = 0xF,
21   _ARM_BARRIER_ST    = 0xE,
22   _ARM_BARRIER_ISH   = 0xB,
23   _ARM_BARRIER_ISHST = 0xA,
24   _ARM_BARRIER_NSH   = 0x7,
25   _ARM_BARRIER_NSHST = 0x6,
26   _ARM_BARRIER_OSH   = 0x3,
27   _ARM_BARRIER_OSHST = 0x2
28 } _ARMINTR_BARRIER_TYPE;
29 
30 #endif /* __ARMINTR_H */
31 #endif /* _MSC_VER */
32