summaryrefslogtreecommitdiff
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
commitc16ee52c603fbc52fff5fc049b564a4e01e0e95f (patch)
treec1efa201b69a9a1010ac355e428bbb6116a4edc0
parent240288d24fc31b54fed809a894dd04f523e21579 (diff)
downloadclang-c16ee52c603fbc52fff5fc049b564a4e01e0e95f.tar.gz
clang-c16ee52c603fbc52fff5fc049b564a4e01e0e95f.tar.bz2
clang-c16ee52c603fbc52fff5fc049b564a4e01e0e95f.tar.xz
Forgot to add file in r211631
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211632 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/BuiltinsR600.def20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/clang/Basic/BuiltinsR600.def b/include/clang/Basic/BuiltinsR600.def
new file mode 100644
index 0000000000..e0812d7945
--- /dev/null
+++ b/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