1//==- BuiltinsAMDGPU.def - AMDGPU Builtin function database ------*- C++ -*-==//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file defines the R600-specific builtin function database. Users of this
11// file must define the BUILTIN macro to make use of this information.
12//
13//===----------------------------------------------------------------------===//
14
15// The format of this database matches clang/Basic/Builtins.def.
16
17BUILTIN(__builtin_amdgpu_div_scale, "dddbb*", "n")
18BUILTIN(__builtin_amdgpu_div_scalef, "fffbb*", "n")
19BUILTIN(__builtin_amdgpu_div_fmas, "ddddb", "nc")
20BUILTIN(__builtin_amdgpu_div_fmasf, "ffffb", "nc")
21BUILTIN(__builtin_amdgpu_div_fixup, "dddd", "nc")
22BUILTIN(__builtin_amdgpu_div_fixupf, "ffff", "nc")
23BUILTIN(__builtin_amdgpu_trig_preop, "ddi", "nc")
24BUILTIN(__builtin_amdgpu_trig_preopf, "ffi", "nc")
25BUILTIN(__builtin_amdgpu_rcp, "dd", "nc")
26BUILTIN(__builtin_amdgpu_rcpf, "ff", "nc")
27BUILTIN(__builtin_amdgpu_rsq, "dd", "nc")
28BUILTIN(__builtin_amdgpu_rsqf, "ff", "nc")
29BUILTIN(__builtin_amdgpu_rsq_clamped, "dd", "nc")
30BUILTIN(__builtin_amdgpu_rsq_clampedf, "ff", "nc")
31BUILTIN(__builtin_amdgpu_ldexp, "ddi", "nc")
32BUILTIN(__builtin_amdgpu_ldexpf, "ffi", "nc")
33BUILTIN(__builtin_amdgpu_class, "bdi", "nc")
34BUILTIN(__builtin_amdgpu_classf, "bfi", "nc")
35
36#undef BUILTIN
37