diff options
Diffstat (limited to 'contrib/llvm-project/clang/include/clang/Basic/BuiltinsRISCVVector.def')
-rw-r--r-- | contrib/llvm-project/clang/include/clang/Basic/BuiltinsRISCVVector.def | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/include/clang/Basic/BuiltinsRISCVVector.def b/contrib/llvm-project/clang/include/clang/Basic/BuiltinsRISCVVector.def new file mode 100644 index 000000000000..6dfa87a1a1d3 --- /dev/null +++ b/contrib/llvm-project/clang/include/clang/Basic/BuiltinsRISCVVector.def @@ -0,0 +1,22 @@ +//==- BuiltinsRISCVVector.def - RISC-V Vector Builtin Database ---*- C++ -*-==// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// This file defines the RISC-V-specific builtin function database. Users of +// this file must define the BUILTIN macro to make use of this information. +// +//===----------------------------------------------------------------------===// + +#if defined(BUILTIN) && !defined(TARGET_BUILTIN) +# define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) BUILTIN(ID, TYPE, ATTRS) +#endif + +#include "clang/Basic/riscv_vector_builtins.inc" +#include "clang/Basic/riscv_sifive_vector_builtins.inc" + +#undef BUILTIN +#undef TARGET_BUILTIN |