diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-14 01:05:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-14 01:05:48 +0000 |
commit | 6b15cdc1312f8fc45c86ee75e2a85106700e97f6 (patch) | |
tree | a3a61c42e8fced466487e5c556f5e0d1402fcb2f /include/clang/Basic/BuiltinsPPC.def | |
parent | f6c2a2a3ff0533334d15c96c24b22b57e13d4dd9 (diff) | |
download | clang-6b15cdc1312f8fc45c86ee75e2a85106700e97f6.tar.gz clang-6b15cdc1312f8fc45c86ee75e2a85106700e97f6.tar.bz2 clang-6b15cdc1312f8fc45c86ee75e2a85106700e97f6.tar.xz |
move the various builtins stuff from libast to libbasic. This
fixes a layering violation in lib/Basic/Targets.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsPPC.def')
-rw-r--r-- | include/clang/Basic/BuiltinsPPC.def | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/clang/Basic/BuiltinsPPC.def b/include/clang/Basic/BuiltinsPPC.def new file mode 100644 index 0000000000..817a032d92 --- /dev/null +++ b/include/clang/Basic/BuiltinsPPC.def @@ -0,0 +1,24 @@ +//===--- BuiltinsPPC.def - PowerPC 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 PowerPC-specific builtin function database. Users of +// this file must define the BUILTIN macro to make use of this information. +// +//===----------------------------------------------------------------------===// + +// FIXME: this needs to be the full list supported by GCC. Right now, I'm just +// adding stuff on demand. + +// The format of this database matches clang/Basic/Builtins.def. + +// This is just a placeholder, the types and attributes are wrong. +BUILTIN(__builtin_altivec_abs_v4sf , "ii" , "nc") +// FIXME: Obviously incomplete. + +#undef BUILTIN |