[libc][docgen] simplify posix links (#119595)
[llvm-project.git] / clang / lib / Headers / riscv_ntlh.h
blobc92e580a0a63171cdb9949ee47432592c4eae73b
1 /*===---- riscv_ntlh.h - RISC-V NTLH 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 __RISCV_NTLH_H
11 #define __RISCV_NTLH_H
13 #ifndef __riscv_zihintntl
14 #error "NTLH intrinsics require the NTLH extension."
15 #endif
17 enum {
18 __RISCV_NTLH_INNERMOST_PRIVATE = 2,
19 __RISCV_NTLH_ALL_PRIVATE,
20 __RISCV_NTLH_INNERMOST_SHARED,
21 __RISCV_NTLH_ALL
24 #define __riscv_ntl_load __builtin_riscv_ntl_load
25 #define __riscv_ntl_store __builtin_riscv_ntl_store
26 #endif