1 | //==- BuiltinsLoongArch.def - LoongArch Builtin function database -- C++ -*-==// |
2 | // |
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 |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // This file defines the LoongArch-specific builtin function database. Users of |
10 | // this file must define the BUILTIN macro to make use of this information. |
11 | // |
12 | //===----------------------------------------------------------------------===// |
13 | |
14 | #if defined(BUILTIN) && !defined(TARGET_BUILTIN) |
15 | # define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS) |
16 | #endif |
17 | |
18 | // Definition of LoongArch basic builtins. |
19 | #include "clang/Basic/BuiltinsLoongArchBase.def" |
20 | |
21 | // Definition of LSX builtins. |
22 | #include "clang/Basic/BuiltinsLoongArchLSX.def" |
23 | |
24 | // Definition of LASX builtins. |
25 | #include "clang/Basic/BuiltinsLoongArchLASX.def" |
26 | |
27 | #undef BUILTIN |
28 | #undef TARGET_BUILTIN |
29 | |