[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / lib / Headers / invpcidintrin.h
blob48dae0a86f92ab3f2a1b258032876abed23ee3f2
1 /*===------------- invpcidintrin.h - INVPCID 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 <invpcidintrin.h> directly; include <immintrin.h> instead."
12 #endif
14 #ifndef __INVPCIDINTRIN_H
15 #define __INVPCIDINTRIN_H
17 static __inline__ void
18 __attribute__((__always_inline__, __nodebug__, __target__("invpcid")))
19 _invpcid(unsigned int __type, void *__descriptor) {
20 __builtin_ia32_invpcid(__type, __descriptor);
23 #endif /* __INVPCIDINTRIN_H */