summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-24 20:58:46 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-24 20:58:46 +0000
commit0e928859430c7e15f3f9a3ceee9bf40a74b7e512 (patch)
tree6b8469f2da63b258c1a6ffae86b97439352331f9
parent56f008d538ba29cbc7118f6412e607323964e5e5 (diff)
downloadbcm5719-llvm-0e928859430c7e15f3f9a3ceee9bf40a74b7e512.tar.gz
bcm5719-llvm-0e928859430c7e15f3f9a3ceee9bf40a74b7e512.zip
Forgot to add file in r211631
llvm-svn: 211632
-rw-r--r--clang/include/clang/Basic/BuiltinsR600.def20
1 files changed, 20 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/BuiltinsR600.def b/clang/include/clang/Basic/BuiltinsR600.def
new file mode 100644
index 00000000000..e0812d7945f
--- /dev/null
+++ b/clang/include/clang/Basic/BuiltinsR600.def
@@ -0,0 +1,20 @@
+//==- BuiltinsR600.def - R600 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 R600-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.
+
+BUILTIN(__builtin_amdgpu_div_scale, "dddbb*", "n")
+BUILTIN(__builtin_amdgpu_div_scalef, "fffbb*", "n")
+
+#undef BUILTIN
OpenPOWER on IntegriCloud