mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 21:11:25 +00:00
Move clcmacro.h to avoid cluttering user namespace v2
v2: - use quotes instead of <> - add include to r600/lib/math/nextafter.c changed Reviewed-by: Tom Stellard <tom@stellard.net> Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 211576
This commit is contained in:
parent
a2fb50f9b3
commit
526fe2d501
@ -11,9 +11,6 @@
|
||||
/* Function Attributes */
|
||||
#include <clc/clcfunc.h>
|
||||
|
||||
/* Pattern Macro Definitions */
|
||||
#include <clc/clcmacro.h>
|
||||
|
||||
/* 6.1 Supported Data Types */
|
||||
#include <clc/clctypes.h>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
#define SIGN(TYPE, F) \
|
||||
_CLC_DEF _CLC_OVERLOAD TYPE sign(TYPE x) { \
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
// From add_sat.ll
|
||||
_CLC_DECL char __clc_add_sat_s8(char, char);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
// From clz.ll
|
||||
_CLC_DECL char __clc_clz_s8(char);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
// From sub_sat.ll
|
||||
_CLC_DECL char __clc_sub_sat_s8(char, char);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
// This file provides OpenCL C implementations of nextafter for targets that
|
||||
// don't support the clang builtin.
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __builtin_nextafterf, float, float)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
_CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, pown, float, int)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../clcmacro.h"
|
||||
|
||||
_CLC_DEFINE_UNARY_BUILTIN(int, isnan, __builtin_isnan, float)
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <clc/clc.h>
|
||||
#include "../lib/clcmacro.h"
|
||||
|
||||
_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)
|
||||
|
Loading…
x
Reference in New Issue
Block a user