[docs] Fix build-docs.sh
[llvm-project.git] / clang / lib / Headers / clflushoptintrin.h
blob060eb36f30f92cedd2ebc11cd238f3a986cbb810
1 /*===---- clflushoptintrin.h - CLFLUSHOPT intrinsic ------------------------===
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
7 *===-----------------------------------------------------------------------===
8 */
10 #ifndef __IMMINTRIN_H
11 #error "Never use <clflushoptintrin.h> directly; include <immintrin.h> instead."
12 #endif
14 #ifndef __CLFLUSHOPTINTRIN_H
15 #define __CLFLUSHOPTINTRIN_H
17 /* Define the default attributes for the functions in this file. */
18 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("clflushopt")))
20 static __inline__ void __DEFAULT_FN_ATTRS
21 _mm_clflushopt(void const * __m) {
22 __builtin_ia32_clflushopt(__m);
25 #undef __DEFAULT_FN_ATTRS
27 #endif