Forgot to add file in r211631
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 24 Jun 2014 20:58:46 +0000 (20:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 24 Jun 2014 20:58:46 +0000 (20:58 +0000)
llvm-svn: 211632

clang/include/clang/Basic/BuiltinsR600.def [new file with mode: 0644]

diff --git a/clang/include/clang/Basic/BuiltinsR600.def b/clang/include/clang/Basic/BuiltinsR600.def
new file mode 100644 (file)
index 0000000..e0812d7
--- /dev/null
@@ -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