blob: 95359a3fdc711d4dd7ed15a9fb4ba481980af588 [file] [log] [blame]
//==- BuiltinsLoongArch.def - LoongArch Builtin function 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 LoongArch-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
// Definition of LoongArch basic builtins.
#include "clang/Basic/BuiltinsLoongArchBase.def"
// Definition of LSX builtins.
#include "clang/Basic/BuiltinsLoongArchLSX.def"
// Definition of LASX builtins.
#include "clang/Basic/BuiltinsLoongArchLASX.def"
#undef BUILTIN
#undef TARGET_BUILTIN