1*7330f729Sjoerg /*===---- arm64intr.h - ARM64 Windows intrinsics -------------------------------=== 2*7330f729Sjoerg * 3*7330f729Sjoerg * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*7330f729Sjoerg * See https://llvm.org/LICENSE.txt for license information. 5*7330f729Sjoerg * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*7330f729Sjoerg * 7*7330f729Sjoerg *===-----------------------------------------------------------------------=== 8*7330f729Sjoerg */ 9*7330f729Sjoerg 10*7330f729Sjoerg /* Only include this if we're compiling for the windows platform. */ 11*7330f729Sjoerg #ifndef _MSC_VER 12*7330f729Sjoerg #include_next <arm64intr.h> 13*7330f729Sjoerg #else 14*7330f729Sjoerg 15*7330f729Sjoerg #ifndef __ARM64INTR_H 16*7330f729Sjoerg #define __ARM64INTR_H 17*7330f729Sjoerg 18*7330f729Sjoerg typedef enum 19*7330f729Sjoerg { 20*7330f729Sjoerg _ARM64_BARRIER_SY = 0xF, 21*7330f729Sjoerg _ARM64_BARRIER_ST = 0xE, 22*7330f729Sjoerg _ARM64_BARRIER_LD = 0xD, 23*7330f729Sjoerg _ARM64_BARRIER_ISH = 0xB, 24*7330f729Sjoerg _ARM64_BARRIER_ISHST = 0xA, 25*7330f729Sjoerg _ARM64_BARRIER_ISHLD = 0x9, 26*7330f729Sjoerg _ARM64_BARRIER_NSH = 0x7, 27*7330f729Sjoerg _ARM64_BARRIER_NSHST = 0x6, 28*7330f729Sjoerg _ARM64_BARRIER_NSHLD = 0x5, 29*7330f729Sjoerg _ARM64_BARRIER_OSH = 0x3, 30*7330f729Sjoerg _ARM64_BARRIER_OSHST = 0x2, 31*7330f729Sjoerg _ARM64_BARRIER_OSHLD = 0x1 32*7330f729Sjoerg } _ARM64INTR_BARRIER_TYPE; 33*7330f729Sjoerg 34*7330f729Sjoerg #endif /* __ARM64INTR_H */ 35*7330f729Sjoerg #endif /* _MSC_VER */ 36