[libclc][NFC] Remove binary_decl_tt.inc

This was performing the same role as binary_decl.inc.
This commit is contained in:
Fraser Cormack
2025-04-29 15:48:12 +01:00
parent 3f8035961f
commit 6ffccea1c2
15 changed files with 14 additions and 23 deletions

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION atan2 #define __CLC_FUNCTION atan2
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION atan2pi #define __CLC_FUNCTION atan2pi
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -1,9 +0,0 @@
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE a, __CLC_GENTYPE b);

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION copysign #define __CLC_FUNCTION copysign
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION fdim #define __CLC_FUNCTION fdim
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,6 +7,6 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION fmod #define __CLC_FUNCTION fmod
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>
#undef __CLC_FUNCTION #undef __CLC_FUNCTION

View File

@@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#define __CLC_FUNCTION half_divide #define __CLC_FUNCTION half_divide
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#define __CLC_FUNCTION half_powr #define __CLC_FUNCTION half_powr
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION hypot #define __CLC_FUNCTION hypot
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#define __CLC_FUNCTION maxmag #define __CLC_FUNCTION maxmag
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -6,7 +6,7 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#define __CLC_FUNCTION minmag #define __CLC_FUNCTION minmag
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION nextafter #define __CLC_FUNCTION nextafter
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION pow #define __CLC_FUNCTION pow
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>
#undef __CLC_BODY #undef __CLC_BODY
#undef __CLC_FUNCTION #undef __CLC_FUNCTION

View File

@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION powr #define __CLC_FUNCTION powr
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>
#undef __CLC_BODY #undef __CLC_BODY
#undef __CLC_FUNCTION #undef __CLC_FUNCTION

View File

@@ -7,6 +7,6 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#define __CLC_FUNCTION remainder #define __CLC_FUNCTION remainder
#define __CLC_BODY <clc/math/binary_decl_tt.inc> #define __CLC_BODY <clc/shared/binary_decl.inc>
#include <clc/math/gentype.inc> #include <clc/math/gentype.inc>
#undef __CLC_FUNCTION #undef __CLC_FUNCTION