[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / lib / Headers / xsavecintrin.h
blob5524947fa98e761da1d36a0d6b6a55e42cdadc11
1 /*===---- xsavecintrin.h - XSAVEC 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 <xsavecintrin.h> directly; include <immintrin.h> instead."
12 #endif
14 #ifndef __XSAVECINTRIN_H
15 #define __XSAVECINTRIN_H
17 /* Define the default attributes for the functions in this file. */
18 #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("xsavec")))
20 static __inline__ void __DEFAULT_FN_ATTRS
21 _xsavec(void *__p, unsigned long long __m) {
22 __builtin_ia32_xsavec(__p, __m);
25 #ifdef __x86_64__
26 static __inline__ void __DEFAULT_FN_ATTRS
27 _xsavec64(void *__p, unsigned long long __m) {
28 __builtin_ia32_xsavec64(__p, __m);
30 #endif
32 #undef __DEFAULT_FN_ATTRS
34 #endif