diff options
author | Tim Northover <tnorthover@apple.com> | 2014-05-24 12:52:07 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-05-24 12:52:07 +0000 |
commit | 8d681a2f93552ae452fbde8840b8f1553c591d7a (patch) | |
tree | 86dedfcddf67df2a930ed4338aef8d1a5a71364c /include/clang/Basic/BuiltinsAArch64.def | |
parent | 646ddb51d236607c49284a6b0c4d5ce672a070fa (diff) | |
download | clang-8d681a2f93552ae452fbde8840b8f1553c591d7a.tar.gz clang-8d681a2f93552ae452fbde8840b8f1553c591d7a.tar.bz2 clang-8d681a2f93552ae452fbde8840b8f1553c591d7a.tar.xz |
AArch64/ARM64: rename ARM64 components to AArch64
This keeps Clang consistent with backend naming conventions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsAArch64.def')
-rw-r--r-- | include/clang/Basic/BuiltinsAArch64.def | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/clang/Basic/BuiltinsAArch64.def b/include/clang/Basic/BuiltinsAArch64.def new file mode 100644 index 0000000000..36dcb9fd43 --- /dev/null +++ b/include/clang/Basic/BuiltinsAArch64.def @@ -0,0 +1,34 @@ +//==- BuiltinsAArch64.def - AArch64 Builtin function database ----*- C++ -*-==// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines the AArch64-specific builtin function database. Users of +// this file must define the BUILTIN macro to make use of this information. +// +//===----------------------------------------------------------------------===// + +// The format of this database matches clang/Basic/Builtins.def. + +// In libgcc +BUILTIN(__clear_cache, "vv*v*", "i") + +BUILTIN(__builtin_arm_ldrex, "v.", "t") +BUILTIN(__builtin_arm_strex, "i.", "t") +BUILTIN(__builtin_arm_clrex, "v", "") + +// CRC32 +BUILTIN(__builtin_arm_crc32b, "UiUiUc", "nc") +BUILTIN(__builtin_arm_crc32cb, "UiUiUc", "nc") +BUILTIN(__builtin_arm_crc32h, "UiUiUs", "nc") +BUILTIN(__builtin_arm_crc32ch, "UiUiUs", "nc") +BUILTIN(__builtin_arm_crc32w, "UiUiUi", "nc") +BUILTIN(__builtin_arm_crc32cw, "UiUiUi", "nc") +BUILTIN(__builtin_arm_crc32d, "UiUiLUi", "nc") +BUILTIN(__builtin_arm_crc32cd, "UiUiLUi", "nc") + +#undef BUILTIN |