Reid Spencer | 5f016e2 | 2007-07-11 17:01:13 +0000 | [diff] [blame] | 1 | //===--- PPCBuiltins.def - PowerPC Builtin function database ----*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Chris Lattner and is distributed under |
| 6 | // the University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file defines the PowerPC-specific builtin function database. Users of |
| 11 | // this file must define the BUILTIN macro to make use of this information. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | // FIXME: this needs to be the full list supported by GCC. Right now, I'm just |
| 16 | // adding stuff on demand. |
| 17 | |
| 18 | // The format of this database matches clang/AST/Builtins.def. |
| 19 | |
| 20 | // This is just a placeholder, the types and attributes are wrong. |
| 21 | BUILTIN(__builtin_altivec_abs_v4sf , "ii" , "nc") |
| 22 | // FIXME: Obviously incomplete. |
| 23 | |
| 24 | #undef BUILTIN |