[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / lib / Headers / serializeintrin.h
blobb774e5a24a0ba85ebc78095f72b52ab19b962531
1 /*===--------------- serializeintrin.h - serialize intrinsics --------------===
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 <serializeintrin.h> directly; include <immintrin.h> instead."
12 #endif
14 #ifndef __SERIALIZEINTRIN_H
15 #define __SERIALIZEINTRIN_H
17 /// Serialize instruction fetch and execution.
18 ///
19 /// \headerfile <x86intrin.h>
20 ///
21 /// This intrinsic corresponds to the <c> SERIALIZE </c> instruction.
22 ///
23 static __inline__ void
24 __attribute__((__always_inline__, __nodebug__, __target__("serialize")))
25 _serialize (void)
27 __builtin_ia32_serialize ();
30 #endif /* __SERIALIZEINTRIN_H */