BuiltinsXCore.def 846 B

123456789101112131415161718192021
  1. //===--- BuiltinsXCore.def - XCore 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 XCore-specific builtin function database. Users of
  10. // this file must define the BUILTIN macro to make use of this information.
  11. //
  12. //===----------------------------------------------------------------------===//
  13. // The format of this database matches clang/Basic/Builtins.def.
  14. BUILTIN(__builtin_bitrev, "UiUi", "nc")
  15. BUILTIN(__builtin_getid, "Si", "nc")
  16. BUILTIN(__builtin_getps, "UiUi", "n")
  17. BUILTIN(__builtin_setps, "vUiUi", "n")
  18. #undef BUILTIN