/*===================== begin_copyright_notice ==================================

Copyright (c) 2017 Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


======================= end_copyright_notice ==================================*/

#ifndef __SPIRV_H__
#define __SPIRV_H__

/******
 *
 * Mangling Scheme:
 *
 * Type      ::= Scalar | Vector | Pointer | Struct | Block | Opaque | Array
 *
 * Scalar    ::= Integer | Float | Void
 * Integer   ::= i1 | i8 | i16 | i32 | i64
 * Float     ::= f16 | f32 | f64
 * Void      ::= 'v'
 * Opaque    ::= i64 // All opaque types are currently represented as i64.
 * Array     ::= 'a' + [0-9]+ + Type
 *
 * Vector    ::= 'v' + Len + Scalar
 * Len       ::= 2 | 3 | 4 | 8 | 16
 *
 * Pointer   ::= 'p' + Addrspace + Type
 * Addrspace ::= 0 | 1 | 2 | 3 | 4
 *
 * Struct    ::= 's' // We can make this more specific if necessary
 *
 * Block     ::= 'fp' + Addrspace + Type + Type* + VarArg? // (return type + arg types + possible varargs '...')
 * VarArg    ::= 'x'
 *
 * All function args are mangled and the mangle for the return type is only added if necessary
 * to distinguish between overloads.
 *
 ******/

typedef enum
{
    None = 0x0,
    CmdExecTime = 0x1
} KernelProfilingInfo_t;

typedef enum
{
    CrossDevice = 0,
    Device      = 1,
    Workgroup   = 2,
    Subgroup    = 3,
    Invocation  = 4
} Scope_t;

typedef enum
{
    Relaxed                = 0x0,
    Acquire                = 0x2,
    Release                = 0x4,
    AcquireRelease         = 0x8,
    SequentiallyConsistent = 0x10,
    UniformMemory          = 0x40,
    SubgroupMemory         = 0x80,
    WorkgroupMemory        = 0x100,
    CrossWorkgroupMemory   = 0x200,
    AtomicCounterMemory    = 0x400,
    ImageMemory            = 0x800
} MemorySemantics_t;

typedef enum
{
    StorageUniformConstant = 0,
    StorageWorkgroup       = 4,
    StorageCrossWorkgroup  = 5,
    StorageFunction        = 7,
    StorageGeneric         = 8
} StorageClass_t;

typedef enum
{
    GroupOperationReduce = 0,
    GroupOperationInclusiveScan = 1,
    GroupOperationExclusiveScan = 2
} GroupOperations_t;

// Note: Unify these defines in a common header that this and
// the cth include.

#if __32bit__ > 0
typedef uint size_t;
typedef uint3 size_t3;
typedef int ptrdiff_t;
#else
typedef ulong size_t;
typedef ulong3 size_t3;
typedef long ptrdiff_t;
#endif

typedef ptrdiff_t intptr_t;
typedef size_t uintptr_t;

#define NULL 0

#define HALF_DIG 3
#define HALF_MANT_DIG 11
#define HALF_MAX_10_EXP +4
#define HALF_MAX_EXP +16
#define HALF_MIN_10_EXP -4
#define HALF_MIN_EXP -13
#define HALF_RADIX 2

#define HALF_MAX ((0x1.ffcp15h))
#define HALF_MIN ((0x1.0p-14h))
#define HALF_EPSILON ((0x1.0p-10h))
#define HALF_MAX_SQRT ((0x1.0p+8h))
#define HALF_MIN_SQRT ((0x1.0p-8h))
#define M_E_H         2.71828182845904523536028747135266250h
#define M_LOG2E_H     1.44269504088896340735992468100189214h
#define M_LOG10E_H    0.434294481903251827651128918916605082h
#define M_LN2_H       0.693147180559945309417232121458176568h
#define M_LN10_H      2.30258509299404568401799145468436421h
#define M_PI_H        3.14159265358979323846264338327950288h
#define M_PI_2_H      1.57079632679489661923132169163975144h
#define M_PI_4_H      0.785398163397448309615660845819875721h
#define M_1_PI_H      0.318309886183790671537767526745028724h
#define M_2_PI_H      0.636619772367581343075535053490057448h
#define M_2_SQRTPI_H  1.12837916709551257389615890312154517h
#define M_SQRT2_H     1.41421356237309504880168872420969808h
#define M_SQRT1_2_H   0.707106781186547524400844362104849039h

#define DBL_DIG 15
#define DBL_MANT_DIG 53
#define DBL_MAX_10_EXP +308
#define DBL_MAX_EXP +1024
#define DBL_MIN_10_EXP -307
#define DBL_MIN_EXP -1021
#define DBL_RADIX 2
#define DBL_MAX 0x1.fffffffffffffp1023
#define DBL_MIN 0x1.0p-1022
#define DBL_EPSILON 0x1.0p-52

#define M_E           0x1.5bf0a8b145769p+1
#define M_LOG2E       0x1.71547652b82fep+0
#define M_LOG10E      0x1.bcb7b1526e50ep-2
#define M_LN2         0x1.62e42fefa39efp-1
#define M_LN10        0x1.26bb1bbb55516p+1
#define M_PI          0x1.921fb54442d18p+1
#define M_PI_2        0x1.921fb54442d18p+0
#define M_PI_4        0x1.921fb54442d18p-1
#define M_1_PI        0x1.45f306dc9c883p-2
#define M_2_PI        0x1.45f306dc9c883p-1
#define M_2_SQRTPI    0x1.20dd750429b6dp+0
#define M_SQRT2       0x1.6a09e667f3bcdp+0
#define M_SQRT1_2     0x1.6a09e667f3bcdp-1


#if defined(cl_khr_fp64)
#define cl_fp64_basic_ops
#endif // cl_fp64_basic_ops

typedef uchar __bool2 __attribute__((ext_vector_type(2)));
typedef uchar __bool3 __attribute__((ext_vector_type(3)));
typedef uchar __bool4 __attribute__((ext_vector_type(4)));
typedef uchar __bool8 __attribute__((ext_vector_type(8)));
typedef uchar __bool16 __attribute__((ext_vector_type(16)));

typedef ulong    ImageType_t;
typedef ulong    Image_t;
typedef ulong    Sampler_t;
typedef ulong3   SampledImage_t;
typedef event_t  Event_t;
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
typedef queue_t Queue_t;
typedef clk_event_t ClkEvent_t;
typedef reserve_id_t ReserveId_t;
typedef pipe int Pipe_t;
typedef write_only pipe int Pipe_wo_t;

#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

#define INTEL_PIPE_RESERVE_ID_VALID_BIT (1U << 30)
#define CLK_NULL_RESERVE_ID (__builtin_astype(((void*)(~INTEL_PIPE_RESERVE_ID_VALID_BIT)), reserve_id_t))

// ImageType_t Encoding
//  Sampeled       & 0x3 << 62
//      0 = Unknown at compile time
//      1 = Will be sampled
//      2 = Will not be sampled
//  Dimension      & 0x7 << 59
//      0 = 1D
//      1 = 2D
//      2 = 3D
//      3 = Cube
//      4 = Rect
//      5 = Buffer
//      6 = SubpassData
//  Depth          & 0x1 << 58
//      0 == Non-Depth
//      1 == Depth
//  Arrayed        & 0x1 << 57
//      0 == Non-Arrayed
//      1 == Arrayed
//  MultiSampled  & 0x1 << 56
//      0 == Non-Multisampled
//      1 == Multisampled
//  AccessQualifer & 0x3 << 54
//      0 = Read Only
//      1 = Write Only
//      2 = Read/Write

typedef enum
{
    Dim1D = 0,
    Dim2D,
    Dim3D,
    DimCube,
    DimRect,
    DimBuffer,
    DimSubpassData,
    DimEnd
} Dimensionality_t;

#define IMAGETYPE_SAMPLED_SHIFT 62
#define IMAGETYPE_DIM_SHIFT 59
#define IMAGETYPE_DEPTH_SHIFT 58
#define IMAGETYPE_ARRAYED_SHIFT 57
#define IMAGETYPE_MULTISAMPLED_SHIFT 56
#define IMAGETYPE_ACCESSQUALIFER_SHIFT 54

// Keep track of SaturatedConversion

// Work-item functions

size_t3 __builtin_spirv_BuiltInNumWorkgroups(void);
size_t3 __builtin_spirv_BuiltInWorkgroupSize(void);
size_t3 __builtin_spirv_BuiltInWorkgroupId(void);
size_t3 __builtin_spirv_BuiltInLocalInvocationId(void);
size_t3 __builtin_spirv_BuiltInGlobalInvocationId(void);
uint    __builtin_spirv_BuiltInWorkDim(void);
size_t3 __builtin_spirv_BuiltInGlobalSize(void);
size_t3 __builtin_spirv_BuiltInEnqueuedWorkgroupSize(void);
size_t3 __builtin_spirv_BuiltInGlobalOffset(void);
size_t  __builtin_spirv_BuiltInGlobalLinearId(void);
size_t  __builtin_spirv_BuiltInLocalInvocationIndex(void);
uint    __builtin_spirv_BuiltInSubgroupSize(void);
uint    __builtin_spirv_BuiltInSubgroupMaxSize(void);
uint    __builtin_spirv_BuiltInNumSubgroups(void);
uint    __builtin_spirv_BuiltInNumEnqueuedSubgroups(void);
uint    __builtin_spirv_BuiltInSubgroupId(void);
uint    __builtin_spirv_BuiltInSubgroupLocalInvocationId(void);

// Image Instructions
//
struct ImageDummy;
#define INLINEWA global struct ImageDummy* __dummy

SampledImage_t __builtin_spirv_OpSampledImage_i64_i64_i64(Image_t Image, ImageType_t ImageType, Sampler_t Sampler);

uint4  __builtin_spirv_OpImageSampleExplicitLod_v4i32_v3i64_v4i32_i32_f32_i64(SampledImage_t SampledImage, int4 Coordinate, uint ImageOperands, float Lod, INLINEWA);
uint4  __builtin_spirv_OpImageSampleExplicitLod_v4i32_v3i64_v4f32_i32_f32_i64(SampledImage_t SampledImage, float4 Coordinate, uint ImageOperands, float Lod, INLINEWA);
float4 __builtin_spirv_OpImageSampleExplicitLod_v4f32_v3i64_v4i32_i32_f32_i64(SampledImage_t SampledImage, int4 Coordinate, uint ImageOperands, float Lod, INLINEWA);
float4 __builtin_spirv_OpImageSampleExplicitLod_v4f32_v3i64_v4f32_i32_f32_i64(SampledImage_t SampledImage, float4 Coordinate, uint ImageOperands, float Lod, INLINEWA);

#ifdef cl_khr_fp16
half4 __builtin_spirv_OpImageSampleExplicitLod_v4f16_v3i64_v4i32_i32_f32_i64( SampledImage_t SampledImage, int4 Coordinate, uint ImageOperands, float Lod , INLINEWA);
half4 __builtin_spirv_OpImageSampleExplicitLod_v4f16_v3i64_v4f32_i32_f32_i64( SampledImage_t SampledImage, float4 Coordinate, uint ImageOperands, float Lod , INLINEWA);
void __builtin_spirv_OpImageWrite_i64_i64_v4i32_v4f16_i64(Image_t Image, ImageType_t ImageType, int4 Coordinate, half4 Texel, INLINEWA);
half4 __builtin_spirv_OpImageRead_v4f16_i64_i64_v4i32_i64( Image_t Image, ImageType_t ImageType, int4 Coordinate , INLINEWA);
#endif // cl_khr_fp16

// Pipe in image type information.
uint4  __builtin_spirv_OpImageRead_v4i32_i64_i64_v4i32_i64(Image_t Image, ImageType_t ImageType, int4 Coordinate, INLINEWA);
uint4  __builtin_spirv_OpImageRead_v4i32_i64_i64_v4f32_i64(Image_t Image, ImageType_t ImageType, float4 Coordinate, INLINEWA);
float4 __builtin_spirv_OpImageRead_v4f32_i64_i64_v4i32_i64(Image_t Image, ImageType_t ImageType, int4 Coordinate, INLINEWA);
float4 __builtin_spirv_OpImageRead_v4f32_i64_i64_v4f32_i64(Image_t Image, ImageType_t ImageType, float4 Coordinate, INLINEWA);

float4 __builtin_spirv_OpImageRead_v4f32_i64_i64_v4i32_i32_i32_i64( Image_t Image, ImageType_t ImageType, int4 Coordinate, uint ImageOperands, uint Sample, INLINEWA);
float __builtin_spirv_OpImageRead_f32_i64_i64_v4i32_i32_i32_i64( Image_t Image, ImageType_t ImageType, int4 Coordinate, uint ImageOperands, uint Sample, INLINEWA);
uint4 __builtin_spirv_OpImageRead_v4i32_i64_i64_v4i32_i32_i32_i64( Image_t Image, ImageType_t ImageType, int4 Coordinate, uint ImageOperands, uint Sample, INLINEWA);

void __builtin_spirv_OpImageWrite_i64_i64_v4i32_v4i32_i64(Image_t Image, ImageType_t ImageType, int4 Coordinate, uint4 Texel, INLINEWA);
void __builtin_spirv_OpImageWrite_i64_i64_v4i32_v4f32_i64(Image_t Image, ImageType_t ImageType, int4 Coordinate, float4 Texel, INLINEWA);

uint  __builtin_spirv_OpImageQueryFormat_i64_i64(Image_t Image, INLINEWA);
uint  __builtin_spirv_OpImageQueryOrder_i64_i64(Image_t Image, INLINEWA);

uint  __builtin_spirv_OpImageQuerySizeLod_i32_i64_i64_i32_i64(Image_t Image, ImageType_t ImageType, int Lod, INLINEWA);
uint2 __builtin_spirv_OpImageQuerySizeLod_v2i32_i64_i64_i32_i64(Image_t Image, ImageType_t ImageType, int Lod, INLINEWA);
uint3 __builtin_spirv_OpImageQuerySizeLod_v3i32_i64_i64_i32_i64(Image_t Image, ImageType_t ImageType, int Lod, INLINEWA);
uint4 __builtin_spirv_OpImageQuerySizeLod_v4i32_i64_i64_i32_i64(Image_t Image, ImageType_t ImageType, int Lod, INLINEWA);

uint  __builtin_spirv_OpImageQuerySize_i32_i64_i64_i64(Image_t Image, ImageType_t ImageType, INLINEWA);
uint2 __builtin_spirv_OpImageQuerySize_v2i32_i64_i64_i64(Image_t Image, ImageType_t ImageType, INLINEWA);
uint3 __builtin_spirv_OpImageQuerySize_v3i32_i64_i64_i64(Image_t Image, ImageType_t ImageType, INLINEWA);
uint4  __builtin_spirv_OpImageQuerySize_v4i32_i64_i64_i64(Image_t Image, ImageType_t ImageType, INLINEWA);

uint __builtin_spirv_OpImageQueryLevels_i64_i64(Image_t Image, INLINEWA);
uint __builtin_spirv_OpImageQuerySamples_i64_i64(Image_t Image, INLINEWA);

// Conversion Instructions

uchar  __builtin_spirv_OpConvertFToU_i8_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_i16_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_i32_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_i64_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_i8_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_i16_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_i32_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_i64_f32(float FloatValue);
#if defined(cl_khr_fp64)
uchar  __builtin_spirv_OpConvertFToU_i8_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_i16_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_i32_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_i64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
char  __builtin_spirv_OpConvertFToS_i8_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_i16_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_i32_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_i64_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_i8_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_i16_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_i32_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_i64_f32(float FloatValue);
#if defined(cl_khr_fp64)
char  __builtin_spirv_OpConvertFToS_i8_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_i16_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_i32_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_i64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
half   __builtin_spirv_OpConvertSToF_f16_i8(char SignedValue);
float  __builtin_spirv_OpConvertSToF_f32_i8(char SignedValue);
half   __builtin_spirv_OpConvertSToF_f16_i16(short SignedValue);
float  __builtin_spirv_OpConvertSToF_f32_i16(short SignedValue);
half   __builtin_spirv_OpConvertSToF_f16_i32(int SignedValue);
float  __builtin_spirv_OpConvertSToF_f32_i32(int SignedValue);
half   __builtin_spirv_OpConvertSToF_f16_i64(long SignedValue);
float  __builtin_spirv_OpConvertSToF_f32_i64(long SignedValue);
half   __builtin_spirv_OpConvertUToF_f16_i8(uchar UnsignedValue);
float  __builtin_spirv_OpConvertUToF_f32_i8(uchar UnsignedValue);
half   __builtin_spirv_OpConvertUToF_f16_i16(ushort UnsignedValue);
float  __builtin_spirv_OpConvertUToF_f32_i16(ushort UnsignedValue);
half   __builtin_spirv_OpConvertUToF_f16_i32(uint UnsignedValue);
float  __builtin_spirv_OpConvertUToF_f32_i32(uint UnsignedValue);
half   __builtin_spirv_OpConvertUToF_f16_i64(ulong UnsignedValue);
float  __builtin_spirv_OpConvertUToF_f32_i64(ulong UnsignedValue);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpConvertSToF_f64_i8(char SignedValue);
double __builtin_spirv_OpConvertSToF_f64_i16(short SignedValue);
double __builtin_spirv_OpConvertSToF_f64_i32(int SignedValue);
double __builtin_spirv_OpConvertSToF_f64_i64(long SignedValue);
double __builtin_spirv_OpConvertUToF_f64_i8(uchar UnsignedValue);
double __builtin_spirv_OpConvertUToF_f64_i16(ushort UnsignedValue);
double __builtin_spirv_OpConvertUToF_f64_i32(uint UnsignedValue);
double __builtin_spirv_OpConvertUToF_f64_i64(ulong UnsignedValue);
#endif // defined(cl_khr_fp64)
uchar  __builtin_spirv_OpUConvert_i8_i8(uchar UnsignedValue);
ushort __builtin_spirv_OpUConvert_i16_i8(uchar UnsignedValue);
uint   __builtin_spirv_OpUConvert_i32_i8(uchar UnsignedValue);
ulong  __builtin_spirv_OpUConvert_i64_i8(uchar UnsignedValue);
uchar  __builtin_spirv_OpUConvert_i8_i16(ushort UnsignedValue);
ushort __builtin_spirv_OpUConvert_i16_i16(ushort UnsignedValue);
uint   __builtin_spirv_OpUConvert_i32_i16(ushort UnsignedValue);
ulong  __builtin_spirv_OpUConvert_i64_i16(ushort UnsignedValue);
uchar  __builtin_spirv_OpUConvert_i8_i32(uint UnsignedValue);
ushort __builtin_spirv_OpUConvert_i16_i32(uint UnsignedValue);
uint   __builtin_spirv_OpUConvert_i32_i32(uint UnsignedValue);
ulong  __builtin_spirv_OpUConvert_i64_i32(uint UnsignedValue);
uchar  __builtin_spirv_OpUConvert_i8_i64(ulong UnsignedValue);
ushort __builtin_spirv_OpUConvert_i16_i64(ulong UnsignedValue);
uint   __builtin_spirv_OpUConvert_i32_i64(ulong UnsignedValue);
ulong  __builtin_spirv_OpUConvert_i64_i64(ulong UnsignedValue);
char  __builtin_spirv_OpSConvert_i8_i8(char SignedValue);
short __builtin_spirv_OpSConvert_i16_i8(char SignedValue);
int   __builtin_spirv_OpSConvert_i32_i8(char SignedValue);
long  __builtin_spirv_OpSConvert_i64_i8(char SignedValue);
char  __builtin_spirv_OpSConvert_i8_i16(short SignedValue);
short __builtin_spirv_OpSConvert_i16_i16(short SignedValue);
int   __builtin_spirv_OpSConvert_i32_i16(short SignedValue);
long  __builtin_spirv_OpSConvert_i64_i16(short SignedValue);
char  __builtin_spirv_OpSConvert_i8_i32(int SignedValue);
short __builtin_spirv_OpSConvert_i16_i32(int SignedValue);
int   __builtin_spirv_OpSConvert_i32_i32(int SignedValue);
long  __builtin_spirv_OpSConvert_i64_i32(int SignedValue);
char  __builtin_spirv_OpSConvert_i8_i64(long SignedValue);
short __builtin_spirv_OpSConvert_i16_i64(long SignedValue);
int   __builtin_spirv_OpSConvert_i32_i64(long SignedValue);
long  __builtin_spirv_OpSConvert_i64_i64(long SignedValue);
half   __builtin_spirv_OpFConvert_f16_f16(half FloatValue);
float  __builtin_spirv_OpFConvert_f32_f16(half FloatValue);
half   __builtin_spirv_OpFConvert_f16_f32(float FloatValue);
float  __builtin_spirv_OpFConvert_f32_f32(float FloatValue);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpFConvert_f64_f16(half FloatValue);
double __builtin_spirv_OpFConvert_f64_f32(float FloatValue);
half   __builtin_spirv_OpFConvert_f16_f64(double FloatValue);
float  __builtin_spirv_OpFConvert_f32_f64(double FloatValue);
double __builtin_spirv_OpFConvert_f64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
uchar  __builtin_spirv_OpSatConvertSToU_i8_i8(char SignedValue);
ushort __builtin_spirv_OpSatConvertSToU_i16_i8(char SignedValue);
uint  __builtin_spirv_OpSatConvertSToU_i32_i8(char SignedValue);
ulong  __builtin_spirv_OpSatConvertSToU_i64_i8(char SignedValue);
uchar  __builtin_spirv_OpSatConvertSToU_i8_i16(short SignedValue);
ushort __builtin_spirv_OpSatConvertSToU_i16_i16(short SignedValue);
uint   __builtin_spirv_OpSatConvertSToU_i32_i16(short SignedValue);
ulong  __builtin_spirv_OpSatConvertSToU_i64_i16(short SignedValue);
uchar  __builtin_spirv_OpSatConvertSToU_i8_i32(int SignedValue);
ushort __builtin_spirv_OpSatConvertSToU_i16_i32(int SignedValue);
uint   __builtin_spirv_OpSatConvertSToU_i32_i32(int SignedValue);
ulong  __builtin_spirv_OpSatConvertSToU_i64_i32(int SignedValue);
uchar  __builtin_spirv_OpSatConvertSToU_i8_i64(long SignedValue);
ushort __builtin_spirv_OpSatConvertSToU_i16_i64(long SignedValue);
uint   __builtin_spirv_OpSatConvertSToU_i32_i64(long SignedValue);
ulong  __builtin_spirv_OpSatConvertSToU_i64_i64(long SignedValue);
char  __builtin_spirv_OpSatConvertUToS_i8_i8(uchar UnsignedValue);
short __builtin_spirv_OpSatConvertUToS_i16_i8(uchar UnsignedValue);
int   __builtin_spirv_OpSatConvertUToS_i32_i8(uchar UnsignedValue);
long  __builtin_spirv_OpSatConvertUToS_i64_i8(uchar UnsignedValue);
char  __builtin_spirv_OpSatConvertUToS_i8_i16(ushort UnsignedValue);
short __builtin_spirv_OpSatConvertUToS_i16_i16(ushort UnsignedValue);
int   __builtin_spirv_OpSatConvertUToS_i32_i16(ushort UnsignedValue);
long  __builtin_spirv_OpSatConvertUToS_i64_i16(ushort UnsignedValue);
char  __builtin_spirv_OpSatConvertUToS_i8_i32(uint UnsignedValue);
short __builtin_spirv_OpSatConvertUToS_i16_i32(uint UnsignedValue);
int __builtin_spirv_OpSatConvertUToS_i32_i32(uint UnsignedValue);
long  __builtin_spirv_OpSatConvertUToS_i64_i32(uint UnsignedValue);
char  __builtin_spirv_OpSatConvertUToS_i8_i64(ulong UnsignedValue);
short __builtin_spirv_OpSatConvertUToS_i16_i64(ulong UnsignedValue);
int   __builtin_spirv_OpSatConvertUToS_i32_i64(ulong UnsignedValue);
long  __builtin_spirv_OpSatConvertUToS_i64_i64(ulong UnsignedValue);
uchar  __builtin_spirv_OpConvertFToU_RTE_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTZ_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTP_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTN_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTE_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTZ_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTP_i8_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTN_i8_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTE_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTZ_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTP_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTN_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTE_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTZ_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTP_i16_f16(half FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTN_i16_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTE_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTZ_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTP_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTN_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTE_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTZ_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTP_i32_f16(half FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTN_i32_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTE_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTZ_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTP_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTN_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTE_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTZ_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTP_i64_f16(half FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTN_i64_f16(half FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTE_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTZ_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTP_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTN_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTE_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTZ_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTP_i8_f32(float FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTN_i8_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTE_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTZ_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTP_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTN_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTE_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTZ_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTP_i16_f32(float FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTN_i16_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTE_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTZ_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTP_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTN_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTE_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTZ_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTP_i32_f32(float FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTN_i32_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTE_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTZ_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTP_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTN_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTE_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTZ_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTP_i64_f32(float FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTN_i64_f32(float FloatValue);
#if defined(cl_khr_fp64)
uchar  __builtin_spirv_OpConvertFToU_RTE_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTZ_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTP_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_RTN_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTE_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTZ_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTP_i8_f64(double FloatValue);
uchar  __builtin_spirv_OpConvertFToU_Sat_RTN_i8_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTE_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTZ_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTP_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_RTN_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTE_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTZ_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTP_i16_f64(double FloatValue);
ushort __builtin_spirv_OpConvertFToU_Sat_RTN_i16_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTE_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTZ_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTP_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_RTN_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTE_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTZ_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTP_i32_f64(double FloatValue);
uint   __builtin_spirv_OpConvertFToU_Sat_RTN_i32_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTE_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTZ_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTP_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_RTN_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTE_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTZ_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTP_i64_f64(double FloatValue);
ulong  __builtin_spirv_OpConvertFToU_Sat_RTN_i64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
char  __builtin_spirv_OpConvertFToS_RTE_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_RTZ_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_RTP_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_RTN_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTE_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTZ_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTP_i8_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTN_i8_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_RTE_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_RTZ_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_RTP_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_RTN_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTE_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTZ_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTP_i16_f16(half FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTN_i16_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_RTE_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_RTZ_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_RTP_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_RTN_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTE_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTZ_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTP_i32_f16(half FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTN_i32_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_RTE_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_RTZ_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_RTP_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_RTN_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTE_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTZ_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTP_i64_f16(half FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTN_i64_f16(half FloatValue);
char  __builtin_spirv_OpConvertFToS_RTE_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_RTZ_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_RTP_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_RTN_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTE_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTZ_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTP_i8_f32(float FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTN_i8_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_RTE_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_RTZ_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_RTP_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_RTN_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTE_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTZ_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTP_i16_f32(float FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTN_i16_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_RTE_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_RTZ_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_RTP_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_RTN_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTE_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTZ_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTP_i32_f32(float FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTN_i32_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_RTE_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_RTZ_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_RTP_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_RTN_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTE_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTZ_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTP_i64_f32(float FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTN_i64_f32(float FloatValue);
#if defined(cl_khr_fp64)
char  __builtin_spirv_OpConvertFToS_RTE_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_RTZ_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_RTP_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_RTN_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTE_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTZ_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTP_i8_f64(double FloatValue);
char  __builtin_spirv_OpConvertFToS_Sat_RTN_i8_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_RTE_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_RTZ_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_RTP_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_RTN_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTE_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTZ_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTP_i16_f64(double FloatValue);
short __builtin_spirv_OpConvertFToS_Sat_RTN_i16_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_RTE_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_RTZ_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_RTP_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_RTN_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTE_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTZ_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTP_i32_f64(double FloatValue);
int   __builtin_spirv_OpConvertFToS_Sat_RTN_i32_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_RTE_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_RTZ_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_RTP_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_RTN_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTE_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTZ_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTP_i64_f64(double FloatValue);
long  __builtin_spirv_OpConvertFToS_Sat_RTN_i64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
half   __builtin_spirv_OpConvertSToF_RTE_f16_i8(char SignedValue);
half   __builtin_spirv_OpConvertSToF_RTZ_f16_i8(char SignedValue);
half   __builtin_spirv_OpConvertSToF_RTP_f16_i8(char SignedValue);
half   __builtin_spirv_OpConvertSToF_RTN_f16_i8(char SignedValue);
float  __builtin_spirv_OpConvertSToF_RTE_f32_i8(char SignedValue);
float  __builtin_spirv_OpConvertSToF_RTZ_f32_i8(char SignedValue);
float  __builtin_spirv_OpConvertSToF_RTP_f32_i8(char SignedValue);
float  __builtin_spirv_OpConvertSToF_RTN_f32_i8(char SignedValue);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpConvertSToF_RTE_f64_i8(char SignedValue);
double __builtin_spirv_OpConvertSToF_RTZ_f64_i8(char SignedValue);
double __builtin_spirv_OpConvertSToF_RTP_f64_i8(char SignedValue);
double __builtin_spirv_OpConvertSToF_RTN_f64_i8(char SignedValue);
double __builtin_spirv_OpConvertSToF_RTE_f64_i16(short SignedValue);
double __builtin_spirv_OpConvertSToF_RTZ_f64_i16(short SignedValue);
double __builtin_spirv_OpConvertSToF_RTP_f64_i16(short SignedValue);
double __builtin_spirv_OpConvertSToF_RTN_f64_i16(short SignedValue);
double __builtin_spirv_OpConvertSToF_RTE_f64_i32(int SignedValue);
double __builtin_spirv_OpConvertSToF_RTZ_f64_i32(int SignedValue);
double __builtin_spirv_OpConvertSToF_RTP_f64_i32(int SignedValue);
double __builtin_spirv_OpConvertSToF_RTN_f64_i32(int SignedValue);
double __builtin_spirv_OpConvertSToF_RTE_f64_i64(long SignedValue);
double __builtin_spirv_OpConvertSToF_RTZ_f64_i64(long SignedValue);
double __builtin_spirv_OpConvertSToF_RTP_f64_i64(long SignedValue);
double __builtin_spirv_OpConvertSToF_RTN_f64_i64(long SignedValue);
#endif // defined(cl_khr_fp64)
half   __builtin_spirv_OpConvertSToF_RTE_f16_i16(short SignedValue);
half   __builtin_spirv_OpConvertSToF_RTZ_f16_i16(short SignedValue);
half   __builtin_spirv_OpConvertSToF_RTP_f16_i16(short SignedValue);
half   __builtin_spirv_OpConvertSToF_RTN_f16_i16(short SignedValue);
float  __builtin_spirv_OpConvertSToF_RTE_f32_i16(short SignedValue);
float  __builtin_spirv_OpConvertSToF_RTZ_f32_i16(short SignedValue);
float  __builtin_spirv_OpConvertSToF_RTP_f32_i16(short SignedValue);
float  __builtin_spirv_OpConvertSToF_RTN_f32_i16(short SignedValue);
half   __builtin_spirv_OpConvertSToF_RTE_f16_i32(int SignedValue);
half   __builtin_spirv_OpConvertSToF_RTZ_f16_i32(int SignedValue);
half   __builtin_spirv_OpConvertSToF_RTP_f16_i32(int SignedValue);
half   __builtin_spirv_OpConvertSToF_RTN_f16_i32(int SignedValue);
float  __builtin_spirv_OpConvertSToF_RTE_f32_i32(int SignedValue);
float  __builtin_spirv_OpConvertSToF_RTZ_f32_i32(int SignedValue);
float  __builtin_spirv_OpConvertSToF_RTP_f32_i32(int SignedValue);
float  __builtin_spirv_OpConvertSToF_RTN_f32_i32(int SignedValue);
half   __builtin_spirv_OpConvertSToF_RTE_f16_i64(long SignedValue);
half   __builtin_spirv_OpConvertSToF_RTZ_f16_i64(long SignedValue);
half   __builtin_spirv_OpConvertSToF_RTP_f16_i64(long SignedValue);
half   __builtin_spirv_OpConvertSToF_RTN_f16_i64(long SignedValue);
float  __builtin_spirv_OpConvertSToF_RTE_f32_i64(long SignedValue);
float  __builtin_spirv_OpConvertSToF_RTZ_f32_i64(long SignedValue);
float  __builtin_spirv_OpConvertSToF_RTP_f32_i64(long SignedValue);
float  __builtin_spirv_OpConvertSToF_RTN_f32_i64(long SignedValue);
half   __builtin_spirv_OpConvertUToF_RTE_f16_i8(uchar UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTZ_f16_i8(uchar UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTP_f16_i8(uchar UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTN_f16_i8(uchar UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTE_f32_i8(uchar UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTZ_f32_i8(uchar UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTP_f32_i8(uchar UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTN_f32_i8(uchar UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTE_f16_i16(ushort UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTZ_f16_i16(ushort UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTP_f16_i16(ushort UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTN_f16_i16(ushort UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTE_f32_i16(ushort UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTZ_f32_i16(ushort UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTP_f32_i16(ushort UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTN_f32_i16(ushort UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTE_f16_i32(uint UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTZ_f16_i32(uint UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTP_f16_i32(uint UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTN_f16_i32(uint UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTE_f32_i32(uint UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTZ_f32_i32(uint UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTP_f32_i32(uint UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTN_f32_i32(uint UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTE_f16_i64(ulong UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTZ_f16_i64(ulong UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTP_f16_i64(ulong UnsignedValue);
half   __builtin_spirv_OpConvertUToF_RTN_f16_i64(ulong UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTE_f32_i64(ulong UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTZ_f32_i64(ulong UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTP_f32_i64(ulong UnsignedValue);
float  __builtin_spirv_OpConvertUToF_RTN_f32_i64(ulong UnsignedValue);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpConvertUToF_RTE_f64_i8(uchar UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTZ_f64_i8(uchar UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTP_f64_i8(uchar UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTN_f64_i8(uchar UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTE_f64_i16(ushort UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTZ_f64_i16(ushort UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTP_f64_i16(ushort UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTN_f64_i16(ushort UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTE_f64_i32(uint UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTZ_f64_i32(uint UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTP_f64_i32(uint UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTN_f64_i32(uint UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTE_f64_i64(ulong UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTZ_f64_i64(ulong UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTP_f64_i64(ulong UnsignedValue);
double __builtin_spirv_OpConvertUToF_RTN_f64_i64(ulong UnsignedValue);
#endif // defined(cl_khr_fp64)
uchar  __builtin_spirv_OpUConvert_Sat_i8_i8(uchar UnsignedValue);
ushort __builtin_spirv_OpUConvert_Sat_i16_i8(uchar UnsignedValue);
uint   __builtin_spirv_OpUConvert_Sat_i32_i8(uchar UnsignedValue);
ulong  __builtin_spirv_OpUConvert_Sat_i64_i8(uchar UnsignedValue);
uchar  __builtin_spirv_OpUConvert_Sat_i8_i16(ushort UnsignedValue);
ushort __builtin_spirv_OpUConvert_Sat_i16_i16(ushort UnsignedValue);
uint   __builtin_spirv_OpUConvert_Sat_i32_i16(ushort UnsignedValue);
ulong  __builtin_spirv_OpUConvert_Sat_i64_i16(ushort UnsignedValue);
uchar  __builtin_spirv_OpUConvert_Sat_i8_i32(uint UnsignedValue);
ushort __builtin_spirv_OpUConvert_Sat_i16_i32(uint UnsignedValue);
uint   __builtin_spirv_OpUConvert_Sat_i32_i32(uint UnsignedValue);
ulong  __builtin_spirv_OpUConvert_Sat_i64_i32(uint UnsignedValue);
uchar  __builtin_spirv_OpUConvert_Sat_i8_i64(ulong UnsignedValue);
ushort __builtin_spirv_OpUConvert_Sat_i16_i64(ulong UnsignedValue);
uint   __builtin_spirv_OpUConvert_Sat_i32_i64(ulong UnsignedValue);
ulong  __builtin_spirv_OpUConvert_Sat_i64_i64(ulong UnsignedValue);
char  __builtin_spirv_OpSConvert_Sat_i8_i8(char SignedValue);
short __builtin_spirv_OpSConvert_Sat_i16_i8(char SignedValue);
int   __builtin_spirv_OpSConvert_Sat_i32_i8(char SignedValue);
long  __builtin_spirv_OpSConvert_Sat_i64_i8(char SignedValue);
char  __builtin_spirv_OpSConvert_Sat_i8_i16(short SignedValue);
short __builtin_spirv_OpSConvert_Sat_i16_i16(short SignedValue);
int   __builtin_spirv_OpSConvert_Sat_i32_i16(short SignedValue);
long  __builtin_spirv_OpSConvert_Sat_i64_i16(short SignedValue);
char  __builtin_spirv_OpSConvert_Sat_i8_i32(int SignedValue);
short __builtin_spirv_OpSConvert_Sat_i16_i32(int SignedValue);
int   __builtin_spirv_OpSConvert_Sat_i32_i32(int SignedValue);
long  __builtin_spirv_OpSConvert_Sat_i64_i32(int SignedValue);
char  __builtin_spirv_OpSConvert_Sat_i8_i64(long SignedValue);
short __builtin_spirv_OpSConvert_Sat_i16_i64(long SignedValue);
int   __builtin_spirv_OpSConvert_Sat_i32_i64(long SignedValue);
long  __builtin_spirv_OpSConvert_Sat_i64_i64(long SignedValue);
half   __builtin_spirv_OpFConvert_RTE_f16_f16(half FloatValue);
half   __builtin_spirv_OpFConvert_RTZ_f16_f16(half FloatValue);
half   __builtin_spirv_OpFConvert_RTP_f16_f16(half FloatValue);
half   __builtin_spirv_OpFConvert_RTN_f16_f16(half FloatValue);
float  __builtin_spirv_OpFConvert_RTE_f32_f16(half FloatValue);
float  __builtin_spirv_OpFConvert_RTZ_f32_f16(half FloatValue);
float  __builtin_spirv_OpFConvert_RTP_f32_f16(half FloatValue);
float  __builtin_spirv_OpFConvert_RTN_f32_f16(half FloatValue);
half   __builtin_spirv_OpFConvert_RTE_f16_f32(float FloatValue);
half   __builtin_spirv_OpFConvert_RTZ_f16_f32(float FloatValue);
half   __builtin_spirv_OpFConvert_RTP_f16_f32(float FloatValue);
half   __builtin_spirv_OpFConvert_RTN_f16_f32(float FloatValue);
float  __builtin_spirv_OpFConvert_RTE_f32_f32(float FloatValue);
float  __builtin_spirv_OpFConvert_RTZ_f32_f32(float FloatValue);
float  __builtin_spirv_OpFConvert_RTP_f32_f32(float FloatValue);
float  __builtin_spirv_OpFConvert_RTN_f32_f32(float FloatValue);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpFConvert_RTE_f64_f16(half FloatValue);
double __builtin_spirv_OpFConvert_RTZ_f64_f16(half FloatValue);
double __builtin_spirv_OpFConvert_RTP_f64_f16(half FloatValue);
double __builtin_spirv_OpFConvert_RTN_f64_f16(half FloatValue);
double __builtin_spirv_OpFConvert_RTE_f64_f32(float FloatValue);
double __builtin_spirv_OpFConvert_RTZ_f64_f32(float FloatValue);
double __builtin_spirv_OpFConvert_RTP_f64_f32(float FloatValue);
double __builtin_spirv_OpFConvert_RTN_f64_f32(float FloatValue);
half   __builtin_spirv_OpFConvert_RTE_f16_f64(double FloatValue);
half   __builtin_spirv_OpFConvert_RTZ_f16_f64(double FloatValue);
half   __builtin_spirv_OpFConvert_RTP_f16_f64(double FloatValue);
half   __builtin_spirv_OpFConvert_RTN_f16_f64(double FloatValue);
float  __builtin_spirv_OpFConvert_RTE_f32_f64(double FloatValue);
float  __builtin_spirv_OpFConvert_RTZ_f32_f64(double FloatValue);
float  __builtin_spirv_OpFConvert_RTP_f32_f64(double FloatValue);
float  __builtin_spirv_OpFConvert_RTN_f32_f64(double FloatValue);
double __builtin_spirv_OpFConvert_RTE_f64_f64(double FloatValue);
double __builtin_spirv_OpFConvert_RTZ_f64_f64(double FloatValue);
double __builtin_spirv_OpFConvert_RTP_f64_f64(double FloatValue);
double __builtin_spirv_OpFConvert_RTN_f64_f64(double FloatValue);
#endif // defined(cl_khr_fp64)
half2 __builtin_spirv_OpConvertSToF_v2f16_v2i8(char2 x);
half3 __builtin_spirv_OpConvertSToF_v3f16_v3i8(char3 x);
half4 __builtin_spirv_OpConvertSToF_v4f16_v4i8(char4 x);
half8 __builtin_spirv_OpConvertSToF_v8f16_v8i8(char8 x);
half16 __builtin_spirv_OpConvertSToF_v16f16_v16i8(char16 x);
half2 __builtin_spirv_OpConvertSToF_RTE_v2f16_v2i8(char2 x);
half3 __builtin_spirv_OpConvertSToF_RTE_v3f16_v3i8(char3 x);
half4 __builtin_spirv_OpConvertSToF_RTE_v4f16_v4i8(char4 x);
half8 __builtin_spirv_OpConvertSToF_RTE_v8f16_v8i8(char8 x);
half16 __builtin_spirv_OpConvertSToF_RTE_v16f16_v16i8(char16 x);
half2 __builtin_spirv_OpConvertSToF_RTZ_v2f16_v2i8(char2 x);
half3 __builtin_spirv_OpConvertSToF_RTZ_v3f16_v3i8(char3 x);
half4 __builtin_spirv_OpConvertSToF_RTZ_v4f16_v4i8(char4 x);
half8 __builtin_spirv_OpConvertSToF_RTZ_v8f16_v8i8(char8 x);
half16 __builtin_spirv_OpConvertSToF_RTZ_v16f16_v16i8(char16 x);
half2 __builtin_spirv_OpConvertSToF_RTP_v2f16_v2i8(char2 x);
half3 __builtin_spirv_OpConvertSToF_RTP_v3f16_v3i8(char3 x);
half4 __builtin_spirv_OpConvertSToF_RTP_v4f16_v4i8(char4 x);
half8 __builtin_spirv_OpConvertSToF_RTP_v8f16_v8i8(char8 x);
half16 __builtin_spirv_OpConvertSToF_RTP_v16f16_v16i8(char16 x);
half2 __builtin_spirv_OpConvertSToF_RTN_v2f16_v2i8(char2 x);
half3 __builtin_spirv_OpConvertSToF_RTN_v3f16_v3i8(char3 x);
half4 __builtin_spirv_OpConvertSToF_RTN_v4f16_v4i8(char4 x);
half8 __builtin_spirv_OpConvertSToF_RTN_v8f16_v8i8(char8 x);
half16 __builtin_spirv_OpConvertSToF_RTN_v16f16_v16i8(char16 x);
half2 __builtin_spirv_OpConvertSToF_v2f16_v2i16(short2 x);
half3 __builtin_spirv_OpConvertSToF_v3f16_v3i16(short3 x);
half4 __builtin_spirv_OpConvertSToF_v4f16_v4i16(short4 x);
half8 __builtin_spirv_OpConvertSToF_v8f16_v8i16(short8 x);
half16 __builtin_spirv_OpConvertSToF_v16f16_v16i16(short16 x);
half2 __builtin_spirv_OpConvertSToF_RTE_v2f16_v2i16(short2 x);
half3 __builtin_spirv_OpConvertSToF_RTE_v3f16_v3i16(short3 x);
half4 __builtin_spirv_OpConvertSToF_RTE_v4f16_v4i16(short4 x);
half8 __builtin_spirv_OpConvertSToF_RTE_v8f16_v8i16(short8 x);
half16 __builtin_spirv_OpConvertSToF_RTE_v16f16_v16i16(short16 x);
half2 __builtin_spirv_OpConvertSToF_RTZ_v2f16_v2i16(short2 x);
half3 __builtin_spirv_OpConvertSToF_RTZ_v3f16_v3i16(short3 x);
half4 __builtin_spirv_OpConvertSToF_RTZ_v4f16_v4i16(short4 x);
half8 __builtin_spirv_OpConvertSToF_RTZ_v8f16_v8i16(short8 x);
half16 __builtin_spirv_OpConvertSToF_RTZ_v16f16_v16i16(short16 x);
half2 __builtin_spirv_OpConvertSToF_RTP_v2f16_v2i16(short2 x);
half3 __builtin_spirv_OpConvertSToF_RTP_v3f16_v3i16(short3 x);
half4 __builtin_spirv_OpConvertSToF_RTP_v4f16_v4i16(short4 x);
half8 __builtin_spirv_OpConvertSToF_RTP_v8f16_v8i16(short8 x);
half16 __builtin_spirv_OpConvertSToF_RTP_v16f16_v16i16(short16 x);
half2 __builtin_spirv_OpConvertSToF_RTN_v2f16_v2i16(short2 x);
half3 __builtin_spirv_OpConvertSToF_RTN_v3f16_v3i16(short3 x);
half4 __builtin_spirv_OpConvertSToF_RTN_v4f16_v4i16(short4 x);
half8 __builtin_spirv_OpConvertSToF_RTN_v8f16_v8i16(short8 x);
half16 __builtin_spirv_OpConvertSToF_RTN_v16f16_v16i16(short16 x);
half2 __builtin_spirv_OpConvertSToF_v2f16_v2i32(int2 x);
half3 __builtin_spirv_OpConvertSToF_v3f16_v3i32(int3 x);
half4 __builtin_spirv_OpConvertSToF_v4f16_v4i32(int4 x);
half8 __builtin_spirv_OpConvertSToF_v8f16_v8i32(int8 x);
half16 __builtin_spirv_OpConvertSToF_v16f16_v16i32(int16 x);
half2 __builtin_spirv_OpConvertSToF_RTE_v2f16_v2i32(int2 x);
half3 __builtin_spirv_OpConvertSToF_RTE_v3f16_v3i32(int3 x);
half4 __builtin_spirv_OpConvertSToF_RTE_v4f16_v4i32(int4 x);
half8 __builtin_spirv_OpConvertSToF_RTE_v8f16_v8i32(int8 x);
half16 __builtin_spirv_OpConvertSToF_RTE_v16f16_v16i32(int16 x);
half2 __builtin_spirv_OpConvertSToF_RTZ_v2f16_v2i32(int2 x);
half3 __builtin_spirv_OpConvertSToF_RTZ_v3f16_v3i32(int3 x);
half4 __builtin_spirv_OpConvertSToF_RTZ_v4f16_v4i32(int4 x);
half8 __builtin_spirv_OpConvertSToF_RTZ_v8f16_v8i32(int8 x);
half16 __builtin_spirv_OpConvertSToF_RTZ_v16f16_v16i32(int16 x);
half2 __builtin_spirv_OpConvertSToF_RTP_v2f16_v2i32(int2 x);
half3 __builtin_spirv_OpConvertSToF_RTP_v3f16_v3i32(int3 x);
half4 __builtin_spirv_OpConvertSToF_RTP_v4f16_v4i32(int4 x);
half8 __builtin_spirv_OpConvertSToF_RTP_v8f16_v8i32(int8 x);
half16 __builtin_spirv_OpConvertSToF_RTP_v16f16_v16i32(int16 x);
half2 __builtin_spirv_OpConvertSToF_RTN_v2f16_v2i32(int2 x);
half3 __builtin_spirv_OpConvertSToF_RTN_v3f16_v3i32(int3 x);
half4 __builtin_spirv_OpConvertSToF_RTN_v4f16_v4i32(int4 x);
half8 __builtin_spirv_OpConvertSToF_RTN_v8f16_v8i32(int8 x);
half16 __builtin_spirv_OpConvertSToF_RTN_v16f16_v16i32(int16 x);
half2 __builtin_spirv_OpConvertSToF_v2f16_v2i64(long2 x);
half3 __builtin_spirv_OpConvertSToF_v3f16_v3i64(long3 x);
half4 __builtin_spirv_OpConvertSToF_v4f16_v4i64(long4 x);
half8 __builtin_spirv_OpConvertSToF_v8f16_v8i64(long8 x);
half16 __builtin_spirv_OpConvertSToF_v16f16_v16i64(long16 x);
half2 __builtin_spirv_OpConvertSToF_RTE_v2f16_v2i64(long2 x);
half3 __builtin_spirv_OpConvertSToF_RTE_v3f16_v3i64(long3 x);
half4 __builtin_spirv_OpConvertSToF_RTE_v4f16_v4i64(long4 x);
half8 __builtin_spirv_OpConvertSToF_RTE_v8f16_v8i64(long8 x);
half16 __builtin_spirv_OpConvertSToF_RTE_v16f16_v16i64(long16 x);
half2 __builtin_spirv_OpConvertSToF_RTZ_v2f16_v2i64(long2 x);
half3 __builtin_spirv_OpConvertSToF_RTZ_v3f16_v3i64(long3 x);
half4 __builtin_spirv_OpConvertSToF_RTZ_v4f16_v4i64(long4 x);
half8 __builtin_spirv_OpConvertSToF_RTZ_v8f16_v8i64(long8 x);
half16 __builtin_spirv_OpConvertSToF_RTZ_v16f16_v16i64(long16 x);
half2 __builtin_spirv_OpConvertSToF_RTP_v2f16_v2i64(long2 x);
half3 __builtin_spirv_OpConvertSToF_RTP_v3f16_v3i64(long3 x);
half4 __builtin_spirv_OpConvertSToF_RTP_v4f16_v4i64(long4 x);
half8 __builtin_spirv_OpConvertSToF_RTP_v8f16_v8i64(long8 x);
half16 __builtin_spirv_OpConvertSToF_RTP_v16f16_v16i64(long16 x);
half2 __builtin_spirv_OpConvertSToF_RTN_v2f16_v2i64(long2 x);
half3 __builtin_spirv_OpConvertSToF_RTN_v3f16_v3i64(long3 x);
half4 __builtin_spirv_OpConvertSToF_RTN_v4f16_v4i64(long4 x);
half8 __builtin_spirv_OpConvertSToF_RTN_v8f16_v8i64(long8 x);
half16 __builtin_spirv_OpConvertSToF_RTN_v16f16_v16i64(long16 x);
float2 __builtin_spirv_OpConvertSToF_v2f32_v2i8(char2 x);
float3 __builtin_spirv_OpConvertSToF_v3f32_v3i8(char3 x);
float4 __builtin_spirv_OpConvertSToF_v4f32_v4i8(char4 x);
float8 __builtin_spirv_OpConvertSToF_v8f32_v8i8(char8 x);
float16 __builtin_spirv_OpConvertSToF_v16f32_v16i8(char16 x);
float2 __builtin_spirv_OpConvertSToF_RTE_v2f32_v2i8(char2 x);
float3 __builtin_spirv_OpConvertSToF_RTE_v3f32_v3i8(char3 x);
float4 __builtin_spirv_OpConvertSToF_RTE_v4f32_v4i8(char4 x);
float8 __builtin_spirv_OpConvertSToF_RTE_v8f32_v8i8(char8 x);
float16 __builtin_spirv_OpConvertSToF_RTE_v16f32_v16i8(char16 x);
float2 __builtin_spirv_OpConvertSToF_RTZ_v2f32_v2i8(char2 x);
float3 __builtin_spirv_OpConvertSToF_RTZ_v3f32_v3i8(char3 x);
float4 __builtin_spirv_OpConvertSToF_RTZ_v4f32_v4i8(char4 x);
float8 __builtin_spirv_OpConvertSToF_RTZ_v8f32_v8i8(char8 x);
float16 __builtin_spirv_OpConvertSToF_RTZ_v16f32_v16i8(char16 x);
float2 __builtin_spirv_OpConvertSToF_RTP_v2f32_v2i8(char2 x);
float3 __builtin_spirv_OpConvertSToF_RTP_v3f32_v3i8(char3 x);
float4 __builtin_spirv_OpConvertSToF_RTP_v4f32_v4i8(char4 x);
float8 __builtin_spirv_OpConvertSToF_RTP_v8f32_v8i8(char8 x);
float16 __builtin_spirv_OpConvertSToF_RTP_v16f32_v16i8(char16 x);
float2 __builtin_spirv_OpConvertSToF_RTN_v2f32_v2i8(char2 x);
float3 __builtin_spirv_OpConvertSToF_RTN_v3f32_v3i8(char3 x);
float4 __builtin_spirv_OpConvertSToF_RTN_v4f32_v4i8(char4 x);
float8 __builtin_spirv_OpConvertSToF_RTN_v8f32_v8i8(char8 x);
float16 __builtin_spirv_OpConvertSToF_RTN_v16f32_v16i8(char16 x);
float2 __builtin_spirv_OpConvertSToF_v2f32_v2i16(short2 x);
float3 __builtin_spirv_OpConvertSToF_v3f32_v3i16(short3 x);
float4 __builtin_spirv_OpConvertSToF_v4f32_v4i16(short4 x);
float8 __builtin_spirv_OpConvertSToF_v8f32_v8i16(short8 x);
float16 __builtin_spirv_OpConvertSToF_v16f32_v16i16(short16 x);
float2 __builtin_spirv_OpConvertSToF_RTE_v2f32_v2i16(short2 x);
float3 __builtin_spirv_OpConvertSToF_RTE_v3f32_v3i16(short3 x);
float4 __builtin_spirv_OpConvertSToF_RTE_v4f32_v4i16(short4 x);
float8 __builtin_spirv_OpConvertSToF_RTE_v8f32_v8i16(short8 x);
float16 __builtin_spirv_OpConvertSToF_RTE_v16f32_v16i16(short16 x);
float2 __builtin_spirv_OpConvertSToF_RTZ_v2f32_v2i16(short2 x);
float3 __builtin_spirv_OpConvertSToF_RTZ_v3f32_v3i16(short3 x);
float4 __builtin_spirv_OpConvertSToF_RTZ_v4f32_v4i16(short4 x);
float8 __builtin_spirv_OpConvertSToF_RTZ_v8f32_v8i16(short8 x);
float16 __builtin_spirv_OpConvertSToF_RTZ_v16f32_v16i16(short16 x);
float2 __builtin_spirv_OpConvertSToF_RTP_v2f32_v2i16(short2 x);
float3 __builtin_spirv_OpConvertSToF_RTP_v3f32_v3i16(short3 x);
float4 __builtin_spirv_OpConvertSToF_RTP_v4f32_v4i16(short4 x);
float8 __builtin_spirv_OpConvertSToF_RTP_v8f32_v8i16(short8 x);
float16 __builtin_spirv_OpConvertSToF_RTP_v16f32_v16i16(short16 x);
float2 __builtin_spirv_OpConvertSToF_RTN_v2f32_v2i16(short2 x);
float3 __builtin_spirv_OpConvertSToF_RTN_v3f32_v3i16(short3 x);
float4 __builtin_spirv_OpConvertSToF_RTN_v4f32_v4i16(short4 x);
float8 __builtin_spirv_OpConvertSToF_RTN_v8f32_v8i16(short8 x);
float16 __builtin_spirv_OpConvertSToF_RTN_v16f32_v16i16(short16 x);
float2 __builtin_spirv_OpConvertSToF_v2f32_v2i32(int2 x);
float3 __builtin_spirv_OpConvertSToF_v3f32_v3i32(int3 x);
float4 __builtin_spirv_OpConvertSToF_v4f32_v4i32(int4 x);
float8 __builtin_spirv_OpConvertSToF_v8f32_v8i32(int8 x);
float16 __builtin_spirv_OpConvertSToF_v16f32_v16i32(int16 x);
float2 __builtin_spirv_OpConvertSToF_RTE_v2f32_v2i32(int2 x);
float3 __builtin_spirv_OpConvertSToF_RTE_v3f32_v3i32(int3 x);
float4 __builtin_spirv_OpConvertSToF_RTE_v4f32_v4i32(int4 x);
float8 __builtin_spirv_OpConvertSToF_RTE_v8f32_v8i32(int8 x);
float16 __builtin_spirv_OpConvertSToF_RTE_v16f32_v16i32(int16 x);
float2 __builtin_spirv_OpConvertSToF_RTZ_v2f32_v2i32(int2 x);
float3 __builtin_spirv_OpConvertSToF_RTZ_v3f32_v3i32(int3 x);
float4 __builtin_spirv_OpConvertSToF_RTZ_v4f32_v4i32(int4 x);
float8 __builtin_spirv_OpConvertSToF_RTZ_v8f32_v8i32(int8 x);
float16 __builtin_spirv_OpConvertSToF_RTZ_v16f32_v16i32(int16 x);
float2 __builtin_spirv_OpConvertSToF_RTP_v2f32_v2i32(int2 x);
float3 __builtin_spirv_OpConvertSToF_RTP_v3f32_v3i32(int3 x);
float4 __builtin_spirv_OpConvertSToF_RTP_v4f32_v4i32(int4 x);
float8 __builtin_spirv_OpConvertSToF_RTP_v8f32_v8i32(int8 x);
float16 __builtin_spirv_OpConvertSToF_RTP_v16f32_v16i32(int16 x);
float2 __builtin_spirv_OpConvertSToF_RTN_v2f32_v2i32(int2 x);
float3 __builtin_spirv_OpConvertSToF_RTN_v3f32_v3i32(int3 x);
float4 __builtin_spirv_OpConvertSToF_RTN_v4f32_v4i32(int4 x);
float8 __builtin_spirv_OpConvertSToF_RTN_v8f32_v8i32(int8 x);
float16 __builtin_spirv_OpConvertSToF_RTN_v16f32_v16i32(int16 x);
float2 __builtin_spirv_OpConvertSToF_v2f32_v2i64(long2 x);
float3 __builtin_spirv_OpConvertSToF_v3f32_v3i64(long3 x);
float4 __builtin_spirv_OpConvertSToF_v4f32_v4i64(long4 x);
float8 __builtin_spirv_OpConvertSToF_v8f32_v8i64(long8 x);
float16 __builtin_spirv_OpConvertSToF_v16f32_v16i64(long16 x);
float2 __builtin_spirv_OpConvertSToF_RTE_v2f32_v2i64(long2 x);
float3 __builtin_spirv_OpConvertSToF_RTE_v3f32_v3i64(long3 x);
float4 __builtin_spirv_OpConvertSToF_RTE_v4f32_v4i64(long4 x);
float8 __builtin_spirv_OpConvertSToF_RTE_v8f32_v8i64(long8 x);
float16 __builtin_spirv_OpConvertSToF_RTE_v16f32_v16i64(long16 x);
float2 __builtin_spirv_OpConvertSToF_RTZ_v2f32_v2i64(long2 x);
float3 __builtin_spirv_OpConvertSToF_RTZ_v3f32_v3i64(long3 x);
float4 __builtin_spirv_OpConvertSToF_RTZ_v4f32_v4i64(long4 x);
float8 __builtin_spirv_OpConvertSToF_RTZ_v8f32_v8i64(long8 x);
float16 __builtin_spirv_OpConvertSToF_RTZ_v16f32_v16i64(long16 x);
float2 __builtin_spirv_OpConvertSToF_RTP_v2f32_v2i64(long2 x);
float3 __builtin_spirv_OpConvertSToF_RTP_v3f32_v3i64(long3 x);
float4 __builtin_spirv_OpConvertSToF_RTP_v4f32_v4i64(long4 x);
float8 __builtin_spirv_OpConvertSToF_RTP_v8f32_v8i64(long8 x);
float16 __builtin_spirv_OpConvertSToF_RTP_v16f32_v16i64(long16 x);
float2 __builtin_spirv_OpConvertSToF_RTN_v2f32_v2i64(long2 x);
float3 __builtin_spirv_OpConvertSToF_RTN_v3f32_v3i64(long3 x);
float4 __builtin_spirv_OpConvertSToF_RTN_v4f32_v4i64(long4 x);
float8 __builtin_spirv_OpConvertSToF_RTN_v8f32_v8i64(long8 x);
float16 __builtin_spirv_OpConvertSToF_RTN_v16f32_v16i64(long16 x);
#if defined(cl_khr_fp64)
double2 __builtin_spirv_OpConvertSToF_v2f64_v2i8(char2 x);
double3 __builtin_spirv_OpConvertSToF_v3f64_v3i8(char3 x);
double4 __builtin_spirv_OpConvertSToF_v4f64_v4i8(char4 x);
double8 __builtin_spirv_OpConvertSToF_v8f64_v8i8(char8 x);
double16 __builtin_spirv_OpConvertSToF_v16f64_v16i8(char16 x);
double2 __builtin_spirv_OpConvertSToF_RTE_v2f64_v2i8(char2 x);
double3 __builtin_spirv_OpConvertSToF_RTE_v3f64_v3i8(char3 x);
double4 __builtin_spirv_OpConvertSToF_RTE_v4f64_v4i8(char4 x);
double8 __builtin_spirv_OpConvertSToF_RTE_v8f64_v8i8(char8 x);
double16 __builtin_spirv_OpConvertSToF_RTE_v16f64_v16i8(char16 x);
double2 __builtin_spirv_OpConvertSToF_RTZ_v2f64_v2i8(char2 x);
double3 __builtin_spirv_OpConvertSToF_RTZ_v3f64_v3i8(char3 x);
double4 __builtin_spirv_OpConvertSToF_RTZ_v4f64_v4i8(char4 x);
double8 __builtin_spirv_OpConvertSToF_RTZ_v8f64_v8i8(char8 x);
double16 __builtin_spirv_OpConvertSToF_RTZ_v16f64_v16i8(char16 x);
double2 __builtin_spirv_OpConvertSToF_RTP_v2f64_v2i8(char2 x);
double3 __builtin_spirv_OpConvertSToF_RTP_v3f64_v3i8(char3 x);
double4 __builtin_spirv_OpConvertSToF_RTP_v4f64_v4i8(char4 x);
double8 __builtin_spirv_OpConvertSToF_RTP_v8f64_v8i8(char8 x);
double16 __builtin_spirv_OpConvertSToF_RTP_v16f64_v16i8(char16 x);
double2 __builtin_spirv_OpConvertSToF_RTN_v2f64_v2i8(char2 x);
double3 __builtin_spirv_OpConvertSToF_RTN_v3f64_v3i8(char3 x);
double4 __builtin_spirv_OpConvertSToF_RTN_v4f64_v4i8(char4 x);
double8 __builtin_spirv_OpConvertSToF_RTN_v8f64_v8i8(char8 x);
double16 __builtin_spirv_OpConvertSToF_RTN_v16f64_v16i8(char16 x);
double2 __builtin_spirv_OpConvertSToF_v2f64_v2i16(short2 x);
double3 __builtin_spirv_OpConvertSToF_v3f64_v3i16(short3 x);
double4 __builtin_spirv_OpConvertSToF_v4f64_v4i16(short4 x);
double8 __builtin_spirv_OpConvertSToF_v8f64_v8i16(short8 x);
double16 __builtin_spirv_OpConvertSToF_v16f64_v16i16(short16 x);
double2 __builtin_spirv_OpConvertSToF_RTE_v2f64_v2i16(short2 x);
double3 __builtin_spirv_OpConvertSToF_RTE_v3f64_v3i16(short3 x);
double4 __builtin_spirv_OpConvertSToF_RTE_v4f64_v4i16(short4 x);
double8 __builtin_spirv_OpConvertSToF_RTE_v8f64_v8i16(short8 x);
double16 __builtin_spirv_OpConvertSToF_RTE_v16f64_v16i16(short16 x);
double2 __builtin_spirv_OpConvertSToF_RTZ_v2f64_v2i16(short2 x);
double3 __builtin_spirv_OpConvertSToF_RTZ_v3f64_v3i16(short3 x);
double4 __builtin_spirv_OpConvertSToF_RTZ_v4f64_v4i16(short4 x);
double8 __builtin_spirv_OpConvertSToF_RTZ_v8f64_v8i16(short8 x);
double16 __builtin_spirv_OpConvertSToF_RTZ_v16f64_v16i16(short16 x);
double2 __builtin_spirv_OpConvertSToF_RTP_v2f64_v2i16(short2 x);
double3 __builtin_spirv_OpConvertSToF_RTP_v3f64_v3i16(short3 x);
double4 __builtin_spirv_OpConvertSToF_RTP_v4f64_v4i16(short4 x);
double8 __builtin_spirv_OpConvertSToF_RTP_v8f64_v8i16(short8 x);
double16 __builtin_spirv_OpConvertSToF_RTP_v16f64_v16i16(short16 x);
double2 __builtin_spirv_OpConvertSToF_RTN_v2f64_v2i16(short2 x);
double3 __builtin_spirv_OpConvertSToF_RTN_v3f64_v3i16(short3 x);
double4 __builtin_spirv_OpConvertSToF_RTN_v4f64_v4i16(short4 x);
double8 __builtin_spirv_OpConvertSToF_RTN_v8f64_v8i16(short8 x);
double16 __builtin_spirv_OpConvertSToF_RTN_v16f64_v16i16(short16 x);
double2 __builtin_spirv_OpConvertSToF_v2f64_v2i32(int2 x);
double3 __builtin_spirv_OpConvertSToF_v3f64_v3i32(int3 x);
double4 __builtin_spirv_OpConvertSToF_v4f64_v4i32(int4 x);
double8 __builtin_spirv_OpConvertSToF_v8f64_v8i32(int8 x);
double16 __builtin_spirv_OpConvertSToF_v16f64_v16i32(int16 x);
double2 __builtin_spirv_OpConvertSToF_RTE_v2f64_v2i32(int2 x);
double3 __builtin_spirv_OpConvertSToF_RTE_v3f64_v3i32(int3 x);
double4 __builtin_spirv_OpConvertSToF_RTE_v4f64_v4i32(int4 x);
double8 __builtin_spirv_OpConvertSToF_RTE_v8f64_v8i32(int8 x);
double16 __builtin_spirv_OpConvertSToF_RTE_v16f64_v16i32(int16 x);
double2 __builtin_spirv_OpConvertSToF_RTZ_v2f64_v2i32(int2 x);
double3 __builtin_spirv_OpConvertSToF_RTZ_v3f64_v3i32(int3 x);
double4 __builtin_spirv_OpConvertSToF_RTZ_v4f64_v4i32(int4 x);
double8 __builtin_spirv_OpConvertSToF_RTZ_v8f64_v8i32(int8 x);
double16 __builtin_spirv_OpConvertSToF_RTZ_v16f64_v16i32(int16 x);
double2 __builtin_spirv_OpConvertSToF_RTP_v2f64_v2i32(int2 x);
double3 __builtin_spirv_OpConvertSToF_RTP_v3f64_v3i32(int3 x);
double4 __builtin_spirv_OpConvertSToF_RTP_v4f64_v4i32(int4 x);
double8 __builtin_spirv_OpConvertSToF_RTP_v8f64_v8i32(int8 x);
double16 __builtin_spirv_OpConvertSToF_RTP_v16f64_v16i32(int16 x);
double2 __builtin_spirv_OpConvertSToF_RTN_v2f64_v2i32(int2 x);
double3 __builtin_spirv_OpConvertSToF_RTN_v3f64_v3i32(int3 x);
double4 __builtin_spirv_OpConvertSToF_RTN_v4f64_v4i32(int4 x);
double8 __builtin_spirv_OpConvertSToF_RTN_v8f64_v8i32(int8 x);
double16 __builtin_spirv_OpConvertSToF_RTN_v16f64_v16i32(int16 x);
double2 __builtin_spirv_OpConvertSToF_v2f64_v2i64(long2 x);
double3 __builtin_spirv_OpConvertSToF_v3f64_v3i64(long3 x);
double4 __builtin_spirv_OpConvertSToF_v4f64_v4i64(long4 x);
double8 __builtin_spirv_OpConvertSToF_v8f64_v8i64(long8 x);
double16 __builtin_spirv_OpConvertSToF_v16f64_v16i64(long16 x);
double2 __builtin_spirv_OpConvertSToF_RTE_v2f64_v2i64(long2 x);
double3 __builtin_spirv_OpConvertSToF_RTE_v3f64_v3i64(long3 x);
double4 __builtin_spirv_OpConvertSToF_RTE_v4f64_v4i64(long4 x);
double8 __builtin_spirv_OpConvertSToF_RTE_v8f64_v8i64(long8 x);
double16 __builtin_spirv_OpConvertSToF_RTE_v16f64_v16i64(long16 x);
double2 __builtin_spirv_OpConvertSToF_RTZ_v2f64_v2i64(long2 x);
double3 __builtin_spirv_OpConvertSToF_RTZ_v3f64_v3i64(long3 x);
double4 __builtin_spirv_OpConvertSToF_RTZ_v4f64_v4i64(long4 x);
double8 __builtin_spirv_OpConvertSToF_RTZ_v8f64_v8i64(long8 x);
double16 __builtin_spirv_OpConvertSToF_RTZ_v16f64_v16i64(long16 x);
double2 __builtin_spirv_OpConvertSToF_RTP_v2f64_v2i64(long2 x);
double3 __builtin_spirv_OpConvertSToF_RTP_v3f64_v3i64(long3 x);
double4 __builtin_spirv_OpConvertSToF_RTP_v4f64_v4i64(long4 x);
double8 __builtin_spirv_OpConvertSToF_RTP_v8f64_v8i64(long8 x);
double16 __builtin_spirv_OpConvertSToF_RTP_v16f64_v16i64(long16 x);
double2 __builtin_spirv_OpConvertSToF_RTN_v2f64_v2i64(long2 x);
double3 __builtin_spirv_OpConvertSToF_RTN_v3f64_v3i64(long3 x);
double4 __builtin_spirv_OpConvertSToF_RTN_v4f64_v4i64(long4 x);
double8 __builtin_spirv_OpConvertSToF_RTN_v8f64_v8i64(long8 x);
double16 __builtin_spirv_OpConvertSToF_RTN_v16f64_v16i64(long16 x);
#endif // defined(cl_khr_fp64)
half2 __builtin_spirv_OpConvertUToF_v2f16_v2i8(uchar2 x);
half3 __builtin_spirv_OpConvertUToF_v3f16_v3i8(uchar3 x);
half4 __builtin_spirv_OpConvertUToF_v4f16_v4i8(uchar4 x);
half8 __builtin_spirv_OpConvertUToF_v8f16_v8i8(uchar8 x);
half16 __builtin_spirv_OpConvertUToF_v16f16_v16i8(uchar16 x);
half2 __builtin_spirv_OpConvertUToF_RTE_v2f16_v2i8(uchar2 x);
half3 __builtin_spirv_OpConvertUToF_RTE_v3f16_v3i8(uchar3 x);
half4 __builtin_spirv_OpConvertUToF_RTE_v4f16_v4i8(uchar4 x);
half8 __builtin_spirv_OpConvertUToF_RTE_v8f16_v8i8(uchar8 x);
half16 __builtin_spirv_OpConvertUToF_RTE_v16f16_v16i8(uchar16 x);
half2 __builtin_spirv_OpConvertUToF_RTZ_v2f16_v2i8(uchar2 x);
half3 __builtin_spirv_OpConvertUToF_RTZ_v3f16_v3i8(uchar3 x);
half4 __builtin_spirv_OpConvertUToF_RTZ_v4f16_v4i8(uchar4 x);
half8 __builtin_spirv_OpConvertUToF_RTZ_v8f16_v8i8(uchar8 x);
half16 __builtin_spirv_OpConvertUToF_RTZ_v16f16_v16i8(uchar16 x);
half2 __builtin_spirv_OpConvertUToF_RTP_v2f16_v2i8(uchar2 x);
half3 __builtin_spirv_OpConvertUToF_RTP_v3f16_v3i8(uchar3 x);
half4 __builtin_spirv_OpConvertUToF_RTP_v4f16_v4i8(uchar4 x);
half8 __builtin_spirv_OpConvertUToF_RTP_v8f16_v8i8(uchar8 x);
half16 __builtin_spirv_OpConvertUToF_RTP_v16f16_v16i8(uchar16 x);
half2 __builtin_spirv_OpConvertUToF_RTN_v2f16_v2i8(uchar2 x);
half3 __builtin_spirv_OpConvertUToF_RTN_v3f16_v3i8(uchar3 x);
half4 __builtin_spirv_OpConvertUToF_RTN_v4f16_v4i8(uchar4 x);
half8 __builtin_spirv_OpConvertUToF_RTN_v8f16_v8i8(uchar8 x);
half16 __builtin_spirv_OpConvertUToF_RTN_v16f16_v16i8(uchar16 x);
half2 __builtin_spirv_OpConvertUToF_v2f16_v2i16(ushort2 x);
half3 __builtin_spirv_OpConvertUToF_v3f16_v3i16(ushort3 x);
half4 __builtin_spirv_OpConvertUToF_v4f16_v4i16(ushort4 x);
half8 __builtin_spirv_OpConvertUToF_v8f16_v8i16(ushort8 x);
half16 __builtin_spirv_OpConvertUToF_v16f16_v16i16(ushort16 x);
half2 __builtin_spirv_OpConvertUToF_RTE_v2f16_v2i16(ushort2 x);
half3 __builtin_spirv_OpConvertUToF_RTE_v3f16_v3i16(ushort3 x);
half4 __builtin_spirv_OpConvertUToF_RTE_v4f16_v4i16(ushort4 x);
half8 __builtin_spirv_OpConvertUToF_RTE_v8f16_v8i16(ushort8 x);
half16 __builtin_spirv_OpConvertUToF_RTE_v16f16_v16i16(ushort16 x);
half2 __builtin_spirv_OpConvertUToF_RTZ_v2f16_v2i16(ushort2 x);
half3 __builtin_spirv_OpConvertUToF_RTZ_v3f16_v3i16(ushort3 x);
half4 __builtin_spirv_OpConvertUToF_RTZ_v4f16_v4i16(ushort4 x);
half8 __builtin_spirv_OpConvertUToF_RTZ_v8f16_v8i16(ushort8 x);
half16 __builtin_spirv_OpConvertUToF_RTZ_v16f16_v16i16(ushort16 x);
half2 __builtin_spirv_OpConvertUToF_RTP_v2f16_v2i16(ushort2 x);
half3 __builtin_spirv_OpConvertUToF_RTP_v3f16_v3i16(ushort3 x);
half4 __builtin_spirv_OpConvertUToF_RTP_v4f16_v4i16(ushort4 x);
half8 __builtin_spirv_OpConvertUToF_RTP_v8f16_v8i16(ushort8 x);
half16 __builtin_spirv_OpConvertUToF_RTP_v16f16_v16i16(ushort16 x);
half2 __builtin_spirv_OpConvertUToF_RTN_v2f16_v2i16(ushort2 x);
half3 __builtin_spirv_OpConvertUToF_RTN_v3f16_v3i16(ushort3 x);
half4 __builtin_spirv_OpConvertUToF_RTN_v4f16_v4i16(ushort4 x);
half8 __builtin_spirv_OpConvertUToF_RTN_v8f16_v8i16(ushort8 x);
half16 __builtin_spirv_OpConvertUToF_RTN_v16f16_v16i16(ushort16 x);
half2 __builtin_spirv_OpConvertUToF_v2f16_v2i32(uint2 x);
half3 __builtin_spirv_OpConvertUToF_v3f16_v3i32(uint3 x);
half4 __builtin_spirv_OpConvertUToF_v4f16_v4i32(uint4 x);
half8 __builtin_spirv_OpConvertUToF_v8f16_v8i32(uint8 x);
half16 __builtin_spirv_OpConvertUToF_v16f16_v16i32(uint16 x);
half2 __builtin_spirv_OpConvertUToF_RTE_v2f16_v2i32(uint2 x);
half3 __builtin_spirv_OpConvertUToF_RTE_v3f16_v3i32(uint3 x);
half4 __builtin_spirv_OpConvertUToF_RTE_v4f16_v4i32(uint4 x);
half8 __builtin_spirv_OpConvertUToF_RTE_v8f16_v8i32(uint8 x);
half16 __builtin_spirv_OpConvertUToF_RTE_v16f16_v16i32(uint16 x);
half2 __builtin_spirv_OpConvertUToF_RTZ_v2f16_v2i32(uint2 x);
half3 __builtin_spirv_OpConvertUToF_RTZ_v3f16_v3i32(uint3 x);
half4 __builtin_spirv_OpConvertUToF_RTZ_v4f16_v4i32(uint4 x);
half8 __builtin_spirv_OpConvertUToF_RTZ_v8f16_v8i32(uint8 x);
half16 __builtin_spirv_OpConvertUToF_RTZ_v16f16_v16i32(uint16 x);
half2 __builtin_spirv_OpConvertUToF_RTP_v2f16_v2i32(uint2 x);
half3 __builtin_spirv_OpConvertUToF_RTP_v3f16_v3i32(uint3 x);
half4 __builtin_spirv_OpConvertUToF_RTP_v4f16_v4i32(uint4 x);
half8 __builtin_spirv_OpConvertUToF_RTP_v8f16_v8i32(uint8 x);
half16 __builtin_spirv_OpConvertUToF_RTP_v16f16_v16i32(uint16 x);
half2 __builtin_spirv_OpConvertUToF_RTN_v2f16_v2i32(uint2 x);
half3 __builtin_spirv_OpConvertUToF_RTN_v3f16_v3i32(uint3 x);
half4 __builtin_spirv_OpConvertUToF_RTN_v4f16_v4i32(uint4 x);
half8 __builtin_spirv_OpConvertUToF_RTN_v8f16_v8i32(uint8 x);
half16 __builtin_spirv_OpConvertUToF_RTN_v16f16_v16i32(uint16 x);
half2 __builtin_spirv_OpConvertUToF_v2f16_v2i64(ulong2 x);
half3 __builtin_spirv_OpConvertUToF_v3f16_v3i64(ulong3 x);
half4 __builtin_spirv_OpConvertUToF_v4f16_v4i64(ulong4 x);
half8 __builtin_spirv_OpConvertUToF_v8f16_v8i64(ulong8 x);
half16 __builtin_spirv_OpConvertUToF_v16f16_v16i64(ulong16 x);
half2 __builtin_spirv_OpConvertUToF_RTE_v2f16_v2i64(ulong2 x);
half3 __builtin_spirv_OpConvertUToF_RTE_v3f16_v3i64(ulong3 x);
half4 __builtin_spirv_OpConvertUToF_RTE_v4f16_v4i64(ulong4 x);
half8 __builtin_spirv_OpConvertUToF_RTE_v8f16_v8i64(ulong8 x);
half16 __builtin_spirv_OpConvertUToF_RTE_v16f16_v16i64(ulong16 x);
half2 __builtin_spirv_OpConvertUToF_RTZ_v2f16_v2i64(ulong2 x);
half3 __builtin_spirv_OpConvertUToF_RTZ_v3f16_v3i64(ulong3 x);
half4 __builtin_spirv_OpConvertUToF_RTZ_v4f16_v4i64(ulong4 x);
half8 __builtin_spirv_OpConvertUToF_RTZ_v8f16_v8i64(ulong8 x);
half16 __builtin_spirv_OpConvertUToF_RTZ_v16f16_v16i64(ulong16 x);
half2 __builtin_spirv_OpConvertUToF_RTP_v2f16_v2i64(ulong2 x);
half3 __builtin_spirv_OpConvertUToF_RTP_v3f16_v3i64(ulong3 x);
half4 __builtin_spirv_OpConvertUToF_RTP_v4f16_v4i64(ulong4 x);
half8 __builtin_spirv_OpConvertUToF_RTP_v8f16_v8i64(ulong8 x);
half16 __builtin_spirv_OpConvertUToF_RTP_v16f16_v16i64(ulong16 x);
half2 __builtin_spirv_OpConvertUToF_RTN_v2f16_v2i64(ulong2 x);
half3 __builtin_spirv_OpConvertUToF_RTN_v3f16_v3i64(ulong3 x);
half4 __builtin_spirv_OpConvertUToF_RTN_v4f16_v4i64(ulong4 x);
half8 __builtin_spirv_OpConvertUToF_RTN_v8f16_v8i64(ulong8 x);
half16 __builtin_spirv_OpConvertUToF_RTN_v16f16_v16i64(ulong16 x);
float2 __builtin_spirv_OpConvertUToF_v2f32_v2i8(uchar2 x);
float3 __builtin_spirv_OpConvertUToF_v3f32_v3i8(uchar3 x);
float4 __builtin_spirv_OpConvertUToF_v4f32_v4i8(uchar4 x);
float8 __builtin_spirv_OpConvertUToF_v8f32_v8i8(uchar8 x);
float16 __builtin_spirv_OpConvertUToF_v16f32_v16i8(uchar16 x);
float2 __builtin_spirv_OpConvertUToF_RTE_v2f32_v2i8(uchar2 x);
float3 __builtin_spirv_OpConvertUToF_RTE_v3f32_v3i8(uchar3 x);
float4 __builtin_spirv_OpConvertUToF_RTE_v4f32_v4i8(uchar4 x);
float8 __builtin_spirv_OpConvertUToF_RTE_v8f32_v8i8(uchar8 x);
float16 __builtin_spirv_OpConvertUToF_RTE_v16f32_v16i8(uchar16 x);
float2 __builtin_spirv_OpConvertUToF_RTZ_v2f32_v2i8(uchar2 x);
float3 __builtin_spirv_OpConvertUToF_RTZ_v3f32_v3i8(uchar3 x);
float4 __builtin_spirv_OpConvertUToF_RTZ_v4f32_v4i8(uchar4 x);
float8 __builtin_spirv_OpConvertUToF_RTZ_v8f32_v8i8(uchar8 x);
float16 __builtin_spirv_OpConvertUToF_RTZ_v16f32_v16i8(uchar16 x);
float2 __builtin_spirv_OpConvertUToF_RTP_v2f32_v2i8(uchar2 x);
float3 __builtin_spirv_OpConvertUToF_RTP_v3f32_v3i8(uchar3 x);
float4 __builtin_spirv_OpConvertUToF_RTP_v4f32_v4i8(uchar4 x);
float8 __builtin_spirv_OpConvertUToF_RTP_v8f32_v8i8(uchar8 x);
float16 __builtin_spirv_OpConvertUToF_RTP_v16f32_v16i8(uchar16 x);
float2 __builtin_spirv_OpConvertUToF_RTN_v2f32_v2i8(uchar2 x);
float3 __builtin_spirv_OpConvertUToF_RTN_v3f32_v3i8(uchar3 x);
float4 __builtin_spirv_OpConvertUToF_RTN_v4f32_v4i8(uchar4 x);
float8 __builtin_spirv_OpConvertUToF_RTN_v8f32_v8i8(uchar8 x);
float16 __builtin_spirv_OpConvertUToF_RTN_v16f32_v16i8(uchar16 x);
float2 __builtin_spirv_OpConvertUToF_v2f32_v2i16(ushort2 x);
float3 __builtin_spirv_OpConvertUToF_v3f32_v3i16(ushort3 x);
float4 __builtin_spirv_OpConvertUToF_v4f32_v4i16(ushort4 x);
float8 __builtin_spirv_OpConvertUToF_v8f32_v8i16(ushort8 x);
float16 __builtin_spirv_OpConvertUToF_v16f32_v16i16(ushort16 x);
float2 __builtin_spirv_OpConvertUToF_RTE_v2f32_v2i16(ushort2 x);
float3 __builtin_spirv_OpConvertUToF_RTE_v3f32_v3i16(ushort3 x);
float4 __builtin_spirv_OpConvertUToF_RTE_v4f32_v4i16(ushort4 x);
float8 __builtin_spirv_OpConvertUToF_RTE_v8f32_v8i16(ushort8 x);
float16 __builtin_spirv_OpConvertUToF_RTE_v16f32_v16i16(ushort16 x);
float2 __builtin_spirv_OpConvertUToF_RTZ_v2f32_v2i16(ushort2 x);
float3 __builtin_spirv_OpConvertUToF_RTZ_v3f32_v3i16(ushort3 x);
float4 __builtin_spirv_OpConvertUToF_RTZ_v4f32_v4i16(ushort4 x);
float8 __builtin_spirv_OpConvertUToF_RTZ_v8f32_v8i16(ushort8 x);
float16 __builtin_spirv_OpConvertUToF_RTZ_v16f32_v16i16(ushort16 x);
float2 __builtin_spirv_OpConvertUToF_RTP_v2f32_v2i16(ushort2 x);
float3 __builtin_spirv_OpConvertUToF_RTP_v3f32_v3i16(ushort3 x);
float4 __builtin_spirv_OpConvertUToF_RTP_v4f32_v4i16(ushort4 x);
float8 __builtin_spirv_OpConvertUToF_RTP_v8f32_v8i16(ushort8 x);
float16 __builtin_spirv_OpConvertUToF_RTP_v16f32_v16i16(ushort16 x);
float2 __builtin_spirv_OpConvertUToF_RTN_v2f32_v2i16(ushort2 x);
float3 __builtin_spirv_OpConvertUToF_RTN_v3f32_v3i16(ushort3 x);
float4 __builtin_spirv_OpConvertUToF_RTN_v4f32_v4i16(ushort4 x);
float8 __builtin_spirv_OpConvertUToF_RTN_v8f32_v8i16(ushort8 x);
float16 __builtin_spirv_OpConvertUToF_RTN_v16f32_v16i16(ushort16 x);
float2 __builtin_spirv_OpConvertUToF_v2f32_v2i32(uint2 x);
float3 __builtin_spirv_OpConvertUToF_v3f32_v3i32(uint3 x);
float4 __builtin_spirv_OpConvertUToF_v4f32_v4i32(uint4 x);
float8 __builtin_spirv_OpConvertUToF_v8f32_v8i32(uint8 x);
float16 __builtin_spirv_OpConvertUToF_v16f32_v16i32(uint16 x);
float2 __builtin_spirv_OpConvertUToF_RTE_v2f32_v2i32(uint2 x);
float3 __builtin_spirv_OpConvertUToF_RTE_v3f32_v3i32(uint3 x);
float4 __builtin_spirv_OpConvertUToF_RTE_v4f32_v4i32(uint4 x);
float8 __builtin_spirv_OpConvertUToF_RTE_v8f32_v8i32(uint8 x);
float16 __builtin_spirv_OpConvertUToF_RTE_v16f32_v16i32(uint16 x);
float2 __builtin_spirv_OpConvertUToF_RTZ_v2f32_v2i32(uint2 x);
float3 __builtin_spirv_OpConvertUToF_RTZ_v3f32_v3i32(uint3 x);
float4 __builtin_spirv_OpConvertUToF_RTZ_v4f32_v4i32(uint4 x);
float8 __builtin_spirv_OpConvertUToF_RTZ_v8f32_v8i32(uint8 x);
float16 __builtin_spirv_OpConvertUToF_RTZ_v16f32_v16i32(uint16 x);
float2 __builtin_spirv_OpConvertUToF_RTP_v2f32_v2i32(uint2 x);
float3 __builtin_spirv_OpConvertUToF_RTP_v3f32_v3i32(uint3 x);
float4 __builtin_spirv_OpConvertUToF_RTP_v4f32_v4i32(uint4 x);
float8 __builtin_spirv_OpConvertUToF_RTP_v8f32_v8i32(uint8 x);
float16 __builtin_spirv_OpConvertUToF_RTP_v16f32_v16i32(uint16 x);
float2 __builtin_spirv_OpConvertUToF_RTN_v2f32_v2i32(uint2 x);
float3 __builtin_spirv_OpConvertUToF_RTN_v3f32_v3i32(uint3 x);
float4 __builtin_spirv_OpConvertUToF_RTN_v4f32_v4i32(uint4 x);
float8 __builtin_spirv_OpConvertUToF_RTN_v8f32_v8i32(uint8 x);
float16 __builtin_spirv_OpConvertUToF_RTN_v16f32_v16i32(uint16 x);
float2 __builtin_spirv_OpConvertUToF_v2f32_v2i64(ulong2 x);
float3 __builtin_spirv_OpConvertUToF_v3f32_v3i64(ulong3 x);
float4 __builtin_spirv_OpConvertUToF_v4f32_v4i64(ulong4 x);
float8 __builtin_spirv_OpConvertUToF_v8f32_v8i64(ulong8 x);
float16 __builtin_spirv_OpConvertUToF_v16f32_v16i64(ulong16 x);
float2 __builtin_spirv_OpConvertUToF_RTE_v2f32_v2i64(ulong2 x);
float3 __builtin_spirv_OpConvertUToF_RTE_v3f32_v3i64(ulong3 x);
float4 __builtin_spirv_OpConvertUToF_RTE_v4f32_v4i64(ulong4 x);
float8 __builtin_spirv_OpConvertUToF_RTE_v8f32_v8i64(ulong8 x);
float16 __builtin_spirv_OpConvertUToF_RTE_v16f32_v16i64(ulong16 x);
float2 __builtin_spirv_OpConvertUToF_RTZ_v2f32_v2i64(ulong2 x);
float3 __builtin_spirv_OpConvertUToF_RTZ_v3f32_v3i64(ulong3 x);
float4 __builtin_spirv_OpConvertUToF_RTZ_v4f32_v4i64(ulong4 x);
float8 __builtin_spirv_OpConvertUToF_RTZ_v8f32_v8i64(ulong8 x);
float16 __builtin_spirv_OpConvertUToF_RTZ_v16f32_v16i64(ulong16 x);
float2 __builtin_spirv_OpConvertUToF_RTP_v2f32_v2i64(ulong2 x);
float3 __builtin_spirv_OpConvertUToF_RTP_v3f32_v3i64(ulong3 x);
float4 __builtin_spirv_OpConvertUToF_RTP_v4f32_v4i64(ulong4 x);
float8 __builtin_spirv_OpConvertUToF_RTP_v8f32_v8i64(ulong8 x);
float16 __builtin_spirv_OpConvertUToF_RTP_v16f32_v16i64(ulong16 x);
float2 __builtin_spirv_OpConvertUToF_RTN_v2f32_v2i64(ulong2 x);
float3 __builtin_spirv_OpConvertUToF_RTN_v3f32_v3i64(ulong3 x);
float4 __builtin_spirv_OpConvertUToF_RTN_v4f32_v4i64(ulong4 x);
float8 __builtin_spirv_OpConvertUToF_RTN_v8f32_v8i64(ulong8 x);
float16 __builtin_spirv_OpConvertUToF_RTN_v16f32_v16i64(ulong16 x);
#if defined(cl_khr_fp64)
double2 __builtin_spirv_OpConvertUToF_v2f64_v2i8(uchar2 x);
double3 __builtin_spirv_OpConvertUToF_v3f64_v3i8(uchar3 x);
double4 __builtin_spirv_OpConvertUToF_v4f64_v4i8(uchar4 x);
double8 __builtin_spirv_OpConvertUToF_v8f64_v8i8(uchar8 x);
double16 __builtin_spirv_OpConvertUToF_v16f64_v16i8(uchar16 x);
double2 __builtin_spirv_OpConvertUToF_RTE_v2f64_v2i8(uchar2 x);
double3 __builtin_spirv_OpConvertUToF_RTE_v3f64_v3i8(uchar3 x);
double4 __builtin_spirv_OpConvertUToF_RTE_v4f64_v4i8(uchar4 x);
double8 __builtin_spirv_OpConvertUToF_RTE_v8f64_v8i8(uchar8 x);
double16 __builtin_spirv_OpConvertUToF_RTE_v16f64_v16i8(uchar16 x);
double2 __builtin_spirv_OpConvertUToF_RTZ_v2f64_v2i8(uchar2 x);
double3 __builtin_spirv_OpConvertUToF_RTZ_v3f64_v3i8(uchar3 x);
double4 __builtin_spirv_OpConvertUToF_RTZ_v4f64_v4i8(uchar4 x);
double8 __builtin_spirv_OpConvertUToF_RTZ_v8f64_v8i8(uchar8 x);
double16 __builtin_spirv_OpConvertUToF_RTZ_v16f64_v16i8(uchar16 x);
double2 __builtin_spirv_OpConvertUToF_RTP_v2f64_v2i8(uchar2 x);
double3 __builtin_spirv_OpConvertUToF_RTP_v3f64_v3i8(uchar3 x);
double4 __builtin_spirv_OpConvertUToF_RTP_v4f64_v4i8(uchar4 x);
double8 __builtin_spirv_OpConvertUToF_RTP_v8f64_v8i8(uchar8 x);
double16 __builtin_spirv_OpConvertUToF_RTP_v16f64_v16i8(uchar16 x);
double2 __builtin_spirv_OpConvertUToF_RTN_v2f64_v2i8(uchar2 x);
double3 __builtin_spirv_OpConvertUToF_RTN_v3f64_v3i8(uchar3 x);
double4 __builtin_spirv_OpConvertUToF_RTN_v4f64_v4i8(uchar4 x);
double8 __builtin_spirv_OpConvertUToF_RTN_v8f64_v8i8(uchar8 x);
double16 __builtin_spirv_OpConvertUToF_RTN_v16f64_v16i8(uchar16 x);
double2 __builtin_spirv_OpConvertUToF_v2f64_v2i16(ushort2 x);
double3 __builtin_spirv_OpConvertUToF_v3f64_v3i16(ushort3 x);
double4 __builtin_spirv_OpConvertUToF_v4f64_v4i16(ushort4 x);
double8 __builtin_spirv_OpConvertUToF_v8f64_v8i16(ushort8 x);
double16 __builtin_spirv_OpConvertUToF_v16f64_v16i16(ushort16 x);
double2 __builtin_spirv_OpConvertUToF_RTE_v2f64_v2i16(ushort2 x);
double3 __builtin_spirv_OpConvertUToF_RTE_v3f64_v3i16(ushort3 x);
double4 __builtin_spirv_OpConvertUToF_RTE_v4f64_v4i16(ushort4 x);
double8 __builtin_spirv_OpConvertUToF_RTE_v8f64_v8i16(ushort8 x);
double16 __builtin_spirv_OpConvertUToF_RTE_v16f64_v16i16(ushort16 x);
double2 __builtin_spirv_OpConvertUToF_RTZ_v2f64_v2i16(ushort2 x);
double3 __builtin_spirv_OpConvertUToF_RTZ_v3f64_v3i16(ushort3 x);
double4 __builtin_spirv_OpConvertUToF_RTZ_v4f64_v4i16(ushort4 x);
double8 __builtin_spirv_OpConvertUToF_RTZ_v8f64_v8i16(ushort8 x);
double16 __builtin_spirv_OpConvertUToF_RTZ_v16f64_v16i16(ushort16 x);
double2 __builtin_spirv_OpConvertUToF_RTP_v2f64_v2i16(ushort2 x);
double3 __builtin_spirv_OpConvertUToF_RTP_v3f64_v3i16(ushort3 x);
double4 __builtin_spirv_OpConvertUToF_RTP_v4f64_v4i16(ushort4 x);
double8 __builtin_spirv_OpConvertUToF_RTP_v8f64_v8i16(ushort8 x);
double16 __builtin_spirv_OpConvertUToF_RTP_v16f64_v16i16(ushort16 x);
double2 __builtin_spirv_OpConvertUToF_RTN_v2f64_v2i16(ushort2 x);
double3 __builtin_spirv_OpConvertUToF_RTN_v3f64_v3i16(ushort3 x);
double4 __builtin_spirv_OpConvertUToF_RTN_v4f64_v4i16(ushort4 x);
double8 __builtin_spirv_OpConvertUToF_RTN_v8f64_v8i16(ushort8 x);
double16 __builtin_spirv_OpConvertUToF_RTN_v16f64_v16i16(ushort16 x);
double2 __builtin_spirv_OpConvertUToF_v2f64_v2i32(uint2 x);
double3 __builtin_spirv_OpConvertUToF_v3f64_v3i32(uint3 x);
double4 __builtin_spirv_OpConvertUToF_v4f64_v4i32(uint4 x);
double8 __builtin_spirv_OpConvertUToF_v8f64_v8i32(uint8 x);
double16 __builtin_spirv_OpConvertUToF_v16f64_v16i32(uint16 x);
double2 __builtin_spirv_OpConvertUToF_RTE_v2f64_v2i32(uint2 x);
double3 __builtin_spirv_OpConvertUToF_RTE_v3f64_v3i32(uint3 x);
double4 __builtin_spirv_OpConvertUToF_RTE_v4f64_v4i32(uint4 x);
double8 __builtin_spirv_OpConvertUToF_RTE_v8f64_v8i32(uint8 x);
double16 __builtin_spirv_OpConvertUToF_RTE_v16f64_v16i32(uint16 x);
double2 __builtin_spirv_OpConvertUToF_RTZ_v2f64_v2i32(uint2 x);
double3 __builtin_spirv_OpConvertUToF_RTZ_v3f64_v3i32(uint3 x);
double4 __builtin_spirv_OpConvertUToF_RTZ_v4f64_v4i32(uint4 x);
double8 __builtin_spirv_OpConvertUToF_RTZ_v8f64_v8i32(uint8 x);
double16 __builtin_spirv_OpConvertUToF_RTZ_v16f64_v16i32(uint16 x);
double2 __builtin_spirv_OpConvertUToF_RTP_v2f64_v2i32(uint2 x);
double3 __builtin_spirv_OpConvertUToF_RTP_v3f64_v3i32(uint3 x);
double4 __builtin_spirv_OpConvertUToF_RTP_v4f64_v4i32(uint4 x);
double8 __builtin_spirv_OpConvertUToF_RTP_v8f64_v8i32(uint8 x);
double16 __builtin_spirv_OpConvertUToF_RTP_v16f64_v16i32(uint16 x);
double2 __builtin_spirv_OpConvertUToF_RTN_v2f64_v2i32(uint2 x);
double3 __builtin_spirv_OpConvertUToF_RTN_v3f64_v3i32(uint3 x);
double4 __builtin_spirv_OpConvertUToF_RTN_v4f64_v4i32(uint4 x);
double8 __builtin_spirv_OpConvertUToF_RTN_v8f64_v8i32(uint8 x);
double16 __builtin_spirv_OpConvertUToF_RTN_v16f64_v16i32(uint16 x);
double2 __builtin_spirv_OpConvertUToF_v2f64_v2i64(ulong2 x);
double3 __builtin_spirv_OpConvertUToF_v3f64_v3i64(ulong3 x);
double4 __builtin_spirv_OpConvertUToF_v4f64_v4i64(ulong4 x);
double8 __builtin_spirv_OpConvertUToF_v8f64_v8i64(ulong8 x);
double16 __builtin_spirv_OpConvertUToF_v16f64_v16i64(ulong16 x);
double2 __builtin_spirv_OpConvertUToF_RTE_v2f64_v2i64(ulong2 x);
double3 __builtin_spirv_OpConvertUToF_RTE_v3f64_v3i64(ulong3 x);
double4 __builtin_spirv_OpConvertUToF_RTE_v4f64_v4i64(ulong4 x);
double8 __builtin_spirv_OpConvertUToF_RTE_v8f64_v8i64(ulong8 x);
double16 __builtin_spirv_OpConvertUToF_RTE_v16f64_v16i64(ulong16 x);
double2 __builtin_spirv_OpConvertUToF_RTZ_v2f64_v2i64(ulong2 x);
double3 __builtin_spirv_OpConvertUToF_RTZ_v3f64_v3i64(ulong3 x);
double4 __builtin_spirv_OpConvertUToF_RTZ_v4f64_v4i64(ulong4 x);
double8 __builtin_spirv_OpConvertUToF_RTZ_v8f64_v8i64(ulong8 x);
double16 __builtin_spirv_OpConvertUToF_RTZ_v16f64_v16i64(ulong16 x);
double2 __builtin_spirv_OpConvertUToF_RTP_v2f64_v2i64(ulong2 x);
double3 __builtin_spirv_OpConvertUToF_RTP_v3f64_v3i64(ulong3 x);
double4 __builtin_spirv_OpConvertUToF_RTP_v4f64_v4i64(ulong4 x);
double8 __builtin_spirv_OpConvertUToF_RTP_v8f64_v8i64(ulong8 x);
double16 __builtin_spirv_OpConvertUToF_RTP_v16f64_v16i64(ulong16 x);
double2 __builtin_spirv_OpConvertUToF_RTN_v2f64_v2i64(ulong2 x);
double3 __builtin_spirv_OpConvertUToF_RTN_v3f64_v3i64(ulong3 x);
double4 __builtin_spirv_OpConvertUToF_RTN_v4f64_v4i64(ulong4 x);
double8 __builtin_spirv_OpConvertUToF_RTN_v8f64_v8i64(ulong8 x);
double16 __builtin_spirv_OpConvertUToF_RTN_v16f64_v16i64(ulong16 x);
#endif // defined(cl_khr_fp64)
half2 __builtin_spirv_OpFConvert_v2f16_v2f32(float2 x);
half3 __builtin_spirv_OpFConvert_v3f16_v3f32(float3 x);
half4 __builtin_spirv_OpFConvert_v4f16_v4f32(float4 x);
half8 __builtin_spirv_OpFConvert_v8f16_v8f32(float8 x);
half16 __builtin_spirv_OpFConvert_v16f16_v16f32(float16 x);
half2 __builtin_spirv_OpFConvert_RTE_v2f16_v2f32(float2 x);
half3 __builtin_spirv_OpFConvert_RTE_v3f16_v3f32(float3 x);
half4 __builtin_spirv_OpFConvert_RTE_v4f16_v4f32(float4 x);
half8 __builtin_spirv_OpFConvert_RTE_v8f16_v8f32(float8 x);
half16 __builtin_spirv_OpFConvert_RTE_v16f16_v16f32(float16 x);
half2 __builtin_spirv_OpFConvert_RTZ_v2f16_v2f32(float2 x);
half3 __builtin_spirv_OpFConvert_RTZ_v3f16_v3f32(float3 x);
half4 __builtin_spirv_OpFConvert_RTZ_v4f16_v4f32(float4 x);
half8 __builtin_spirv_OpFConvert_RTZ_v8f16_v8f32(float8 x);
half16 __builtin_spirv_OpFConvert_RTZ_v16f16_v16f32(float16 x);
half2 __builtin_spirv_OpFConvert_RTP_v2f16_v2f32(float2 x);
half3 __builtin_spirv_OpFConvert_RTP_v3f16_v3f32(float3 x);
half4 __builtin_spirv_OpFConvert_RTP_v4f16_v4f32(float4 x);
half8 __builtin_spirv_OpFConvert_RTP_v8f16_v8f32(float8 x);
half16 __builtin_spirv_OpFConvert_RTP_v16f16_v16f32(float16 x);
half2 __builtin_spirv_OpFConvert_RTN_v2f16_v2f32(float2 x);
half3 __builtin_spirv_OpFConvert_RTN_v3f16_v3f32(float3 x);
half4 __builtin_spirv_OpFConvert_RTN_v4f16_v4f32(float4 x);
half8 __builtin_spirv_OpFConvert_RTN_v8f16_v8f32(float8 x);
half16 __builtin_spirv_OpFConvert_RTN_v16f16_v16f32(float16 x);
half2 __builtin_spirv_OpFConvert_v2f16_v2f16(half2 x);
half3 __builtin_spirv_OpFConvert_v3f16_v3f16(half3 x);
half4 __builtin_spirv_OpFConvert_v4f16_v4f16(half4 x);
half8 __builtin_spirv_OpFConvert_v8f16_v8f16(half8 x);
half16 __builtin_spirv_OpFConvert_v16f16_v16f16(half16 x);
half2 __builtin_spirv_OpFConvert_RTE_v2f16_v2f16(half2 x);
half3 __builtin_spirv_OpFConvert_RTE_v3f16_v3f16(half3 x);
half4 __builtin_spirv_OpFConvert_RTE_v4f16_v4f16(half4 x);
half8 __builtin_spirv_OpFConvert_RTE_v8f16_v8f16(half8 x);
half16 __builtin_spirv_OpFConvert_RTE_v16f16_v16f16(half16 x);
half2 __builtin_spirv_OpFConvert_RTZ_v2f16_v2f16(half2 x);
half3 __builtin_spirv_OpFConvert_RTZ_v3f16_v3f16(half3 x);
half4 __builtin_spirv_OpFConvert_RTZ_v4f16_v4f16(half4 x);
half8 __builtin_spirv_OpFConvert_RTZ_v8f16_v8f16(half8 x);
half16 __builtin_spirv_OpFConvert_RTZ_v16f16_v16f16(half16 x);
half2 __builtin_spirv_OpFConvert_RTP_v2f16_v2f16(half2 x);
half3 __builtin_spirv_OpFConvert_RTP_v3f16_v3f16(half3 x);
half4 __builtin_spirv_OpFConvert_RTP_v4f16_v4f16(half4 x);
half8 __builtin_spirv_OpFConvert_RTP_v8f16_v8f16(half8 x);
half16 __builtin_spirv_OpFConvert_RTP_v16f16_v16f16(half16 x);
half2 __builtin_spirv_OpFConvert_RTN_v2f16_v2f16(half2 x);
half3 __builtin_spirv_OpFConvert_RTN_v3f16_v3f16(half3 x);
half4 __builtin_spirv_OpFConvert_RTN_v4f16_v4f16(half4 x);
half8 __builtin_spirv_OpFConvert_RTN_v8f16_v8f16(half8 x);
half16 __builtin_spirv_OpFConvert_RTN_v16f16_v16f16(half16 x);
#if defined(cl_khr_fp64)
half2 __builtin_spirv_OpFConvert_v2f16_v2f64(double2 x);
half3 __builtin_spirv_OpFConvert_v3f16_v3f64(double3 x);
half4 __builtin_spirv_OpFConvert_v4f16_v4f64(double4 x);
half8 __builtin_spirv_OpFConvert_v8f16_v8f64(double8 x);
half16 __builtin_spirv_OpFConvert_v16f16_v16f64(double16 x);
half2 __builtin_spirv_OpFConvert_RTE_v2f16_v2f64(double2 x);
half3 __builtin_spirv_OpFConvert_RTE_v3f16_v3f64(double3 x);
half4 __builtin_spirv_OpFConvert_RTE_v4f16_v4f64(double4 x);
half8 __builtin_spirv_OpFConvert_RTE_v8f16_v8f64(double8 x);
half16 __builtin_spirv_OpFConvert_RTE_v16f16_v16f64(double16 x);
half2 __builtin_spirv_OpFConvert_RTZ_v2f16_v2f64(double2 x);
half3 __builtin_spirv_OpFConvert_RTZ_v3f16_v3f64(double3 x);
half4 __builtin_spirv_OpFConvert_RTZ_v4f16_v4f64(double4 x);
half8 __builtin_spirv_OpFConvert_RTZ_v8f16_v8f64(double8 x);
half16 __builtin_spirv_OpFConvert_RTZ_v16f16_v16f64(double16 x);
half2 __builtin_spirv_OpFConvert_RTP_v2f16_v2f64(double2 x);
half3 __builtin_spirv_OpFConvert_RTP_v3f16_v3f64(double3 x);
half4 __builtin_spirv_OpFConvert_RTP_v4f16_v4f64(double4 x);
half8 __builtin_spirv_OpFConvert_RTP_v8f16_v8f64(double8 x);
half16 __builtin_spirv_OpFConvert_RTP_v16f16_v16f64(double16 x);
half2 __builtin_spirv_OpFConvert_RTN_v2f16_v2f64(double2 x);
half3 __builtin_spirv_OpFConvert_RTN_v3f16_v3f64(double3 x);
half4 __builtin_spirv_OpFConvert_RTN_v4f16_v4f64(double4 x);
half8 __builtin_spirv_OpFConvert_RTN_v8f16_v8f64(double8 x);
half16 __builtin_spirv_OpFConvert_RTN_v16f16_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
float2 __builtin_spirv_OpFConvert_v2f32_v2f32(float2 x);
float3 __builtin_spirv_OpFConvert_v3f32_v3f32(float3 x);
float4 __builtin_spirv_OpFConvert_v4f32_v4f32(float4 x);
float8 __builtin_spirv_OpFConvert_v8f32_v8f32(float8 x);
float16 __builtin_spirv_OpFConvert_v16f32_v16f32(float16 x);
float2 __builtin_spirv_OpFConvert_RTE_v2f32_v2f32(float2 x);
float3 __builtin_spirv_OpFConvert_RTE_v3f32_v3f32(float3 x);
float4 __builtin_spirv_OpFConvert_RTE_v4f32_v4f32(float4 x);
float8 __builtin_spirv_OpFConvert_RTE_v8f32_v8f32(float8 x);
float16 __builtin_spirv_OpFConvert_RTE_v16f32_v16f32(float16 x);
float2 __builtin_spirv_OpFConvert_RTZ_v2f32_v2f32(float2 x);
float3 __builtin_spirv_OpFConvert_RTZ_v3f32_v3f32(float3 x);
float4 __builtin_spirv_OpFConvert_RTZ_v4f32_v4f32(float4 x);
float8 __builtin_spirv_OpFConvert_RTZ_v8f32_v8f32(float8 x);
float16 __builtin_spirv_OpFConvert_RTZ_v16f32_v16f32(float16 x);
float2 __builtin_spirv_OpFConvert_RTP_v2f32_v2f32(float2 x);
float3 __builtin_spirv_OpFConvert_RTP_v3f32_v3f32(float3 x);
float4 __builtin_spirv_OpFConvert_RTP_v4f32_v4f32(float4 x);
float8 __builtin_spirv_OpFConvert_RTP_v8f32_v8f32(float8 x);
float16 __builtin_spirv_OpFConvert_RTP_v16f32_v16f32(float16 x);
float2 __builtin_spirv_OpFConvert_RTN_v2f32_v2f32(float2 x);
float3 __builtin_spirv_OpFConvert_RTN_v3f32_v3f32(float3 x);
float4 __builtin_spirv_OpFConvert_RTN_v4f32_v4f32(float4 x);
float8 __builtin_spirv_OpFConvert_RTN_v8f32_v8f32(float8 x);
float16 __builtin_spirv_OpFConvert_RTN_v16f32_v16f32(float16 x);
float2 __builtin_spirv_OpFConvert_v2f32_v2f16(half2 x);
float3 __builtin_spirv_OpFConvert_v3f32_v3f16(half3 x);
float4 __builtin_spirv_OpFConvert_v4f32_v4f16(half4 x);
float8 __builtin_spirv_OpFConvert_v8f32_v8f16(half8 x);
float16 __builtin_spirv_OpFConvert_v16f32_v16f16(half16 x);
float2 __builtin_spirv_OpFConvert_RTE_v2f32_v2f16(half2 x);
float3 __builtin_spirv_OpFConvert_RTE_v3f32_v3f16(half3 x);
float4 __builtin_spirv_OpFConvert_RTE_v4f32_v4f16(half4 x);
float8 __builtin_spirv_OpFConvert_RTE_v8f32_v8f16(half8 x);
float16 __builtin_spirv_OpFConvert_RTE_v16f32_v16f16(half16 x);
float2 __builtin_spirv_OpFConvert_RTZ_v2f32_v2f16(half2 x);
float3 __builtin_spirv_OpFConvert_RTZ_v3f32_v3f16(half3 x);
float4 __builtin_spirv_OpFConvert_RTZ_v4f32_v4f16(half4 x);
float8 __builtin_spirv_OpFConvert_RTZ_v8f32_v8f16(half8 x);
float16 __builtin_spirv_OpFConvert_RTZ_v16f32_v16f16(half16 x);
float2 __builtin_spirv_OpFConvert_RTP_v2f32_v2f16(half2 x);
float3 __builtin_spirv_OpFConvert_RTP_v3f32_v3f16(half3 x);
float4 __builtin_spirv_OpFConvert_RTP_v4f32_v4f16(half4 x);
float8 __builtin_spirv_OpFConvert_RTP_v8f32_v8f16(half8 x);
float16 __builtin_spirv_OpFConvert_RTP_v16f32_v16f16(half16 x);
float2 __builtin_spirv_OpFConvert_RTN_v2f32_v2f16(half2 x);
float3 __builtin_spirv_OpFConvert_RTN_v3f32_v3f16(half3 x);
float4 __builtin_spirv_OpFConvert_RTN_v4f32_v4f16(half4 x);
float8 __builtin_spirv_OpFConvert_RTN_v8f32_v8f16(half8 x);
float16 __builtin_spirv_OpFConvert_RTN_v16f32_v16f16(half16 x);
#if defined(cl_khr_fp64)
float2 __builtin_spirv_OpFConvert_v2f32_v2f64(double2 x);
float3 __builtin_spirv_OpFConvert_v3f32_v3f64(double3 x);
float4 __builtin_spirv_OpFConvert_v4f32_v4f64(double4 x);
float8 __builtin_spirv_OpFConvert_v8f32_v8f64(double8 x);
float16 __builtin_spirv_OpFConvert_v16f32_v16f64(double16 x);
float2 __builtin_spirv_OpFConvert_RTE_v2f32_v2f64(double2 x);
float3 __builtin_spirv_OpFConvert_RTE_v3f32_v3f64(double3 x);
float4 __builtin_spirv_OpFConvert_RTE_v4f32_v4f64(double4 x);
float8 __builtin_spirv_OpFConvert_RTE_v8f32_v8f64(double8 x);
float16 __builtin_spirv_OpFConvert_RTE_v16f32_v16f64(double16 x);
float2 __builtin_spirv_OpFConvert_RTZ_v2f32_v2f64(double2 x);
float3 __builtin_spirv_OpFConvert_RTZ_v3f32_v3f64(double3 x);
float4 __builtin_spirv_OpFConvert_RTZ_v4f32_v4f64(double4 x);
float8 __builtin_spirv_OpFConvert_RTZ_v8f32_v8f64(double8 x);
float16 __builtin_spirv_OpFConvert_RTZ_v16f32_v16f64(double16 x);
float2 __builtin_spirv_OpFConvert_RTP_v2f32_v2f64(double2 x);
float3 __builtin_spirv_OpFConvert_RTP_v3f32_v3f64(double3 x);
float4 __builtin_spirv_OpFConvert_RTP_v4f32_v4f64(double4 x);
float8 __builtin_spirv_OpFConvert_RTP_v8f32_v8f64(double8 x);
float16 __builtin_spirv_OpFConvert_RTP_v16f32_v16f64(double16 x);
float2 __builtin_spirv_OpFConvert_RTN_v2f32_v2f64(double2 x);
float3 __builtin_spirv_OpFConvert_RTN_v3f32_v3f64(double3 x);
float4 __builtin_spirv_OpFConvert_RTN_v4f32_v4f64(double4 x);
float8 __builtin_spirv_OpFConvert_RTN_v8f32_v8f64(double8 x);
float16 __builtin_spirv_OpFConvert_RTN_v16f32_v16f64(double16 x);
double2 __builtin_spirv_OpFConvert_v2f64_v2f32(float2 x);
double3 __builtin_spirv_OpFConvert_v3f64_v3f32(float3 x);
double4 __builtin_spirv_OpFConvert_v4f64_v4f32(float4 x);
double8 __builtin_spirv_OpFConvert_v8f64_v8f32(float8 x);
double16 __builtin_spirv_OpFConvert_v16f64_v16f32(float16 x);
double2 __builtin_spirv_OpFConvert_RTE_v2f64_v2f32(float2 x);
double3 __builtin_spirv_OpFConvert_RTE_v3f64_v3f32(float3 x);
double4 __builtin_spirv_OpFConvert_RTE_v4f64_v4f32(float4 x);
double8 __builtin_spirv_OpFConvert_RTE_v8f64_v8f32(float8 x);
double16 __builtin_spirv_OpFConvert_RTE_v16f64_v16f32(float16 x);
double2 __builtin_spirv_OpFConvert_RTZ_v2f64_v2f32(float2 x);
double3 __builtin_spirv_OpFConvert_RTZ_v3f64_v3f32(float3 x);
double4 __builtin_spirv_OpFConvert_RTZ_v4f64_v4f32(float4 x);
double8 __builtin_spirv_OpFConvert_RTZ_v8f64_v8f32(float8 x);
double16 __builtin_spirv_OpFConvert_RTZ_v16f64_v16f32(float16 x);
double2 __builtin_spirv_OpFConvert_RTP_v2f64_v2f32(float2 x);
double3 __builtin_spirv_OpFConvert_RTP_v3f64_v3f32(float3 x);
double4 __builtin_spirv_OpFConvert_RTP_v4f64_v4f32(float4 x);
double8 __builtin_spirv_OpFConvert_RTP_v8f64_v8f32(float8 x);
double16 __builtin_spirv_OpFConvert_RTP_v16f64_v16f32(float16 x);
double2 __builtin_spirv_OpFConvert_RTN_v2f64_v2f32(float2 x);
double3 __builtin_spirv_OpFConvert_RTN_v3f64_v3f32(float3 x);
double4 __builtin_spirv_OpFConvert_RTN_v4f64_v4f32(float4 x);
double8 __builtin_spirv_OpFConvert_RTN_v8f64_v8f32(float8 x);
double16 __builtin_spirv_OpFConvert_RTN_v16f64_v16f32(float16 x);
double2 __builtin_spirv_OpFConvert_v2f64_v2f16(half2 x);
double3 __builtin_spirv_OpFConvert_v3f64_v3f16(half3 x);
double4 __builtin_spirv_OpFConvert_v4f64_v4f16(half4 x);
double8 __builtin_spirv_OpFConvert_v8f64_v8f16(half8 x);
double16 __builtin_spirv_OpFConvert_v16f64_v16f16(half16 x);
double2 __builtin_spirv_OpFConvert_RTE_v2f64_v2f16(half2 x);
double3 __builtin_spirv_OpFConvert_RTE_v3f64_v3f16(half3 x);
double4 __builtin_spirv_OpFConvert_RTE_v4f64_v4f16(half4 x);
double8 __builtin_spirv_OpFConvert_RTE_v8f64_v8f16(half8 x);
double16 __builtin_spirv_OpFConvert_RTE_v16f64_v16f16(half16 x);
double2 __builtin_spirv_OpFConvert_RTZ_v2f64_v2f16(half2 x);
double3 __builtin_spirv_OpFConvert_RTZ_v3f64_v3f16(half3 x);
double4 __builtin_spirv_OpFConvert_RTZ_v4f64_v4f16(half4 x);
double8 __builtin_spirv_OpFConvert_RTZ_v8f64_v8f16(half8 x);
double16 __builtin_spirv_OpFConvert_RTZ_v16f64_v16f16(half16 x);
double2 __builtin_spirv_OpFConvert_RTP_v2f64_v2f16(half2 x);
double3 __builtin_spirv_OpFConvert_RTP_v3f64_v3f16(half3 x);
double4 __builtin_spirv_OpFConvert_RTP_v4f64_v4f16(half4 x);
double8 __builtin_spirv_OpFConvert_RTP_v8f64_v8f16(half8 x);
double16 __builtin_spirv_OpFConvert_RTP_v16f64_v16f16(half16 x);
double2 __builtin_spirv_OpFConvert_RTN_v2f64_v2f16(half2 x);
double3 __builtin_spirv_OpFConvert_RTN_v3f64_v3f16(half3 x);
double4 __builtin_spirv_OpFConvert_RTN_v4f64_v4f16(half4 x);
double8 __builtin_spirv_OpFConvert_RTN_v8f64_v8f16(half8 x);
double16 __builtin_spirv_OpFConvert_RTN_v16f64_v16f16(half16 x);
double2 __builtin_spirv_OpFConvert_v2f64_v2f64(double2 x);
double3 __builtin_spirv_OpFConvert_v3f64_v3f64(double3 x);
double4 __builtin_spirv_OpFConvert_v4f64_v4f64(double4 x);
double8 __builtin_spirv_OpFConvert_v8f64_v8f64(double8 x);
double16 __builtin_spirv_OpFConvert_v16f64_v16f64(double16 x);
double2 __builtin_spirv_OpFConvert_RTE_v2f64_v2f64(double2 x);
double3 __builtin_spirv_OpFConvert_RTE_v3f64_v3f64(double3 x);
double4 __builtin_spirv_OpFConvert_RTE_v4f64_v4f64(double4 x);
double8 __builtin_spirv_OpFConvert_RTE_v8f64_v8f64(double8 x);
double16 __builtin_spirv_OpFConvert_RTE_v16f64_v16f64(double16 x);
double2 __builtin_spirv_OpFConvert_RTZ_v2f64_v2f64(double2 x);
double3 __builtin_spirv_OpFConvert_RTZ_v3f64_v3f64(double3 x);
double4 __builtin_spirv_OpFConvert_RTZ_v4f64_v4f64(double4 x);
double8 __builtin_spirv_OpFConvert_RTZ_v8f64_v8f64(double8 x);
double16 __builtin_spirv_OpFConvert_RTZ_v16f64_v16f64(double16 x);
double2 __builtin_spirv_OpFConvert_RTP_v2f64_v2f64(double2 x);
double3 __builtin_spirv_OpFConvert_RTP_v3f64_v3f64(double3 x);
double4 __builtin_spirv_OpFConvert_RTP_v4f64_v4f64(double4 x);
double8 __builtin_spirv_OpFConvert_RTP_v8f64_v8f64(double8 x);
double16 __builtin_spirv_OpFConvert_RTP_v16f64_v16f64(double16 x);
double2 __builtin_spirv_OpFConvert_RTN_v2f64_v2f64(double2 x);
double3 __builtin_spirv_OpFConvert_RTN_v3f64_v3f64(double3 x);
double4 __builtin_spirv_OpFConvert_RTN_v4f64_v4f64(double4 x);
double8 __builtin_spirv_OpFConvert_RTN_v8f64_v8f64(double8 x);
double16 __builtin_spirv_OpFConvert_RTN_v16f64_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
char2 __builtin_spirv_OpSConvert_v2i8_v2i8(char2 x);
char3 __builtin_spirv_OpSConvert_v3i8_v3i8(char3 x);
char4 __builtin_spirv_OpSConvert_v4i8_v4i8(char4 x);
char8 __builtin_spirv_OpSConvert_v8i8_v8i8(char8 x);
char16 __builtin_spirv_OpSConvert_v16i8_v16i8(char16 x);
char2 __builtin_spirv_OpSConvert_Sat_v2i8_v2i8(char2 x);
char3 __builtin_spirv_OpSConvert_Sat_v3i8_v3i8(char3 x);
char4 __builtin_spirv_OpSConvert_Sat_v4i8_v4i8(char4 x);
char8 __builtin_spirv_OpSConvert_Sat_v8i8_v8i8(char8 x);
char16 __builtin_spirv_OpSConvert_Sat_v16i8_v16i8(char16 x);
char2 __builtin_spirv_OpSConvert_v2i8_v2i16(short2 x);
char3 __builtin_spirv_OpSConvert_v3i8_v3i16(short3 x);
char4 __builtin_spirv_OpSConvert_v4i8_v4i16(short4 x);
char8 __builtin_spirv_OpSConvert_v8i8_v8i16(short8 x);
char16 __builtin_spirv_OpSConvert_v16i8_v16i16(short16 x);
char2 __builtin_spirv_OpSConvert_Sat_v2i8_v2i16(short2 x);
char3 __builtin_spirv_OpSConvert_Sat_v3i8_v3i16(short3 x);
char4 __builtin_spirv_OpSConvert_Sat_v4i8_v4i16(short4 x);
char8 __builtin_spirv_OpSConvert_Sat_v8i8_v8i16(short8 x);
char16 __builtin_spirv_OpSConvert_Sat_v16i8_v16i16(short16 x);
char2 __builtin_spirv_OpSConvert_v2i8_v2i32(int2 x);
char3 __builtin_spirv_OpSConvert_v3i8_v3i32(int3 x);
char4 __builtin_spirv_OpSConvert_v4i8_v4i32(int4 x);
char8 __builtin_spirv_OpSConvert_v8i8_v8i32(int8 x);
char16 __builtin_spirv_OpSConvert_v16i8_v16i32(int16 x);
char2 __builtin_spirv_OpSConvert_Sat_v2i8_v2i32(int2 x);
char3 __builtin_spirv_OpSConvert_Sat_v3i8_v3i32(int3 x);
char4 __builtin_spirv_OpSConvert_Sat_v4i8_v4i32(int4 x);
char8 __builtin_spirv_OpSConvert_Sat_v8i8_v8i32(int8 x);
char16 __builtin_spirv_OpSConvert_Sat_v16i8_v16i32(int16 x);
char2 __builtin_spirv_OpSConvert_v2i8_v2i64(long2 x);
char3 __builtin_spirv_OpSConvert_v3i8_v3i64(long3 x);
char4 __builtin_spirv_OpSConvert_v4i8_v4i64(long4 x);
char8 __builtin_spirv_OpSConvert_v8i8_v8i64(long8 x);
char16 __builtin_spirv_OpSConvert_v16i8_v16i64(long16 x);
char2 __builtin_spirv_OpSConvert_Sat_v2i8_v2i64(long2 x);
char3 __builtin_spirv_OpSConvert_Sat_v3i8_v3i64(long3 x);
char4 __builtin_spirv_OpSConvert_Sat_v4i8_v4i64(long4 x);
char8 __builtin_spirv_OpSConvert_Sat_v8i8_v8i64(long8 x);
char16 __builtin_spirv_OpSConvert_Sat_v16i8_v16i64(long16 x);
short2 __builtin_spirv_OpSConvert_v2i16_v2i8(char2 x);
short3 __builtin_spirv_OpSConvert_v3i16_v3i8(char3 x);
short4 __builtin_spirv_OpSConvert_v4i16_v4i8(char4 x);
short8 __builtin_spirv_OpSConvert_v8i16_v8i8(char8 x);
short16 __builtin_spirv_OpSConvert_v16i16_v16i8(char16 x);
short2 __builtin_spirv_OpSConvert_Sat_v2i16_v2i8(char2 x);
short3 __builtin_spirv_OpSConvert_Sat_v3i16_v3i8(char3 x);
short4 __builtin_spirv_OpSConvert_Sat_v4i16_v4i8(char4 x);
short8 __builtin_spirv_OpSConvert_Sat_v8i16_v8i8(char8 x);
short16 __builtin_spirv_OpSConvert_Sat_v16i16_v16i8(char16 x);
short2 __builtin_spirv_OpSConvert_v2i16_v2i16(short2 x);
short3 __builtin_spirv_OpSConvert_v3i16_v3i16(short3 x);
short4 __builtin_spirv_OpSConvert_v4i16_v4i16(short4 x);
short8 __builtin_spirv_OpSConvert_v8i16_v8i16(short8 x);
short16 __builtin_spirv_OpSConvert_v16i16_v16i16(short16 x);
short2 __builtin_spirv_OpSConvert_Sat_v2i16_v2i16(short2 x);
short3 __builtin_spirv_OpSConvert_Sat_v3i16_v3i16(short3 x);
short4 __builtin_spirv_OpSConvert_Sat_v4i16_v4i16(short4 x);
short8 __builtin_spirv_OpSConvert_Sat_v8i16_v8i16(short8 x);
short16 __builtin_spirv_OpSConvert_Sat_v16i16_v16i16(short16 x);
short2 __builtin_spirv_OpSConvert_v2i16_v2i32(int2 x);
short3 __builtin_spirv_OpSConvert_v3i16_v3i32(int3 x);
short4 __builtin_spirv_OpSConvert_v4i16_v4i32(int4 x);
short8 __builtin_spirv_OpSConvert_v8i16_v8i32(int8 x);
short16 __builtin_spirv_OpSConvert_v16i16_v16i32(int16 x);
short2 __builtin_spirv_OpSConvert_Sat_v2i16_v2i32(int2 x);
short3 __builtin_spirv_OpSConvert_Sat_v3i16_v3i32(int3 x);
short4 __builtin_spirv_OpSConvert_Sat_v4i16_v4i32(int4 x);
short8 __builtin_spirv_OpSConvert_Sat_v8i16_v8i32(int8 x);
short16 __builtin_spirv_OpSConvert_Sat_v16i16_v16i32(int16 x);
short2 __builtin_spirv_OpSConvert_v2i16_v2i64(long2 x);
short3 __builtin_spirv_OpSConvert_v3i16_v3i64(long3 x);
short4 __builtin_spirv_OpSConvert_v4i16_v4i64(long4 x);
short8 __builtin_spirv_OpSConvert_v8i16_v8i64(long8 x);
short16 __builtin_spirv_OpSConvert_v16i16_v16i64(long16 x);
short2 __builtin_spirv_OpSConvert_Sat_v2i16_v2i64(long2 x);
short3 __builtin_spirv_OpSConvert_Sat_v3i16_v3i64(long3 x);
short4 __builtin_spirv_OpSConvert_Sat_v4i16_v4i64(long4 x);
short8 __builtin_spirv_OpSConvert_Sat_v8i16_v8i64(long8 x);
short16 __builtin_spirv_OpSConvert_Sat_v16i16_v16i64(long16 x);
int2 __builtin_spirv_OpSConvert_v2i32_v2i8(char2 x);
int3 __builtin_spirv_OpSConvert_v3i32_v3i8(char3 x);
int4 __builtin_spirv_OpSConvert_v4i32_v4i8(char4 x);
int8 __builtin_spirv_OpSConvert_v8i32_v8i8(char8 x);
int16 __builtin_spirv_OpSConvert_v16i32_v16i8(char16 x);
int2 __builtin_spirv_OpSConvert_Sat_v2i32_v2i8(char2 x);
int3 __builtin_spirv_OpSConvert_Sat_v3i32_v3i8(char3 x);
int4 __builtin_spirv_OpSConvert_Sat_v4i32_v4i8(char4 x);
int8 __builtin_spirv_OpSConvert_Sat_v8i32_v8i8(char8 x);
int16 __builtin_spirv_OpSConvert_Sat_v16i32_v16i8(char16 x);
int2 __builtin_spirv_OpSConvert_v2i32_v2i16(short2 x);
int3 __builtin_spirv_OpSConvert_v3i32_v3i16(short3 x);
int4 __builtin_spirv_OpSConvert_v4i32_v4i16(short4 x);
int8 __builtin_spirv_OpSConvert_v8i32_v8i16(short8 x);
int16 __builtin_spirv_OpSConvert_v16i32_v16i16(short16 x);
int2 __builtin_spirv_OpSConvert_Sat_v2i32_v2i16(short2 x);
int3 __builtin_spirv_OpSConvert_Sat_v3i32_v3i16(short3 x);
int4 __builtin_spirv_OpSConvert_Sat_v4i32_v4i16(short4 x);
int8 __builtin_spirv_OpSConvert_Sat_v8i32_v8i16(short8 x);
int16 __builtin_spirv_OpSConvert_Sat_v16i32_v16i16(short16 x);
int2 __builtin_spirv_OpSConvert_v2i32_v2i32(int2 x);
int3 __builtin_spirv_OpSConvert_v3i32_v3i32(int3 x);
int4 __builtin_spirv_OpSConvert_v4i32_v4i32(int4 x);
int8 __builtin_spirv_OpSConvert_v8i32_v8i32(int8 x);
int16 __builtin_spirv_OpSConvert_v16i32_v16i32(int16 x);
int2 __builtin_spirv_OpSConvert_Sat_v2i32_v2i32(int2 x);
int3 __builtin_spirv_OpSConvert_Sat_v3i32_v3i32(int3 x);
int4 __builtin_spirv_OpSConvert_Sat_v4i32_v4i32(int4 x);
int8 __builtin_spirv_OpSConvert_Sat_v8i32_v8i32(int8 x);
int16 __builtin_spirv_OpSConvert_Sat_v16i32_v16i32(int16 x);
int2 __builtin_spirv_OpSConvert_v2i32_v2i64(long2 x);
int3 __builtin_spirv_OpSConvert_v3i32_v3i64(long3 x);
int4 __builtin_spirv_OpSConvert_v4i32_v4i64(long4 x);
int8 __builtin_spirv_OpSConvert_v8i32_v8i64(long8 x);
int16 __builtin_spirv_OpSConvert_v16i32_v16i64(long16 x);
int2 __builtin_spirv_OpSConvert_Sat_v2i32_v2i64(long2 x);
int3 __builtin_spirv_OpSConvert_Sat_v3i32_v3i64(long3 x);
int4 __builtin_spirv_OpSConvert_Sat_v4i32_v4i64(long4 x);
int8 __builtin_spirv_OpSConvert_Sat_v8i32_v8i64(long8 x);
int16 __builtin_spirv_OpSConvert_Sat_v16i32_v16i64(long16 x);
long2 __builtin_spirv_OpSConvert_v2i64_v2i8(char2 x);
long3 __builtin_spirv_OpSConvert_v3i64_v3i8(char3 x);
long4 __builtin_spirv_OpSConvert_v4i64_v4i8(char4 x);
long8 __builtin_spirv_OpSConvert_v8i64_v8i8(char8 x);
long16 __builtin_spirv_OpSConvert_v16i64_v16i8(char16 x);
long2 __builtin_spirv_OpSConvert_Sat_v2i64_v2i8(char2 x);
long3 __builtin_spirv_OpSConvert_Sat_v3i64_v3i8(char3 x);
long4 __builtin_spirv_OpSConvert_Sat_v4i64_v4i8(char4 x);
long8 __builtin_spirv_OpSConvert_Sat_v8i64_v8i8(char8 x);
long16 __builtin_spirv_OpSConvert_Sat_v16i64_v16i8(char16 x);
long2 __builtin_spirv_OpSConvert_v2i64_v2i16(short2 x);
long3 __builtin_spirv_OpSConvert_v3i64_v3i16(short3 x);
long4 __builtin_spirv_OpSConvert_v4i64_v4i16(short4 x);
long8 __builtin_spirv_OpSConvert_v8i64_v8i16(short8 x);
long16 __builtin_spirv_OpSConvert_v16i64_v16i16(short16 x);
long2 __builtin_spirv_OpSConvert_Sat_v2i64_v2i16(short2 x);
long3 __builtin_spirv_OpSConvert_Sat_v3i64_v3i16(short3 x);
long4 __builtin_spirv_OpSConvert_Sat_v4i64_v4i16(short4 x);
long8 __builtin_spirv_OpSConvert_Sat_v8i64_v8i16(short8 x);
long16 __builtin_spirv_OpSConvert_Sat_v16i64_v16i16(short16 x);
long2 __builtin_spirv_OpSConvert_v2i64_v2i32(int2 x);
long3 __builtin_spirv_OpSConvert_v3i64_v3i32(int3 x);
long4 __builtin_spirv_OpSConvert_v4i64_v4i32(int4 x);
long8 __builtin_spirv_OpSConvert_v8i64_v8i32(int8 x);
long16 __builtin_spirv_OpSConvert_v16i64_v16i32(int16 x);
long2 __builtin_spirv_OpSConvert_Sat_v2i64_v2i32(int2 x);
long3 __builtin_spirv_OpSConvert_Sat_v3i64_v3i32(int3 x);
long4 __builtin_spirv_OpSConvert_Sat_v4i64_v4i32(int4 x);
long8 __builtin_spirv_OpSConvert_Sat_v8i64_v8i32(int8 x);
long16 __builtin_spirv_OpSConvert_Sat_v16i64_v16i32(int16 x);
long2 __builtin_spirv_OpSConvert_v2i64_v2i64(long2 x);
long3 __builtin_spirv_OpSConvert_v3i64_v3i64(long3 x);
long4 __builtin_spirv_OpSConvert_v4i64_v4i64(long4 x);
long8 __builtin_spirv_OpSConvert_v8i64_v8i64(long8 x);
long16 __builtin_spirv_OpSConvert_v16i64_v16i64(long16 x);
long2 __builtin_spirv_OpSConvert_Sat_v2i64_v2i64(long2 x);
long3 __builtin_spirv_OpSConvert_Sat_v3i64_v3i64(long3 x);
long4 __builtin_spirv_OpSConvert_Sat_v4i64_v4i64(long4 x);
long8 __builtin_spirv_OpSConvert_Sat_v8i64_v8i64(long8 x);
long16 __builtin_spirv_OpSConvert_Sat_v16i64_v16i64(long16 x);
uchar2 __builtin_spirv_OpUConvert_v2i8_v2i8(uchar2 x);
uchar3 __builtin_spirv_OpUConvert_v3i8_v3i8(uchar3 x);
uchar4 __builtin_spirv_OpUConvert_v4i8_v4i8(uchar4 x);
uchar8 __builtin_spirv_OpUConvert_v8i8_v8i8(uchar8 x);
uchar16 __builtin_spirv_OpUConvert_v16i8_v16i8(uchar16 x);
uchar2 __builtin_spirv_OpUConvert_Sat_v2i8_v2i8(uchar2 x);
uchar3 __builtin_spirv_OpUConvert_Sat_v3i8_v3i8(uchar3 x);
uchar4 __builtin_spirv_OpUConvert_Sat_v4i8_v4i8(uchar4 x);
uchar8 __builtin_spirv_OpUConvert_Sat_v8i8_v8i8(uchar8 x);
uchar16 __builtin_spirv_OpUConvert_Sat_v16i8_v16i8(uchar16 x);
uchar2 __builtin_spirv_OpUConvert_v2i8_v2i16(ushort2 x);
uchar3 __builtin_spirv_OpUConvert_v3i8_v3i16(ushort3 x);
uchar4 __builtin_spirv_OpUConvert_v4i8_v4i16(ushort4 x);
uchar8 __builtin_spirv_OpUConvert_v8i8_v8i16(ushort8 x);
uchar16 __builtin_spirv_OpUConvert_v16i8_v16i16(ushort16 x);
uchar2 __builtin_spirv_OpUConvert_Sat_v2i8_v2i16(ushort2 x);
uchar3 __builtin_spirv_OpUConvert_Sat_v3i8_v3i16(ushort3 x);
uchar4 __builtin_spirv_OpUConvert_Sat_v4i8_v4i16(ushort4 x);
uchar8 __builtin_spirv_OpUConvert_Sat_v8i8_v8i16(ushort8 x);
uchar16 __builtin_spirv_OpUConvert_Sat_v16i8_v16i16(ushort16 x);
uchar2 __builtin_spirv_OpUConvert_v2i8_v2i32(uint2 x);
uchar3 __builtin_spirv_OpUConvert_v3i8_v3i32(uint3 x);
uchar4 __builtin_spirv_OpUConvert_v4i8_v4i32(uint4 x);
uchar8 __builtin_spirv_OpUConvert_v8i8_v8i32(uint8 x);
uchar16 __builtin_spirv_OpUConvert_v16i8_v16i32(uint16 x);
uchar2 __builtin_spirv_OpUConvert_Sat_v2i8_v2i32(uint2 x);
uchar3 __builtin_spirv_OpUConvert_Sat_v3i8_v3i32(uint3 x);
uchar4 __builtin_spirv_OpUConvert_Sat_v4i8_v4i32(uint4 x);
uchar8 __builtin_spirv_OpUConvert_Sat_v8i8_v8i32(uint8 x);
uchar16 __builtin_spirv_OpUConvert_Sat_v16i8_v16i32(uint16 x);
uchar2 __builtin_spirv_OpUConvert_v2i8_v2i64(ulong2 x);
uchar3 __builtin_spirv_OpUConvert_v3i8_v3i64(ulong3 x);
uchar4 __builtin_spirv_OpUConvert_v4i8_v4i64(ulong4 x);
uchar8 __builtin_spirv_OpUConvert_v8i8_v8i64(ulong8 x);
uchar16 __builtin_spirv_OpUConvert_v16i8_v16i64(ulong16 x);
uchar2 __builtin_spirv_OpUConvert_Sat_v2i8_v2i64(ulong2 x);
uchar3 __builtin_spirv_OpUConvert_Sat_v3i8_v3i64(ulong3 x);
uchar4 __builtin_spirv_OpUConvert_Sat_v4i8_v4i64(ulong4 x);
uchar8 __builtin_spirv_OpUConvert_Sat_v8i8_v8i64(ulong8 x);
uchar16 __builtin_spirv_OpUConvert_Sat_v16i8_v16i64(ulong16 x);
ushort2 __builtin_spirv_OpUConvert_v2i16_v2i8(uchar2 x);
ushort3 __builtin_spirv_OpUConvert_v3i16_v3i8(uchar3 x);
ushort4 __builtin_spirv_OpUConvert_v4i16_v4i8(uchar4 x);
ushort8 __builtin_spirv_OpUConvert_v8i16_v8i8(uchar8 x);
ushort16 __builtin_spirv_OpUConvert_v16i16_v16i8(uchar16 x);
ushort2 __builtin_spirv_OpUConvert_Sat_v2i16_v2i8(uchar2 x);
ushort3 __builtin_spirv_OpUConvert_Sat_v3i16_v3i8(uchar3 x);
ushort4 __builtin_spirv_OpUConvert_Sat_v4i16_v4i8(uchar4 x);
ushort8 __builtin_spirv_OpUConvert_Sat_v8i16_v8i8(uchar8 x);
ushort16 __builtin_spirv_OpUConvert_Sat_v16i16_v16i8(uchar16 x);
ushort2 __builtin_spirv_OpUConvert_v2i16_v2i16(ushort2 x);
ushort3 __builtin_spirv_OpUConvert_v3i16_v3i16(ushort3 x);
ushort4 __builtin_spirv_OpUConvert_v4i16_v4i16(ushort4 x);
ushort8 __builtin_spirv_OpUConvert_v8i16_v8i16(ushort8 x);
ushort16 __builtin_spirv_OpUConvert_v16i16_v16i16(ushort16 x);
ushort2 __builtin_spirv_OpUConvert_Sat_v2i16_v2i16(ushort2 x);
ushort3 __builtin_spirv_OpUConvert_Sat_v3i16_v3i16(ushort3 x);
ushort4 __builtin_spirv_OpUConvert_Sat_v4i16_v4i16(ushort4 x);
ushort8 __builtin_spirv_OpUConvert_Sat_v8i16_v8i16(ushort8 x);
ushort16 __builtin_spirv_OpUConvert_Sat_v16i16_v16i16(ushort16 x);
ushort2 __builtin_spirv_OpUConvert_v2i16_v2i32(uint2 x);
ushort3 __builtin_spirv_OpUConvert_v3i16_v3i32(uint3 x);
ushort4 __builtin_spirv_OpUConvert_v4i16_v4i32(uint4 x);
ushort8 __builtin_spirv_OpUConvert_v8i16_v8i32(uint8 x);
ushort16 __builtin_spirv_OpUConvert_v16i16_v16i32(uint16 x);
ushort2 __builtin_spirv_OpUConvert_Sat_v2i16_v2i32(uint2 x);
ushort3 __builtin_spirv_OpUConvert_Sat_v3i16_v3i32(uint3 x);
ushort4 __builtin_spirv_OpUConvert_Sat_v4i16_v4i32(uint4 x);
ushort8 __builtin_spirv_OpUConvert_Sat_v8i16_v8i32(uint8 x);
ushort16 __builtin_spirv_OpUConvert_Sat_v16i16_v16i32(uint16 x);
ushort2 __builtin_spirv_OpUConvert_v2i16_v2i64(ulong2 x);
ushort3 __builtin_spirv_OpUConvert_v3i16_v3i64(ulong3 x);
ushort4 __builtin_spirv_OpUConvert_v4i16_v4i64(ulong4 x);
ushort8 __builtin_spirv_OpUConvert_v8i16_v8i64(ulong8 x);
ushort16 __builtin_spirv_OpUConvert_v16i16_v16i64(ulong16 x);
ushort2 __builtin_spirv_OpUConvert_Sat_v2i16_v2i64(ulong2 x);
ushort3 __builtin_spirv_OpUConvert_Sat_v3i16_v3i64(ulong3 x);
ushort4 __builtin_spirv_OpUConvert_Sat_v4i16_v4i64(ulong4 x);
ushort8 __builtin_spirv_OpUConvert_Sat_v8i16_v8i64(ulong8 x);
ushort16 __builtin_spirv_OpUConvert_Sat_v16i16_v16i64(ulong16 x);
uint2 __builtin_spirv_OpUConvert_v2i32_v2i8(uchar2 x);
uint3 __builtin_spirv_OpUConvert_v3i32_v3i8(uchar3 x);
uint4 __builtin_spirv_OpUConvert_v4i32_v4i8(uchar4 x);
uint8 __builtin_spirv_OpUConvert_v8i32_v8i8(uchar8 x);
uint16 __builtin_spirv_OpUConvert_v16i32_v16i8(uchar16 x);
uint2 __builtin_spirv_OpUConvert_Sat_v2i32_v2i8(uchar2 x);
uint3 __builtin_spirv_OpUConvert_Sat_v3i32_v3i8(uchar3 x);
uint4 __builtin_spirv_OpUConvert_Sat_v4i32_v4i8(uchar4 x);
uint8 __builtin_spirv_OpUConvert_Sat_v8i32_v8i8(uchar8 x);
uint16 __builtin_spirv_OpUConvert_Sat_v16i32_v16i8(uchar16 x);
uint2 __builtin_spirv_OpUConvert_v2i32_v2i16(ushort2 x);
uint3 __builtin_spirv_OpUConvert_v3i32_v3i16(ushort3 x);
uint4 __builtin_spirv_OpUConvert_v4i32_v4i16(ushort4 x);
uint8 __builtin_spirv_OpUConvert_v8i32_v8i16(ushort8 x);
uint16 __builtin_spirv_OpUConvert_v16i32_v16i16(ushort16 x);
uint2 __builtin_spirv_OpUConvert_Sat_v2i32_v2i16(ushort2 x);
uint3 __builtin_spirv_OpUConvert_Sat_v3i32_v3i16(ushort3 x);
uint4 __builtin_spirv_OpUConvert_Sat_v4i32_v4i16(ushort4 x);
uint8 __builtin_spirv_OpUConvert_Sat_v8i32_v8i16(ushort8 x);
uint16 __builtin_spirv_OpUConvert_Sat_v16i32_v16i16(ushort16 x);
uint2 __builtin_spirv_OpUConvert_v2i32_v2i32(uint2 x);
uint3 __builtin_spirv_OpUConvert_v3i32_v3i32(uint3 x);
uint4 __builtin_spirv_OpUConvert_v4i32_v4i32(uint4 x);
uint8 __builtin_spirv_OpUConvert_v8i32_v8i32(uint8 x);
uint16 __builtin_spirv_OpUConvert_v16i32_v16i32(uint16 x);
uint2 __builtin_spirv_OpUConvert_Sat_v2i32_v2i32(uint2 x);
uint3 __builtin_spirv_OpUConvert_Sat_v3i32_v3i32(uint3 x);
uint4 __builtin_spirv_OpUConvert_Sat_v4i32_v4i32(uint4 x);
uint8 __builtin_spirv_OpUConvert_Sat_v8i32_v8i32(uint8 x);
uint16 __builtin_spirv_OpUConvert_Sat_v16i32_v16i32(uint16 x);
uint2 __builtin_spirv_OpUConvert_v2i32_v2i64(ulong2 x);
uint3 __builtin_spirv_OpUConvert_v3i32_v3i64(ulong3 x);
uint4 __builtin_spirv_OpUConvert_v4i32_v4i64(ulong4 x);
uint8 __builtin_spirv_OpUConvert_v8i32_v8i64(ulong8 x);
uint16 __builtin_spirv_OpUConvert_v16i32_v16i64(ulong16 x);
uint2 __builtin_spirv_OpUConvert_Sat_v2i32_v2i64(ulong2 x);
uint3 __builtin_spirv_OpUConvert_Sat_v3i32_v3i64(ulong3 x);
uint4 __builtin_spirv_OpUConvert_Sat_v4i32_v4i64(ulong4 x);
uint8 __builtin_spirv_OpUConvert_Sat_v8i32_v8i64(ulong8 x);
uint16 __builtin_spirv_OpUConvert_Sat_v16i32_v16i64(ulong16 x);
ulong2 __builtin_spirv_OpUConvert_v2i64_v2i8(uchar2 x);
ulong3 __builtin_spirv_OpUConvert_v3i64_v3i8(uchar3 x);
ulong4 __builtin_spirv_OpUConvert_v4i64_v4i8(uchar4 x);
ulong8 __builtin_spirv_OpUConvert_v8i64_v8i8(uchar8 x);
ulong16 __builtin_spirv_OpUConvert_v16i64_v16i8(uchar16 x);
ulong2 __builtin_spirv_OpUConvert_Sat_v2i64_v2i8(uchar2 x);
ulong3 __builtin_spirv_OpUConvert_Sat_v3i64_v3i8(uchar3 x);
ulong4 __builtin_spirv_OpUConvert_Sat_v4i64_v4i8(uchar4 x);
ulong8 __builtin_spirv_OpUConvert_Sat_v8i64_v8i8(uchar8 x);
ulong16 __builtin_spirv_OpUConvert_Sat_v16i64_v16i8(uchar16 x);
ulong2 __builtin_spirv_OpUConvert_v2i64_v2i16(ushort2 x);
ulong3 __builtin_spirv_OpUConvert_v3i64_v3i16(ushort3 x);
ulong4 __builtin_spirv_OpUConvert_v4i64_v4i16(ushort4 x);
ulong8 __builtin_spirv_OpUConvert_v8i64_v8i16(ushort8 x);
ulong16 __builtin_spirv_OpUConvert_v16i64_v16i16(ushort16 x);
ulong2 __builtin_spirv_OpUConvert_Sat_v2i64_v2i16(ushort2 x);
ulong3 __builtin_spirv_OpUConvert_Sat_v3i64_v3i16(ushort3 x);
ulong4 __builtin_spirv_OpUConvert_Sat_v4i64_v4i16(ushort4 x);
ulong8 __builtin_spirv_OpUConvert_Sat_v8i64_v8i16(ushort8 x);
ulong16 __builtin_spirv_OpUConvert_Sat_v16i64_v16i16(ushort16 x);
ulong2 __builtin_spirv_OpUConvert_v2i64_v2i32(uint2 x);
ulong3 __builtin_spirv_OpUConvert_v3i64_v3i32(uint3 x);
ulong4 __builtin_spirv_OpUConvert_v4i64_v4i32(uint4 x);
ulong8 __builtin_spirv_OpUConvert_v8i64_v8i32(uint8 x);
ulong16 __builtin_spirv_OpUConvert_v16i64_v16i32(uint16 x);
ulong2 __builtin_spirv_OpUConvert_Sat_v2i64_v2i32(uint2 x);
ulong3 __builtin_spirv_OpUConvert_Sat_v3i64_v3i32(uint3 x);
ulong4 __builtin_spirv_OpUConvert_Sat_v4i64_v4i32(uint4 x);
ulong8 __builtin_spirv_OpUConvert_Sat_v8i64_v8i32(uint8 x);
ulong16 __builtin_spirv_OpUConvert_Sat_v16i64_v16i32(uint16 x);
ulong2 __builtin_spirv_OpUConvert_v2i64_v2i64(ulong2 x);
ulong3 __builtin_spirv_OpUConvert_v3i64_v3i64(ulong3 x);
ulong4 __builtin_spirv_OpUConvert_v4i64_v4i64(ulong4 x);
ulong8 __builtin_spirv_OpUConvert_v8i64_v8i64(ulong8 x);
ulong16 __builtin_spirv_OpUConvert_v16i64_v16i64(ulong16 x);
ulong2 __builtin_spirv_OpUConvert_Sat_v2i64_v2i64(ulong2 x);
ulong3 __builtin_spirv_OpUConvert_Sat_v3i64_v3i64(ulong3 x);
ulong4 __builtin_spirv_OpUConvert_Sat_v4i64_v4i64(ulong4 x);
ulong8 __builtin_spirv_OpUConvert_Sat_v8i64_v8i64(ulong8 x);
ulong16 __builtin_spirv_OpUConvert_Sat_v16i64_v16i64(ulong16 x);
char2 __builtin_spirv_OpConvertFToS_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_RTE_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_RTE_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_RTE_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_RTE_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_RTE_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_RTZ_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_RTZ_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_RTZ_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_RTZ_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_RTZ_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_RTP_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_RTP_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_RTP_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_RTP_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_RTP_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_RTN_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_RTN_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_RTN_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_RTN_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_RTN_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i8_v2f32(float2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i8_v3f32(float3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i8_v4f32(float4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i8_v8f32(float8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i8_v16f32(float16 x);
char2 __builtin_spirv_OpConvertFToS_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_RTE_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_RTE_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_RTE_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_RTE_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_RTE_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_RTZ_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_RTZ_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_RTZ_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_RTZ_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_RTZ_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_RTP_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_RTP_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_RTP_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_RTP_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_RTP_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_RTN_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_RTN_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_RTN_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_RTN_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_RTN_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i8_v16f16(half16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i8_v2f16(half2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i8_v3f16(half3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i8_v4f16(half4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i8_v8f16(half8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i8_v16f16(half16 x);
#if defined(cl_khr_fp64)
char2 __builtin_spirv_OpConvertFToS_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_RTE_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_RTE_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_RTE_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_RTE_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_RTE_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_RTZ_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_RTZ_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_RTZ_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_RTZ_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_RTZ_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_RTP_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_RTP_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_RTP_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_RTP_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_RTP_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_RTN_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_RTN_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_RTN_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_RTN_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_RTN_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i8_v16f64(double16 x);
char2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i8_v2f64(double2 x);
char3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i8_v3f64(double3 x);
char4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i8_v4f64(double4 x);
char8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i8_v8f64(double8 x);
char16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i8_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
short2 __builtin_spirv_OpConvertFToS_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_RTE_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_RTE_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_RTE_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_RTE_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_RTE_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_RTZ_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_RTZ_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_RTZ_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_RTZ_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_RTZ_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_RTP_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_RTP_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_RTP_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_RTP_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_RTP_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_RTN_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_RTN_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_RTN_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_RTN_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_RTN_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i16_v2f32(float2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i16_v3f32(float3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i16_v4f32(float4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i16_v8f32(float8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i16_v16f32(float16 x);
short2 __builtin_spirv_OpConvertFToS_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_RTE_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_RTE_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_RTE_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_RTE_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_RTE_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_RTZ_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_RTZ_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_RTZ_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_RTZ_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_RTZ_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_RTP_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_RTP_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_RTP_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_RTP_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_RTP_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_RTN_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_RTN_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_RTN_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_RTN_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_RTN_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i16_v16f16(half16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i16_v2f16(half2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i16_v3f16(half3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i16_v4f16(half4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i16_v8f16(half8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i16_v16f16(half16 x);
#if defined(cl_khr_fp64)
short2 __builtin_spirv_OpConvertFToS_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_RTE_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_RTE_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_RTE_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_RTE_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_RTE_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_RTZ_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_RTZ_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_RTZ_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_RTZ_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_RTZ_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_RTP_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_RTP_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_RTP_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_RTP_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_RTP_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_RTN_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_RTN_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_RTN_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_RTN_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_RTN_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i16_v16f64(double16 x);
short2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i16_v2f64(double2 x);
short3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i16_v3f64(double3 x);
short4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i16_v4f64(double4 x);
short8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i16_v8f64(double8 x);
short16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i16_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
int2 __builtin_spirv_OpConvertFToS_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_RTE_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_RTE_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_RTE_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_RTE_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_RTE_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_RTZ_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_RTZ_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_RTZ_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_RTZ_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_RTZ_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_RTP_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_RTP_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_RTP_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_RTP_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_RTP_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_RTN_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_RTN_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_RTN_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_RTN_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_RTN_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i32_v2f32(float2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i32_v3f32(float3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i32_v4f32(float4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i32_v8f32(float8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i32_v16f32(float16 x);
int2 __builtin_spirv_OpConvertFToS_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_RTE_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_RTE_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_RTE_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_RTE_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_RTE_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_RTZ_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_RTZ_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_RTZ_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_RTZ_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_RTZ_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_RTP_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_RTP_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_RTP_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_RTP_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_RTP_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_RTN_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_RTN_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_RTN_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_RTN_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_RTN_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i32_v16f16(half16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i32_v2f16(half2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i32_v3f16(half3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i32_v4f16(half4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i32_v8f16(half8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i32_v16f16(half16 x);
#if defined(cl_khr_fp64)
int2 __builtin_spirv_OpConvertFToS_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_RTE_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_RTE_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_RTE_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_RTE_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_RTE_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_RTZ_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_RTZ_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_RTZ_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_RTZ_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_RTZ_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_RTP_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_RTP_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_RTP_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_RTP_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_RTP_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_RTN_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_RTN_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_RTN_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_RTN_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_RTN_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i32_v16f64(double16 x);
int2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i32_v2f64(double2 x);
int3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i32_v3f64(double3 x);
int4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i32_v4f64(double4 x);
int8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i32_v8f64(double8 x);
int16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i32_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
long2 __builtin_spirv_OpConvertFToS_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_RTE_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_RTE_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_RTE_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_RTE_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_RTE_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_RTZ_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_RTZ_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_RTZ_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_RTZ_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_RTZ_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_RTP_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_RTP_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_RTP_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_RTP_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_RTP_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_RTN_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_RTN_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_RTN_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_RTN_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_RTN_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i64_v2f32(float2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i64_v3f32(float3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i64_v4f32(float4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i64_v8f32(float8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i64_v16f32(float16 x);
long2 __builtin_spirv_OpConvertFToS_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_RTE_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_RTE_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_RTE_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_RTE_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_RTE_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_RTZ_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_RTZ_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_RTZ_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_RTZ_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_RTZ_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_RTP_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_RTP_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_RTP_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_RTP_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_RTP_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_RTN_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_RTN_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_RTN_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_RTN_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_RTN_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i64_v16f16(half16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i64_v2f16(half2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i64_v3f16(half3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i64_v4f16(half4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i64_v8f16(half8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i64_v16f16(half16 x);
#if defined(cl_khr_fp64)
long2 __builtin_spirv_OpConvertFToS_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_RTE_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_RTE_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_RTE_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_RTE_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_RTE_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_RTZ_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_RTZ_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_RTZ_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_RTZ_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_RTZ_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_RTP_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_RTP_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_RTP_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_RTP_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_RTP_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_RTN_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_RTN_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_RTN_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_RTN_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_RTN_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTE_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTE_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTE_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTE_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTE_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTZ_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTZ_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTZ_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTZ_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTZ_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTP_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTP_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTP_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTP_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTP_v16i64_v16f64(double16 x);
long2 __builtin_spirv_OpConvertFToS_Sat_RTN_v2i64_v2f64(double2 x);
long3 __builtin_spirv_OpConvertFToS_Sat_RTN_v3i64_v3f64(double3 x);
long4 __builtin_spirv_OpConvertFToS_Sat_RTN_v4i64_v4f64(double4 x);
long8 __builtin_spirv_OpConvertFToS_Sat_RTN_v8i64_v8f64(double8 x);
long16 __builtin_spirv_OpConvertFToS_Sat_RTN_v16i64_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
uchar2 __builtin_spirv_OpConvertFToU_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTE_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTE_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTE_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTE_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTE_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTZ_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTZ_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTZ_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTZ_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTZ_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTP_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTP_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTP_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTP_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTP_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTN_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTN_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTN_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTN_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTN_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i8_v2f32(float2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i8_v3f32(float3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i8_v4f32(float4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i8_v8f32(float8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i8_v16f32(float16 x);
uchar2 __builtin_spirv_OpConvertFToU_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTE_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTE_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTE_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTE_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTE_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTZ_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTZ_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTZ_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTZ_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTZ_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTP_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTP_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTP_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTP_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTP_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTN_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTN_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTN_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTN_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTN_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i8_v16f16(half16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i8_v2f16(half2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i8_v3f16(half3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i8_v4f16(half4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i8_v8f16(half8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i8_v16f16(half16 x);
#if defined(cl_khr_fp64)
uchar2 __builtin_spirv_OpConvertFToU_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTE_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTE_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTE_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTE_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTE_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTZ_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTZ_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTZ_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTZ_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTZ_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTP_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTP_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTP_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTP_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTP_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_RTN_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_RTN_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_RTN_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_RTN_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_RTN_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i8_v16f64(double16 x);
uchar2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i8_v2f64(double2 x);
uchar3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i8_v3f64(double3 x);
uchar4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i8_v4f64(double4 x);
uchar8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i8_v8f64(double8 x);
uchar16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i8_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
ushort2 __builtin_spirv_OpConvertFToU_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTE_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTE_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTE_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTE_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTE_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTZ_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTZ_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTZ_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTZ_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTZ_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTP_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTP_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTP_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTP_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTP_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTN_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTN_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTN_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTN_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTN_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i16_v2f32(float2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i16_v3f32(float3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i16_v4f32(float4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i16_v8f32(float8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i16_v16f32(float16 x);
ushort2 __builtin_spirv_OpConvertFToU_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTE_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTE_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTE_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTE_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTE_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTZ_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTZ_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTZ_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTZ_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTZ_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTP_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTP_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTP_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTP_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTP_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTN_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTN_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTN_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTN_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTN_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i16_v16f16(half16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i16_v2f16(half2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i16_v3f16(half3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i16_v4f16(half4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i16_v8f16(half8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i16_v16f16(half16 x);
#if defined(cl_khr_fp64)
ushort2 __builtin_spirv_OpConvertFToU_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTE_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTE_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTE_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTE_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTE_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTZ_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTZ_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTZ_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTZ_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTZ_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTP_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTP_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTP_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTP_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTP_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_RTN_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_RTN_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_RTN_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_RTN_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_RTN_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i16_v16f64(double16 x);
ushort2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i16_v2f64(double2 x);
ushort3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i16_v3f64(double3 x);
ushort4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i16_v4f64(double4 x);
ushort8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i16_v8f64(double8 x);
ushort16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i16_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
uint2 __builtin_spirv_OpConvertFToU_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_RTE_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_RTE_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_RTE_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_RTE_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_RTE_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_RTZ_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_RTZ_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_RTZ_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_RTZ_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_RTZ_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_RTP_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_RTP_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_RTP_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_RTP_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_RTP_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_RTN_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_RTN_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_RTN_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_RTN_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_RTN_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i32_v2f32(float2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i32_v3f32(float3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i32_v4f32(float4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i32_v8f32(float8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i32_v16f32(float16 x);
uint2 __builtin_spirv_OpConvertFToU_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_RTE_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_RTE_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_RTE_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_RTE_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_RTE_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_RTZ_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_RTZ_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_RTZ_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_RTZ_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_RTZ_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_RTP_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_RTP_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_RTP_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_RTP_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_RTP_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_RTN_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_RTN_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_RTN_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_RTN_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_RTN_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i32_v16f16(half16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i32_v2f16(half2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i32_v3f16(half3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i32_v4f16(half4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i32_v8f16(half8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i32_v16f16(half16 x);
#if defined(cl_khr_fp64)
uint2 __builtin_spirv_OpConvertFToU_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_RTE_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_RTE_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_RTE_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_RTE_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_RTE_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_RTZ_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_RTZ_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_RTZ_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_RTZ_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_RTZ_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_RTP_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_RTP_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_RTP_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_RTP_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_RTP_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_RTN_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_RTN_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_RTN_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_RTN_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_RTN_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i32_v16f64(double16 x);
uint2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i32_v2f64(double2 x);
uint3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i32_v3f64(double3 x);
uint4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i32_v4f64(double4 x);
uint8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i32_v8f64(double8 x);
uint16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i32_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
ulong2 __builtin_spirv_OpConvertFToU_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTE_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTE_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTE_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTE_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTE_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTZ_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTZ_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTZ_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTZ_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTZ_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTP_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTP_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTP_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTP_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTP_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTN_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTN_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTN_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTN_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTN_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i64_v2f32(float2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i64_v3f32(float3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i64_v4f32(float4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i64_v8f32(float8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i64_v16f32(float16 x);
ulong2 __builtin_spirv_OpConvertFToU_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTE_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTE_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTE_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTE_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTE_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTZ_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTZ_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTZ_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTZ_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTZ_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTP_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTP_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTP_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTP_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTP_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTN_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTN_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTN_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTN_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTN_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i64_v16f16(half16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i64_v2f16(half2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i64_v3f16(half3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i64_v4f16(half4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i64_v8f16(half8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i64_v16f16(half16 x);
#if defined(cl_khr_fp64)
ulong2 __builtin_spirv_OpConvertFToU_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTE_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTE_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTE_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTE_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTE_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTZ_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTZ_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTZ_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTZ_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTZ_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTP_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTP_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTP_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTP_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTP_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_RTN_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_RTN_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_RTN_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_RTN_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_RTN_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTE_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTE_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTE_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTE_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTE_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTZ_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTZ_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTZ_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTZ_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTZ_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTP_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTP_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTP_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTP_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTP_v16i64_v16f64(double16 x);
ulong2 __builtin_spirv_OpConvertFToU_Sat_RTN_v2i64_v2f64(double2 x);
ulong3 __builtin_spirv_OpConvertFToU_Sat_RTN_v3i64_v3f64(double3 x);
ulong4 __builtin_spirv_OpConvertFToU_Sat_RTN_v4i64_v4f64(double4 x);
ulong8 __builtin_spirv_OpConvertFToU_Sat_RTN_v8i64_v8f64(double8 x);
ulong16 __builtin_spirv_OpConvertFToU_Sat_RTN_v16i64_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
uchar2 __builtin_spirv_OpSatConvertSToU_v2i8_v2i8(char2 x);
uchar3 __builtin_spirv_OpSatConvertSToU_v3i8_v3i8(char3 x);
uchar4 __builtin_spirv_OpSatConvertSToU_v4i8_v4i8(char4 x);
uchar8 __builtin_spirv_OpSatConvertSToU_v8i8_v8i8(char8 x);
uchar16 __builtin_spirv_OpSatConvertSToU_v16i8_v16i8(char16 x);
uchar2 __builtin_spirv_OpSatConvertSToU_v2i8_v2i16(short2 x);
uchar3 __builtin_spirv_OpSatConvertSToU_v3i8_v3i16(short3 x);
uchar4 __builtin_spirv_OpSatConvertSToU_v4i8_v4i16(short4 x);
uchar8 __builtin_spirv_OpSatConvertSToU_v8i8_v8i16(short8 x);
uchar16 __builtin_spirv_OpSatConvertSToU_v16i8_v16i16(short16 x);
uchar2 __builtin_spirv_OpSatConvertSToU_v2i8_v2i32(int2 x);
uchar3 __builtin_spirv_OpSatConvertSToU_v3i8_v3i32(int3 x);
uchar4 __builtin_spirv_OpSatConvertSToU_v4i8_v4i32(int4 x);
uchar8 __builtin_spirv_OpSatConvertSToU_v8i8_v8i32(int8 x);
uchar16 __builtin_spirv_OpSatConvertSToU_v16i8_v16i32(int16 x);
uchar2 __builtin_spirv_OpSatConvertSToU_v2i8_v2i64(long2 x);
uchar3 __builtin_spirv_OpSatConvertSToU_v3i8_v3i64(long3 x);
uchar4 __builtin_spirv_OpSatConvertSToU_v4i8_v4i64(long4 x);
uchar8 __builtin_spirv_OpSatConvertSToU_v8i8_v8i64(long8 x);
uchar16 __builtin_spirv_OpSatConvertSToU_v16i8_v16i64(long16 x);
ushort2 __builtin_spirv_OpSatConvertSToU_v2i16_v2i8(char2 x);
ushort3 __builtin_spirv_OpSatConvertSToU_v3i16_v3i8(char3 x);
ushort4 __builtin_spirv_OpSatConvertSToU_v4i16_v4i8(char4 x);
ushort8 __builtin_spirv_OpSatConvertSToU_v8i16_v8i8(char8 x);
ushort16 __builtin_spirv_OpSatConvertSToU_v16i16_v16i8(char16 x);
ushort2 __builtin_spirv_OpSatConvertSToU_v2i16_v2i16(short2 x);
ushort3 __builtin_spirv_OpSatConvertSToU_v3i16_v3i16(short3 x);
ushort4 __builtin_spirv_OpSatConvertSToU_v4i16_v4i16(short4 x);
ushort8 __builtin_spirv_OpSatConvertSToU_v8i16_v8i16(short8 x);
ushort16 __builtin_spirv_OpSatConvertSToU_v16i16_v16i16(short16 x);
ushort2 __builtin_spirv_OpSatConvertSToU_v2i16_v2i32(int2 x);
ushort3 __builtin_spirv_OpSatConvertSToU_v3i16_v3i32(int3 x);
ushort4 __builtin_spirv_OpSatConvertSToU_v4i16_v4i32(int4 x);
ushort8 __builtin_spirv_OpSatConvertSToU_v8i16_v8i32(int8 x);
ushort16 __builtin_spirv_OpSatConvertSToU_v16i16_v16i32(int16 x);
ushort2 __builtin_spirv_OpSatConvertSToU_v2i16_v2i64(long2 x);
ushort3 __builtin_spirv_OpSatConvertSToU_v3i16_v3i64(long3 x);
ushort4 __builtin_spirv_OpSatConvertSToU_v4i16_v4i64(long4 x);
ushort8 __builtin_spirv_OpSatConvertSToU_v8i16_v8i64(long8 x);
ushort16 __builtin_spirv_OpSatConvertSToU_v16i16_v16i64(long16 x);
uint2 __builtin_spirv_OpSatConvertSToU_v2i32_v2i8(char2 x);
uint3 __builtin_spirv_OpSatConvertSToU_v3i32_v3i8(char3 x);
uint4 __builtin_spirv_OpSatConvertSToU_v4i32_v4i8(char4 x);
uint8 __builtin_spirv_OpSatConvertSToU_v8i32_v8i8(char8 x);
uint16 __builtin_spirv_OpSatConvertSToU_v16i32_v16i8(char16 x);
uint2 __builtin_spirv_OpSatConvertSToU_v2i32_v2i16(short2 x);
uint3 __builtin_spirv_OpSatConvertSToU_v3i32_v3i16(short3 x);
uint4 __builtin_spirv_OpSatConvertSToU_v4i32_v4i16(short4 x);
uint8 __builtin_spirv_OpSatConvertSToU_v8i32_v8i16(short8 x);
uint16 __builtin_spirv_OpSatConvertSToU_v16i32_v16i16(short16 x);
uint2 __builtin_spirv_OpSatConvertSToU_v2i32_v2i32(int2 x);
uint3 __builtin_spirv_OpSatConvertSToU_v3i32_v3i32(int3 x);
uint4 __builtin_spirv_OpSatConvertSToU_v4i32_v4i32(int4 x);
uint8 __builtin_spirv_OpSatConvertSToU_v8i32_v8i32(int8 x);
uint16 __builtin_spirv_OpSatConvertSToU_v16i32_v16i32(int16 x);
uint2 __builtin_spirv_OpSatConvertSToU_v2i32_v2i64(long2 x);
uint3 __builtin_spirv_OpSatConvertSToU_v3i32_v3i64(long3 x);
uint4 __builtin_spirv_OpSatConvertSToU_v4i32_v4i64(long4 x);
uint8 __builtin_spirv_OpSatConvertSToU_v8i32_v8i64(long8 x);
uint16 __builtin_spirv_OpSatConvertSToU_v16i32_v16i64(long16 x);
ulong2 __builtin_spirv_OpSatConvertSToU_v2i64_v2i8(char2 x);
ulong3 __builtin_spirv_OpSatConvertSToU_v3i64_v3i8(char3 x);
ulong4 __builtin_spirv_OpSatConvertSToU_v4i64_v4i8(char4 x);
ulong8 __builtin_spirv_OpSatConvertSToU_v8i64_v8i8(char8 x);
ulong16 __builtin_spirv_OpSatConvertSToU_v16i64_v16i8(char16 x);
ulong2 __builtin_spirv_OpSatConvertSToU_v2i64_v2i16(short2 x);
ulong3 __builtin_spirv_OpSatConvertSToU_v3i64_v3i16(short3 x);
ulong4 __builtin_spirv_OpSatConvertSToU_v4i64_v4i16(short4 x);
ulong8 __builtin_spirv_OpSatConvertSToU_v8i64_v8i16(short8 x);
ulong16 __builtin_spirv_OpSatConvertSToU_v16i64_v16i16(short16 x);
ulong2 __builtin_spirv_OpSatConvertSToU_v2i64_v2i32(int2 x);
ulong3 __builtin_spirv_OpSatConvertSToU_v3i64_v3i32(int3 x);
ulong4 __builtin_spirv_OpSatConvertSToU_v4i64_v4i32(int4 x);
ulong8 __builtin_spirv_OpSatConvertSToU_v8i64_v8i32(int8 x);
ulong16 __builtin_spirv_OpSatConvertSToU_v16i64_v16i32(int16 x);
ulong2 __builtin_spirv_OpSatConvertSToU_v2i64_v2i64(long2 x);
ulong3 __builtin_spirv_OpSatConvertSToU_v3i64_v3i64(long3 x);
ulong4 __builtin_spirv_OpSatConvertSToU_v4i64_v4i64(long4 x);
ulong8 __builtin_spirv_OpSatConvertSToU_v8i64_v8i64(long8 x);
ulong16 __builtin_spirv_OpSatConvertSToU_v16i64_v16i64(long16 x);
char2 __builtin_spirv_OpSatConvertUToS_v2i8_v2i8(uchar2 x);
char3 __builtin_spirv_OpSatConvertUToS_v3i8_v3i8(uchar3 x);
char4 __builtin_spirv_OpSatConvertUToS_v4i8_v4i8(uchar4 x);
char8 __builtin_spirv_OpSatConvertUToS_v8i8_v8i8(uchar8 x);
char16 __builtin_spirv_OpSatConvertUToS_v16i8_v16i8(uchar16 x);
char2 __builtin_spirv_OpSatConvertUToS_v2i8_v2i16(ushort2 x);
char3 __builtin_spirv_OpSatConvertUToS_v3i8_v3i16(ushort3 x);
char4 __builtin_spirv_OpSatConvertUToS_v4i8_v4i16(ushort4 x);
char8 __builtin_spirv_OpSatConvertUToS_v8i8_v8i16(ushort8 x);
char16 __builtin_spirv_OpSatConvertUToS_v16i8_v16i16(ushort16 x);
char2 __builtin_spirv_OpSatConvertUToS_v2i8_v2i32(uint2 x);
char3 __builtin_spirv_OpSatConvertUToS_v3i8_v3i32(uint3 x);
char4 __builtin_spirv_OpSatConvertUToS_v4i8_v4i32(uint4 x);
char8 __builtin_spirv_OpSatConvertUToS_v8i8_v8i32(uint8 x);
char16 __builtin_spirv_OpSatConvertUToS_v16i8_v16i32(uint16 x);
char2 __builtin_spirv_OpSatConvertUToS_v2i8_v2i64(ulong2 x);
char3 __builtin_spirv_OpSatConvertUToS_v3i8_v3i64(ulong3 x);
char4 __builtin_spirv_OpSatConvertUToS_v4i8_v4i64(ulong4 x);
char8 __builtin_spirv_OpSatConvertUToS_v8i8_v8i64(ulong8 x);
char16 __builtin_spirv_OpSatConvertUToS_v16i8_v16i64(ulong16 x);
short2 __builtin_spirv_OpSatConvertUToS_v2i16_v2i8(uchar2 x);
short3 __builtin_spirv_OpSatConvertUToS_v3i16_v3i8(uchar3 x);
short4 __builtin_spirv_OpSatConvertUToS_v4i16_v4i8(uchar4 x);
short8 __builtin_spirv_OpSatConvertUToS_v8i16_v8i8(uchar8 x);
short16 __builtin_spirv_OpSatConvertUToS_v16i16_v16i8(uchar16 x);
short2 __builtin_spirv_OpSatConvertUToS_v2i16_v2i16(ushort2 x);
short3 __builtin_spirv_OpSatConvertUToS_v3i16_v3i16(ushort3 x);
short4 __builtin_spirv_OpSatConvertUToS_v4i16_v4i16(ushort4 x);
short8 __builtin_spirv_OpSatConvertUToS_v8i16_v8i16(ushort8 x);
short16 __builtin_spirv_OpSatConvertUToS_v16i16_v16i16(ushort16 x);
short2 __builtin_spirv_OpSatConvertUToS_v2i16_v2i32(uint2 x);
short3 __builtin_spirv_OpSatConvertUToS_v3i16_v3i32(uint3 x);
short4 __builtin_spirv_OpSatConvertUToS_v4i16_v4i32(uint4 x);
short8 __builtin_spirv_OpSatConvertUToS_v8i16_v8i32(uint8 x);
short16 __builtin_spirv_OpSatConvertUToS_v16i16_v16i32(uint16 x);
short2 __builtin_spirv_OpSatConvertUToS_v2i16_v2i64(ulong2 x);
short3 __builtin_spirv_OpSatConvertUToS_v3i16_v3i64(ulong3 x);
short4 __builtin_spirv_OpSatConvertUToS_v4i16_v4i64(ulong4 x);
short8 __builtin_spirv_OpSatConvertUToS_v8i16_v8i64(ulong8 x);
short16 __builtin_spirv_OpSatConvertUToS_v16i16_v16i64(ulong16 x);
int2 __builtin_spirv_OpSatConvertUToS_v2i32_v2i8(uchar2 x);
int3 __builtin_spirv_OpSatConvertUToS_v3i32_v3i8(uchar3 x);
int4 __builtin_spirv_OpSatConvertUToS_v4i32_v4i8(uchar4 x);
int8 __builtin_spirv_OpSatConvertUToS_v8i32_v8i8(uchar8 x);
int16 __builtin_spirv_OpSatConvertUToS_v16i32_v16i8(uchar16 x);
int2 __builtin_spirv_OpSatConvertUToS_v2i32_v2i16(ushort2 x);
int3 __builtin_spirv_OpSatConvertUToS_v3i32_v3i16(ushort3 x);
int4 __builtin_spirv_OpSatConvertUToS_v4i32_v4i16(ushort4 x);
int8 __builtin_spirv_OpSatConvertUToS_v8i32_v8i16(ushort8 x);
int16 __builtin_spirv_OpSatConvertUToS_v16i32_v16i16(ushort16 x);
int2 __builtin_spirv_OpSatConvertUToS_v2i32_v2i32(uint2 x);
int3 __builtin_spirv_OpSatConvertUToS_v3i32_v3i32(uint3 x);
int4 __builtin_spirv_OpSatConvertUToS_v4i32_v4i32(uint4 x);
int8 __builtin_spirv_OpSatConvertUToS_v8i32_v8i32(uint8 x);
int16 __builtin_spirv_OpSatConvertUToS_v16i32_v16i32(uint16 x);
int2 __builtin_spirv_OpSatConvertUToS_v2i32_v2i64(ulong2 x);
int3 __builtin_spirv_OpSatConvertUToS_v3i32_v3i64(ulong3 x);
int4 __builtin_spirv_OpSatConvertUToS_v4i32_v4i64(ulong4 x);
int8 __builtin_spirv_OpSatConvertUToS_v8i32_v8i64(ulong8 x);
int16 __builtin_spirv_OpSatConvertUToS_v16i32_v16i64(ulong16 x);
long2 __builtin_spirv_OpSatConvertUToS_v2i64_v2i8(uchar2 x);
long3 __builtin_spirv_OpSatConvertUToS_v3i64_v3i8(uchar3 x);
long4 __builtin_spirv_OpSatConvertUToS_v4i64_v4i8(uchar4 x);
long8 __builtin_spirv_OpSatConvertUToS_v8i64_v8i8(uchar8 x);
long16 __builtin_spirv_OpSatConvertUToS_v16i64_v16i8(uchar16 x);
long2 __builtin_spirv_OpSatConvertUToS_v2i64_v2i16(ushort2 x);
long3 __builtin_spirv_OpSatConvertUToS_v3i64_v3i16(ushort3 x);
long4 __builtin_spirv_OpSatConvertUToS_v4i64_v4i16(ushort4 x);
long8 __builtin_spirv_OpSatConvertUToS_v8i64_v8i16(ushort8 x);
long16 __builtin_spirv_OpSatConvertUToS_v16i64_v16i16(ushort16 x);
long2 __builtin_spirv_OpSatConvertUToS_v2i64_v2i32(uint2 x);
long3 __builtin_spirv_OpSatConvertUToS_v3i64_v3i32(uint3 x);
long4 __builtin_spirv_OpSatConvertUToS_v4i64_v4i32(uint4 x);
long8 __builtin_spirv_OpSatConvertUToS_v8i64_v8i32(uint8 x);
long16 __builtin_spirv_OpSatConvertUToS_v16i64_v16i32(uint16 x);
long2 __builtin_spirv_OpSatConvertUToS_v2i64_v2i64(ulong2 x);
long3 __builtin_spirv_OpSatConvertUToS_v3i64_v3i64(ulong3 x);
long4 __builtin_spirv_OpSatConvertUToS_v4i64_v4i64(ulong4 x);
long8 __builtin_spirv_OpSatConvertUToS_v8i64_v8i64(ulong8 x);
long16 __builtin_spirv_OpSatConvertUToS_v16i64_v16i64(ulong16 x);

#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
private void* __builtin_spirv_OpGenericCastToPtrExplicit_p0i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
local   void* __builtin_spirv_OpGenericCastToPtrExplicit_p3i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
global  void* __builtin_spirv_OpGenericCastToPtrExplicit_p1i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
uint __builtin_spirv_OpGenericPtrMemSemantics_p4i8(const generic void *Pointer);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

// Note: return type is part of mangle!
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
private void* __builtin_spirv_OpGenericCastToPtrExplicit_p0i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
global  void* __builtin_spirv_OpGenericCastToPtrExplicit_p1i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
local   void* __builtin_spirv_OpGenericCastToPtrExplicit_p3i8_p4i8_i32(const generic void *Pointer, StorageClass_t Storage);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
// Arithmetic Instructions

half __builtin_spirv_OpDot_v2f16_v2f16(half2 Vector1, half2 Vector2);
half __builtin_spirv_OpDot_v3f16_v3f16(half3 Vector1, half3 Vector2);
half __builtin_spirv_OpDot_v4f16_v4f16(half4 Vector1, half4 Vector2);
half __builtin_spirv_OpDot_v8f16_v8f16(half8 Vector1, half8 Vector2);
half __builtin_spirv_OpDot_v16f16_v16f16(half16 Vector1, half16 Vector2);
float __builtin_spirv_OpDot_v2f32_v2f32(float2 Vector1, float2 Vector2);
float __builtin_spirv_OpDot_v3f32_v3f32(float3 Vector1, float3 Vector2);
float __builtin_spirv_OpDot_v4f32_v4f32(float4 Vector1, float4 Vector2);
float __builtin_spirv_OpDot_v8f32_v8f32(float8 Vector1, float8 Vector2);
float __builtin_spirv_OpDot_v16f32_v16f32(float16 Vector1, float16 Vector2);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpDot_v2f64_v2f64(double2 Vector1, double2 Vector2);
double __builtin_spirv_OpDot_v3f64_v3f64(double3 Vector1, double3 Vector2);
double __builtin_spirv_OpDot_v4f64_v4f64(double4 Vector1, double4 Vector2);
double __builtin_spirv_OpDot_v8f64_v8f64(double8 Vector1, double8 Vector2);
double __builtin_spirv_OpDot_v16f64_v16f64(double16 Vector1, double16 Vector2);
#endif // defined(cl_khr_fp64)
typedef struct { uchar a; uchar b; } TwoOp_i8;
typedef struct { uchar2 a; uchar2 b; } TwoOp_v2i8;
typedef struct { uchar3 a; uchar3 b; } TwoOp_v3i8;
typedef struct { uchar4 a; uchar4 b; } TwoOp_v4i8;
typedef struct { uchar8 a; uchar8 b; } TwoOp_v8i8;
typedef struct { uchar16 a; uchar16 b; } TwoOp_v16i8;
typedef struct { ushort a; ushort b; } TwoOp_i16;
typedef struct { ushort2 a; ushort2 b; } TwoOp_v2i16;
typedef struct { ushort3 a; ushort3 b; } TwoOp_v3i16;
typedef struct { ushort4 a; ushort4 b; } TwoOp_v4i16;
typedef struct { ushort8 a; ushort8 b; } TwoOp_v8i16;
typedef struct { ushort16 a; ushort16 b; } TwoOp_v16i16;
typedef struct { uint a; uint b; } TwoOp_i32;
typedef struct { uint2 a; uint2 b; } TwoOp_v2i32;
typedef struct { uint3 a; uint3 b; } TwoOp_v3i32;
typedef struct { uint4 a; uint4 b; } TwoOp_v4i32;
typedef struct { uint8 a; uint8 b; } TwoOp_v8i32;
typedef struct { uint16 a; uint16 b; } TwoOp_v16i32;
typedef struct { ulong a; ulong b; } TwoOp_i64;
typedef struct { ulong2 a; ulong2 b; } TwoOp_v2i64;
typedef struct { ulong3 a; ulong3 b; } TwoOp_v3i64;
typedef struct { ulong4 a; ulong4 b; } TwoOp_v4i64;
typedef struct { ulong8 a; ulong8 b; } TwoOp_v8i64;
typedef struct { ulong16 a; ulong16 b; } TwoOp_v16i64;

TwoOp_i8    __builtin_spirv_OpUMulExtended_i8_i8(uchar Operand1, uchar Operand2);
TwoOp_v2i8  __builtin_spirv_OpUMulExtended_v2i8_v2i8(uchar2 Operand1, uchar2 Operand2);
TwoOp_v3i8  __builtin_spirv_OpUMulExtended_v3i8_v3i8(uchar3 Operand1, uchar3 Operand2);
TwoOp_v4i8  __builtin_spirv_OpUMulExtended_v4i8_v4i8(uchar4 Operand1, uchar4 Operand2);
TwoOp_v8i8  __builtin_spirv_OpUMulExtended_v8i8_v8i8(uchar8 Operand1, uchar8 Operand2);
TwoOp_v16i8 __builtin_spirv_OpUMulExtended_v16i8_v16i8(uchar16 Operand1, uchar16 Operand2);
TwoOp_i16    __builtin_spirv_OpUMulExtended_i16_i16(ushort Operand1, ushort Operand2);
TwoOp_v2i16  __builtin_spirv_OpUMulExtended_v2i16_v2i16(ushort2 Operand1, ushort2 Operand2);
TwoOp_v3i16  __builtin_spirv_OpUMulExtended_v3i16_v3i16(ushort3 Operand1, ushort3 Operand2);
TwoOp_v4i16  __builtin_spirv_OpUMulExtended_v4i16_v4i16(ushort4 Operand1, ushort4 Operand2);
TwoOp_v8i16  __builtin_spirv_OpUMulExtended_v8i16_v8i16(ushort8 Operand1, ushort8 Operand2);
TwoOp_v16i16 __builtin_spirv_OpUMulExtended_v16i16_v16i16(ushort16 Operand1, ushort16 Operand2);
TwoOp_i32    __builtin_spirv_OpUMulExtended_i32_i32(uint Operand1, uint Operand2);
TwoOp_v2i32  __builtin_spirv_OpUMulExtended_v2i32_v2i32(uint2 Operand1, uint2 Operand2);
TwoOp_v3i32  __builtin_spirv_OpUMulExtended_v3i32_v3i32(uint3 Operand1, uint3 Operand2);
TwoOp_v4i32  __builtin_spirv_OpUMulExtended_v4i32_v4i32(uint4 Operand1, uint4 Operand2);
TwoOp_v8i32  __builtin_spirv_OpUMulExtended_v8i32_v8i32(uint8 Operand1, uint8 Operand2);
TwoOp_v16i32 __builtin_spirv_OpUMulExtended_v16i32_v16i32(uint16 Operand1, uint16 Operand2);
TwoOp_i64    __builtin_spirv_OpUMulExtended_i64_i64(ulong Operand1, ulong Operand2);
TwoOp_v2i64  __builtin_spirv_OpUMulExtended_v2i64_v2i64(ulong2 Operand1, ulong2 Operand2);
TwoOp_v3i64  __builtin_spirv_OpUMulExtended_v3i64_v3i64(ulong3 Operand1, ulong3 Operand2);
TwoOp_v4i64  __builtin_spirv_OpUMulExtended_v4i64_v4i64(ulong4 Operand1, ulong4 Operand2);
TwoOp_v8i64  __builtin_spirv_OpUMulExtended_v8i64_v8i64(ulong8 Operand1, ulong8 Operand2);
TwoOp_v16i64 __builtin_spirv_OpUMulExtended_v16i64_v16i64(ulong16 Operand1, ulong16 Operand2);

TwoOp_i8    __builtin_spirv_OpSMulExtended_i8_i8(char Operand1, char Operand2);
TwoOp_v2i8  __builtin_spirv_OpSMulExtended_v2i8_v2i8(char2 Operand1, char2 Operand2);
TwoOp_v3i8  __builtin_spirv_OpSMulExtended_v3i8_v3i8(char3 Operand1, char3 Operand2);
TwoOp_v4i8  __builtin_spirv_OpSMulExtended_v4i8_v4i8(char4 Operand1, char4 Operand2);
TwoOp_v8i8  __builtin_spirv_OpSMulExtended_v8i8_v8i8(char8 Operand1, char8 Operand2);
TwoOp_v16i8 __builtin_spirv_OpSMulExtended_v16i8_v16i8(char16 Operand1, char16 Operand2);
TwoOp_i16    __builtin_spirv_OpSMulExtended_i16_i16(short Operand1, short Operand2);
TwoOp_v2i16  __builtin_spirv_OpSMulExtended_v2i16_v2i16(short2 Operand1, short2 Operand2);
TwoOp_v3i16  __builtin_spirv_OpSMulExtended_v3i16_v3i16(short3 Operand1, short3 Operand2);
TwoOp_v4i16  __builtin_spirv_OpSMulExtended_v4i16_v4i16(short4 Operand1, short4 Operand2);
TwoOp_v8i16  __builtin_spirv_OpSMulExtended_v8i16_v8i16(short8 Operand1, short8 Operand2);
TwoOp_v16i16 __builtin_spirv_OpSMulExtended_v16i16_v16i16(short16 Operand1, short16 Operand2);
TwoOp_i32    __builtin_spirv_OpSMulExtended_i32_i32(int Operand1, int Operand2);
TwoOp_v2i32  __builtin_spirv_OpSMulExtended_v2i32_v2i32(int2 Operand1, int2 Operand2);
TwoOp_v3i32  __builtin_spirv_OpSMulExtended_v3i32_v3i32(int3 Operand1, int3 Operand2);
TwoOp_v4i32  __builtin_spirv_OpSMulExtended_v4i32_v4i32(int4 Operand1, int4 Operand2);
TwoOp_v8i32  __builtin_spirv_OpSMulExtended_v8i32_v8i32(int8 Operand1, int8 Operand2);
TwoOp_v16i32 __builtin_spirv_OpSMulExtended_v16i32_v16i32(int16 Operand1, int16 Operand2);
TwoOp_i64    __builtin_spirv_OpSMulExtended_i64_i64(long Operand1, long Operand2);
TwoOp_v2i64  __builtin_spirv_OpSMulExtended_v2i64_v2i64(long2 Operand1, long2 Operand2);
TwoOp_v3i64  __builtin_spirv_OpSMulExtended_v3i64_v3i64(long3 Operand1, long3 Operand2);
TwoOp_v4i64  __builtin_spirv_OpSMulExtended_v4i64_v4i64(long4 Operand1, long4 Operand2);
TwoOp_v8i64  __builtin_spirv_OpSMulExtended_v8i64_v8i64(long8 Operand1, long8 Operand2);
TwoOp_v16i64 __builtin_spirv_OpSMulExtended_v16i64_v16i64(long16 Operand1, long16 Operand2);

// Bit Instructions

uchar __builtin_spirv_OpBitReverse_i8(uchar Base);
uchar2 __builtin_spirv_OpBitReverse_v2i8(uchar2 Base);
uchar3 __builtin_spirv_OpBitReverse_v3i8(uchar3 Base);
uchar4 __builtin_spirv_OpBitReverse_v4i8(uchar4 Base);
uchar8 __builtin_spirv_OpBitReverse_v8i8(uchar8 Base);
uchar16 __builtin_spirv_OpBitReverse_v16i8(uchar16 Base);
ushort __builtin_spirv_OpBitReverse_i16(ushort Base);
ushort2 __builtin_spirv_OpBitReverse_v2i16(ushort2 Base);
ushort3 __builtin_spirv_OpBitReverse_v3i16(ushort3 Base);
ushort4 __builtin_spirv_OpBitReverse_v4i16(ushort4 Base);
ushort8 __builtin_spirv_OpBitReverse_v8i16(ushort8 Base);
ushort16 __builtin_spirv_OpBitReverse_v16i16(ushort16 Base);
uint __builtin_spirv_OpBitReverse_i32(uint Base);
uint2 __builtin_spirv_OpBitReverse_v2i32(uint2 Base);
uint3 __builtin_spirv_OpBitReverse_v3i32(uint3 Base);
uint4 __builtin_spirv_OpBitReverse_v4i32(uint4 Base);
uint8 __builtin_spirv_OpBitReverse_v8i32(uint8 Base);
uint16 __builtin_spirv_OpBitReverse_v16i32(uint16 Base);
ulong __builtin_spirv_OpBitReverse_i64(ulong Base);
ulong2 __builtin_spirv_OpBitReverse_v2i64(ulong2 Base);
ulong3 __builtin_spirv_OpBitReverse_v3i64(ulong3 Base);
ulong4 __builtin_spirv_OpBitReverse_v4i64(ulong4 Base);
ulong8 __builtin_spirv_OpBitReverse_v8i64(ulong8 Base);
ulong16 __builtin_spirv_OpBitReverse_v16i64(ulong16 Base);

uchar __builtin_spirv_OpBitCount_i8(uchar Base);
uchar2 __builtin_spirv_OpBitCount_v2i8(uchar2 Base);
uchar3 __builtin_spirv_OpBitCount_v3i8(uchar3 Base);
uchar4 __builtin_spirv_OpBitCount_v4i8(uchar4 Base);
uchar8 __builtin_spirv_OpBitCount_v8i8(uchar8 Base);
uchar16 __builtin_spirv_OpBitCount_v16i8(uchar16 Base);
uchar __builtin_spirv_OpBitCount_i16(ushort Base);
uchar2 __builtin_spirv_OpBitCount_v2i16(ushort2 Base);
uchar3 __builtin_spirv_OpBitCount_v3i16(ushort3 Base);
uchar4 __builtin_spirv_OpBitCount_v4i16(ushort4 Base);
uchar8 __builtin_spirv_OpBitCount_v8i16(ushort8 Base);
uchar16 __builtin_spirv_OpBitCount_v16i16(ushort16 Base);
uchar __builtin_spirv_OpBitCount_i32(uint Base);
uchar2 __builtin_spirv_OpBitCount_v2i32(uint2 Base);
uchar3 __builtin_spirv_OpBitCount_v3i32(uint3 Base);
uchar4 __builtin_spirv_OpBitCount_v4i32(uint4 Base);
uchar8 __builtin_spirv_OpBitCount_v8i32(uint8 Base);
uchar16 __builtin_spirv_OpBitCount_v16i32(uint16 Base);
uchar __builtin_spirv_OpBitCount_i64(ulong Base);
uchar2 __builtin_spirv_OpBitCount_v2i64(ulong2 Base);
uchar3 __builtin_spirv_OpBitCount_v3i64(ulong3 Base);
uchar4 __builtin_spirv_OpBitCount_v4i64(ulong4 Base);
uchar8 __builtin_spirv_OpBitCount_v8i64(ulong8 Base);
uchar16 __builtin_spirv_OpBitCount_v16i64(ulong16 Base);

// Relational and Logical Instructions


// Our OpenCL C builtins currently do not call this
bool __builtin_spirv_OpAny_v2i1(__bool2 Vector);
bool __builtin_spirv_OpAny_v3i1(__bool3 Vector);
bool __builtin_spirv_OpAny_v4i1(__bool4 Vector);
bool __builtin_spirv_OpAny_v8i1(__bool8 Vector);
bool __builtin_spirv_OpAny_v16i1(__bool16 Vector);

// Our OpenCL C builtins currently do not call this
bool __builtin_spirv_OpAll_v2i1(__bool2 Vector);
bool __builtin_spirv_OpAll_v3i1(__bool3 Vector);
bool __builtin_spirv_OpAll_v4i1(__bool4 Vector);
bool __builtin_spirv_OpAll_v8i1(__bool8 Vector);
bool __builtin_spirv_OpAll_v16i1(__bool16 Vector);

bool  __builtin_spirv_OpIsNan_f16(half x);
bool  __builtin_spirv_OpIsNan_f32(float x);
__bool2 __builtin_spirv_OpIsNan_v2f16(half2 x);
__bool2 __builtin_spirv_OpIsNan_v2f32(float2 x);
__bool3 __builtin_spirv_OpIsNan_v3f16(half3 x);
__bool3 __builtin_spirv_OpIsNan_v3f32(float3 x);
__bool4 __builtin_spirv_OpIsNan_v4f16(half4 x);
__bool4 __builtin_spirv_OpIsNan_v4f32(float4 x);
__bool8 __builtin_spirv_OpIsNan_v8f16(half8 x);
__bool8 __builtin_spirv_OpIsNan_v8f32(float8 x);
__bool16 __builtin_spirv_OpIsNan_v16f16(half16 x);
__bool16 __builtin_spirv_OpIsNan_v16f32(float16 x);
#if defined(cl_khr_fp64)
bool  __builtin_spirv_OpIsNan_f64(double x);
__bool2 __builtin_spirv_OpIsNan_v2f64(double2 x);
__bool3 __builtin_spirv_OpIsNan_v3f64(double3 x);
__bool4 __builtin_spirv_OpIsNan_v4f64(double4 x);
__bool8 __builtin_spirv_OpIsNan_v8f64(double8 x);
__bool16 __builtin_spirv_OpIsNan_v16f64(double16 x);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpIsInf_f16(half x);
bool __builtin_spirv_OpIsInf_f32(float x);
__bool2 __builtin_spirv_OpIsInf_v2f16(half2 x);
__bool2 __builtin_spirv_OpIsInf_v2f32(float2 x);
__bool3 __builtin_spirv_OpIsInf_v3f16(half3 x);
__bool3 __builtin_spirv_OpIsInf_v3f32(float3 x);
__bool4 __builtin_spirv_OpIsInf_v4f16(half4 x);
__bool4 __builtin_spirv_OpIsInf_v4f32(float4 x);
__bool8 __builtin_spirv_OpIsInf_v8f16(half8 x);
__bool8 __builtin_spirv_OpIsInf_v8f32(float8 x);
__bool16 __builtin_spirv_OpIsInf_v16f16(half16 x);
__bool16 __builtin_spirv_OpIsInf_v16f32(float16 x);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpIsInf_f64(double x);
__bool2 __builtin_spirv_OpIsInf_v2f64(double2 x);
__bool3 __builtin_spirv_OpIsInf_v3f64(double3 x);
__bool4 __builtin_spirv_OpIsInf_v4f64(double4 x);
__bool8 __builtin_spirv_OpIsInf_v8f64(double8 x);
__bool16 __builtin_spirv_OpIsInf_v16f64(double16 x);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpIsFinite_f16(half x);
bool __builtin_spirv_OpIsFinite_f32(float x);
__bool2 __builtin_spirv_OpIsFinite_v2f16(half2 x);
__bool2 __builtin_spirv_OpIsFinite_v2f32(float2 x);
__bool3 __builtin_spirv_OpIsFinite_v3f16(half3 x);
__bool3 __builtin_spirv_OpIsFinite_v3f32(float3 x);
__bool4 __builtin_spirv_OpIsFinite_v4f16(half4 x);
__bool4 __builtin_spirv_OpIsFinite_v4f32(float4 x);
__bool8 __builtin_spirv_OpIsFinite_v8f16(half8 x);
__bool8 __builtin_spirv_OpIsFinite_v8f32(float8 x);
__bool16 __builtin_spirv_OpIsFinite_v16f16(half16 x);
__bool16 __builtin_spirv_OpIsFinite_v16f32(float16 x);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpIsFinite_f64(double x);
__bool2 __builtin_spirv_OpIsFinite_v2f64(double2 x);
__bool3 __builtin_spirv_OpIsFinite_v3f64(double3 x);
__bool4 __builtin_spirv_OpIsFinite_v4f64(double4 x);
__bool8 __builtin_spirv_OpIsFinite_v8f64(double8 x);
__bool16 __builtin_spirv_OpIsFinite_v16f64(double16 x);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpIsNormal_f16(half x);
bool __builtin_spirv_OpIsNormal_f32(float x);
__bool2 __builtin_spirv_OpIsNormal_v2f16(half2 x);
__bool2 __builtin_spirv_OpIsNormal_v2f32(float2 x);
__bool3 __builtin_spirv_OpIsNormal_v3f16(half3 x);
__bool3 __builtin_spirv_OpIsNormal_v3f32(float3 x);
__bool4 __builtin_spirv_OpIsNormal_v4f16(half4 x);
__bool4 __builtin_spirv_OpIsNormal_v4f32(float4 x);
__bool8 __builtin_spirv_OpIsNormal_v8f16(half8 x);
__bool8 __builtin_spirv_OpIsNormal_v8f32(float8 x);
__bool16 __builtin_spirv_OpIsNormal_v16f16(half16 x);
__bool16 __builtin_spirv_OpIsNormal_v16f32(float16 x);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpIsNormal_f64(double x);
__bool2 __builtin_spirv_OpIsNormal_v2f64(double2 x);
__bool3 __builtin_spirv_OpIsNormal_v3f64(double3 x);
__bool4 __builtin_spirv_OpIsNormal_v4f64(double4 x);
__bool8 __builtin_spirv_OpIsNormal_v8f64(double8 x);
__bool16 __builtin_spirv_OpIsNormal_v16f64(double16 x);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpSignBitSet_f16(half x);
bool __builtin_spirv_OpSignBitSet_f32(float x);
__bool2 __builtin_spirv_OpSignBitSet_v2f16(half2 x);
__bool2 __builtin_spirv_OpSignBitSet_v2f32(float2 x);
__bool3 __builtin_spirv_OpSignBitSet_v3f16(half3 x);
__bool3 __builtin_spirv_OpSignBitSet_v3f32(float3 x);
__bool4 __builtin_spirv_OpSignBitSet_v4f16(half4 x);
__bool4 __builtin_spirv_OpSignBitSet_v4f32(float4 x);
__bool8 __builtin_spirv_OpSignBitSet_v8f16(half8 x);
__bool8 __builtin_spirv_OpSignBitSet_v8f32(float8 x);
__bool16 __builtin_spirv_OpSignBitSet_v16f16(half16 x);
__bool16 __builtin_spirv_OpSignBitSet_v16f32(float16 x);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpSignBitSet_f64(double x);
__bool2 __builtin_spirv_OpSignBitSet_v2f64(double2 x);
__bool3 __builtin_spirv_OpSignBitSet_v3f64(double3 x);
__bool4 __builtin_spirv_OpSignBitSet_v4f64(double4 x);
__bool8 __builtin_spirv_OpSignBitSet_v8f64(double8 x);
__bool16 __builtin_spirv_OpSignBitSet_v16f64(double16 x);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpLessOrGreater_f16_f16(half x, half y);
bool __builtin_spirv_OpLessOrGreater_f32_f32(float x, float y);
__bool2 __builtin_spirv_OpLessOrGreater_v2f16_v2f16(half2 x, half2 y);
__bool2 __builtin_spirv_OpLessOrGreater_v2f32_v2f32(float2 x, float2 y);
__bool3 __builtin_spirv_OpLessOrGreater_v3f16_v3f16(half3 x, half3 y);
__bool3 __builtin_spirv_OpLessOrGreater_v3f32_v3f32(float3 x, float3 y);
__bool4 __builtin_spirv_OpLessOrGreater_v4f16_v4f16(half4 x, half4 y);
__bool4 __builtin_spirv_OpLessOrGreater_v4f32_v4f32(float4 x, float4 y);
__bool8 __builtin_spirv_OpLessOrGreater_v8f16_v8f16(half8 x, half8 y);
__bool8 __builtin_spirv_OpLessOrGreater_v8f32_v8f32(float8 x, float8 y);
__bool16 __builtin_spirv_OpLessOrGreater_v16f16_v16f16(half16 x, half16 y);
__bool16 __builtin_spirv_OpLessOrGreater_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpLessOrGreater_f64_f64(double x, double y);
__bool2 __builtin_spirv_OpLessOrGreater_v2f64_v2f64(double2 x, double2 y);
__bool3 __builtin_spirv_OpLessOrGreater_v3f64_v3f64(double3 x, double3 y);
__bool4 __builtin_spirv_OpLessOrGreater_v4f64_v4f64(double4 x, double4 y);
__bool8 __builtin_spirv_OpLessOrGreater_v8f64_v8f64(double8 x, double8 y);
__bool16 __builtin_spirv_OpLessOrGreater_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpOrdered_f16_f16(half x, half y);
bool __builtin_spirv_OpOrdered_f32_f32(float x, float y);
__bool2 __builtin_spirv_OpOrdered_v2f16_v2f16(half2 x, half2 y);
__bool2 __builtin_spirv_OpOrdered_v2f32_v2f32(float2 x, float2 y);
__bool3 __builtin_spirv_OpOrdered_v3f16_v3f16(half3 x, half3 y);
__bool3 __builtin_spirv_OpOrdered_v3f32_v3f32(float3 x, float3 y);
__bool4 __builtin_spirv_OpOrdered_v4f16_v4f16(half4 x, half4 y);
__bool4 __builtin_spirv_OpOrdered_v4f32_v4f32(float4 x, float4 y);
__bool8 __builtin_spirv_OpOrdered_v8f16_v8f16(half8 x, half8 y);
__bool8 __builtin_spirv_OpOrdered_v8f32_v8f32(float8 x, float8 y);
__bool16 __builtin_spirv_OpOrdered_v16f16_v16f16(half16 x, half16 y);
__bool16 __builtin_spirv_OpOrdered_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpOrdered_f64_f64(double x, double y);
__bool2 __builtin_spirv_OpOrdered_v2f64_v2f64(double2 x, double2 y);
__bool3 __builtin_spirv_OpOrdered_v3f64_v3f64(double3 x, double3 y);
__bool4 __builtin_spirv_OpOrdered_v4f64_v4f64(double4 x, double4 y);
__bool8 __builtin_spirv_OpOrdered_v8f64_v8f64(double8 x, double8 y);
__bool16 __builtin_spirv_OpOrdered_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)

bool __builtin_spirv_OpUnordered_f16_f16(half x, half y);
bool __builtin_spirv_OpUnordered_f32_f32(float x, float y);
__bool2 __builtin_spirv_OpUnordered_v2f16_v2f16(half2 x, half2 y);
__bool2 __builtin_spirv_OpUnordered_v2f32_v2f32(float2 x, float2 y);
__bool3 __builtin_spirv_OpUnordered_v3f16_v3f16(half3 x, half3 y);
__bool3 __builtin_spirv_OpUnordered_v3f32_v3f32(float3 x, float3 y);
__bool4 __builtin_spirv_OpUnordered_v4f16_v4f16(half4 x, half4 y);
__bool4 __builtin_spirv_OpUnordered_v4f32_v4f32(float4 x, float4 y);
__bool8 __builtin_spirv_OpUnordered_v8f16_v8f16(half8 x, half8 y);
__bool8 __builtin_spirv_OpUnordered_v8f32_v8f32(float8 x, float8 y);
__bool16 __builtin_spirv_OpUnordered_v16f16_v16f16(half16 x, half16 y);
__bool16 __builtin_spirv_OpUnordered_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
bool __builtin_spirv_OpUnordered_f64_f64(double x, double y);
__bool2 __builtin_spirv_OpUnordered_v2f64_v2f64(double2 x, double2 y);
__bool3 __builtin_spirv_OpUnordered_v3f64_v3f64(double3 x, double3 y);
__bool4 __builtin_spirv_OpUnordered_v4f64_v4f64(double4 x, double4 y);
__bool8 __builtin_spirv_OpUnordered_v8f64_v8f64(double8 x, double8 y);
__bool16 __builtin_spirv_OpUnordered_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)

// Atomic Instructions

uint __builtin_spirv_OpAtomicLoad_p0i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicLoad_p1i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicLoad_p3i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicLoad_p4i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

float __builtin_spirv_OpAtomicLoad_p0f32_i32_i32(volatile private float *Pointer, uint Scope, uint Semantics);
float __builtin_spirv_OpAtomicLoad_p1f32_i32_i32(volatile global float *Pointer, uint Scope, uint Semantics);
float __builtin_spirv_OpAtomicLoad_p3f32_i32_i32(volatile local float *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpAtomicLoad_p4f32_i32_i32(volatile generic float *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

void __builtin_spirv_OpAtomicStore_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
void __builtin_spirv_OpAtomicStore_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
void __builtin_spirv_OpAtomicStore_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
void __builtin_spirv_OpAtomicStore_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

void __builtin_spirv_OpAtomicStore_p0f32_i32_i32_f32(volatile private float *Pointer, uint Scope, uint Semantics, float Value);
void __builtin_spirv_OpAtomicStore_p1f32_i32_i32_f32(volatile global float *Pointer, uint Scope, uint Semantics, float Value);
void __builtin_spirv_OpAtomicStore_p3f32_i32_i32_f32(volatile local float *Pointer, uint Scope, uint Semantics, float Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
void __builtin_spirv_OpAtomicStore_p4f32_i32_i32_f32(volatile generic float *Pointer, uint Scope, uint Semantics, float Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicExchange_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicExchange_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicExchange_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicExchange_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

float __builtin_spirv_OpAtomicExchange_p0f32_i32_i32_f32(volatile private float *Pointer, uint Scope, uint Semantics, float Value);
float __builtin_spirv_OpAtomicExchange_p1f32_i32_i32_f32(volatile global float *Pointer, uint Scope, uint Semantics, float Value);
float __builtin_spirv_OpAtomicExchange_p3f32_i32_i32_f32(volatile local float *Pointer, uint Scope, uint Semantics, float Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpAtomicExchange_p4f32_i32_i32_f32(volatile generic float *Pointer, uint Scope, uint Semantics, float Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicCompareExchange_p0i32_i32_i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
uint __builtin_spirv_OpAtomicCompareExchange_p1i32_i32_i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
uint __builtin_spirv_OpAtomicCompareExchange_p3i32_i32_i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicCompareExchange_p4i32_i32_i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

float __builtin_spirv_OpAtomicCompareExchange_p0f32_i32_i32_i32_f32_f32(volatile private float *Pointer, uint Scope, uint Equal, uint Unequal, float Value, float Comparator);
float __builtin_spirv_OpAtomicCompareExchange_p1f32_i32_i32_i32_f32_f32(volatile global float *Pointer, uint Scope, uint Equal, uint Unequal, float Value, float Comparator);
float __builtin_spirv_OpAtomicCompareExchange_p3f32_i32_i32_i32_f32_f32(volatile local float *Pointer, uint Scope, uint Equal, uint Unequal, float Value, float Comparator);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpAtomicCompareExchange_p4f32_i32_i32_i32_f32_f32(volatile generic float *Pointer, uint Scope, uint Equal, uint Unequal, float Value, float Comparator);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicCompareExchangeWeak_p0i32_i32_i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
uint __builtin_spirv_OpAtomicCompareExchangeWeak_p1i32_i32_i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
uint __builtin_spirv_OpAtomicCompareExchangeWeak_p3i32_i32_i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicCompareExchangeWeak_p4i32_i32_i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Equal, uint Unequal, uint Value, uint Comparator);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicIIncrement_p0i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicIIncrement_p1i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicIIncrement_p3i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicIIncrement_p4i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicIDecrement_p0i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicIDecrement_p1i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics);
uint __builtin_spirv_OpAtomicIDecrement_p3i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicIDecrement_p4i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicIAdd_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicIAdd_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicIAdd_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicIAdd_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicISub_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicISub_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicISub_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicISub_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

int __builtin_spirv_OpAtomicSMin_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, int Value);
int __builtin_spirv_OpAtomicSMin_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, int Value);
int __builtin_spirv_OpAtomicSMin_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, int Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
int __builtin_spirv_OpAtomicSMin_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, int Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicUMin_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicUMin_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicUMin_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicUMin_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

int __builtin_spirv_OpAtomicSMax_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, int Value);
int __builtin_spirv_OpAtomicSMax_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, int Value);
int __builtin_spirv_OpAtomicSMax_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, int Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
int __builtin_spirv_OpAtomicSMax_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, int Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicUMax_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicUMax_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicUMax_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicUMax_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicAnd_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicAnd_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicAnd_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicAnd_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicOr_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicOr_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicOr_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicOr_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

uint __builtin_spirv_OpAtomicXor_p0i32_i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicXor_p1i32_i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics, uint Value);
uint __builtin_spirv_OpAtomicXor_p3i32_i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics, uint Value);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpAtomicXor_p4i32_i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics, uint Value);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

bool __builtin_spirv_OpAtomicFlagTestAndSet_p0i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics);
bool __builtin_spirv_OpAtomicFlagTestAndSet_p1i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics);
bool __builtin_spirv_OpAtomicFlagTestAndSet_p3i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
bool __builtin_spirv_OpAtomicFlagTestAndSet_p4i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

void __builtin_spirv_OpAtomicFlagClear_p0i32_i32_i32(volatile private uint *Pointer, uint Scope, uint Semantics);
void __builtin_spirv_OpAtomicFlagClear_p1i32_i32_i32(volatile global uint *Pointer, uint Scope, uint Semantics);
void __builtin_spirv_OpAtomicFlagClear_p3i32_i32_i32(volatile local uint *Pointer, uint Scope, uint Semantics);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
void __builtin_spirv_OpAtomicFlagClear_p4i32_i32_i32(volatile generic uint *Pointer, uint Scope, uint Semantics);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
// Barrier Instructions

void __builtin_spirv_OpControlBarrier_i32_i32_i32(Scope_t Execution, Scope_t Memory, uint Semantics);
void __builtin_spirv_OpMemoryBarrier_i32_i32(Scope_t Memory, uint Semantics);

typedef struct 
{
    int count;
    int orig_count;
    int inc;
} __namedBarrier;

local __namedBarrier* __builtin_spirv_OpNamedBarrierInitialize_i32_p3__namedBarrier_p3i32(int Count, local __namedBarrier* nb_array, local uint* id);
void __builtin_spirv_OpMemoryNamedBarrier_p3__namedBarrier_i32_i32(local __namedBarrier* NB, Scope_t Memory, uint Semantics);

// Group Instructions
// TODO: Do we want to split out size_t into i64 and i32 as we've done here?

Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i8_p3i8_i64_i64_i64(uint Execution, global uchar *Destination, const local uchar *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i8_p3i8_i32_i32_i64(uint Execution, global uchar *Destination, const local uchar *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i16_p3i16_i64_i64_i64(uint Execution, global ushort *Destination, const local ushort *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i16_p3i16_i32_i32_i64(uint Execution, global ushort *Destination, const local ushort *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i32_p3i32_i64_i64_i64(uint Execution, global uint *Destination, const local uint *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i32_p3i32_i32_i32_i64(uint Execution, global uint *Destination, const local uint *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i64_p3i64_i64_i64_i64(uint Execution, global ulong *Destination, const local ulong *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1i64_p3i64_i32_i32_i64(uint Execution, global ulong *Destination, const local ulong *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f16_p3f16_i64_i64_i64(uint Execution, global half *Destination, const local half *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f16_p3f16_i32_i32_i64(uint Execution, global half *Destination, const local half *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f32_p3f32_i64_i64_i64(uint Execution, global float *Destination, const local float *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f32_p3f32_i32_i32_i64(uint Execution, global float *Destination, const local float *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i8_p3v2i8_i64_i64_i64(uint Execution, global uchar2 *Destination, const local uchar2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i8_p3v2i8_i32_i32_i64(uint Execution, global uchar2 *Destination, const local uchar2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i8_p3v3i8_i64_i64_i64(uint Execution, global uchar3 *Destination, const local uchar3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i8_p3v3i8_i32_i32_i64(uint Execution, global uchar3 *Destination, const local uchar3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i8_p3v4i8_i64_i64_i64(uint Execution, global uchar4 *Destination, const local uchar4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i8_p3v4i8_i32_i32_i64(uint Execution, global uchar4 *Destination, const local uchar4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i8_p3v8i8_i64_i64_i64(uint Execution, global uchar8 *Destination, const local uchar8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i8_p3v8i8_i32_i32_i64(uint Execution, global uchar8 *Destination, const local uchar8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i8_p3v16i8_i64_i64_i64(uint Execution, global uchar16 *Destination, const local uchar16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i8_p3v16i8_i32_i32_i64(uint Execution, global uchar16 *Destination, const local uchar16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i16_p3v2i16_i64_i64_i64(uint Execution, global ushort2 *Destination, const local ushort2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i16_p3v2i16_i32_i32_i64(uint Execution, global ushort2 *Destination, const local ushort2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i16_p3v3i16_i64_i64_i64(uint Execution, global ushort3 *Destination, const local ushort3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i16_p3v3i16_i32_i32_i64(uint Execution, global ushort3 *Destination, const local ushort3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i16_p3v4i16_i64_i64_i64(uint Execution, global ushort4 *Destination, const local ushort4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i16_p3v4i16_i32_i32_i64(uint Execution, global ushort4 *Destination, const local ushort4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i16_p3v8i16_i64_i64_i64(uint Execution, global ushort8 *Destination, const local ushort8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i16_p3v8i16_i32_i32_i64(uint Execution, global ushort8 *Destination, const local ushort8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i16_p3v16i16_i64_i64_i64(uint Execution, global ushort16 *Destination, const local ushort16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i16_p3v16i16_i32_i32_i64(uint Execution, global ushort16 *Destination, const local ushort16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i32_p3v2i32_i64_i64_i64(uint Execution, global uint2 *Destination, const local uint2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i32_p3v2i32_i32_i32_i64(uint Execution, global uint2 *Destination, const local uint2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i32_p3v3i32_i64_i64_i64(uint Execution, global uint3 *Destination, const local uint3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i32_p3v3i32_i32_i32_i64(uint Execution, global uint3 *Destination, const local uint3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i32_p3v4i32_i64_i64_i64(uint Execution, global uint4 *Destination, const local uint4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i32_p3v4i32_i32_i32_i64(uint Execution, global uint4 *Destination, const local uint4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i32_p3v8i32_i64_i64_i64(uint Execution, global uint8 *Destination, const local uint8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i32_p3v8i32_i32_i32_i64(uint Execution, global uint8 *Destination, const local uint8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i32_p3v16i32_i64_i64_i64(uint Execution, global uint16 *Destination, const local uint16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i32_p3v16i32_i32_i32_i64(uint Execution, global uint16 *Destination, const local uint16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i64_p3v2i64_i64_i64_i64(uint Execution, global ulong2 *Destination, const local ulong2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2i64_p3v2i64_i32_i32_i64(uint Execution, global ulong2 *Destination, const local ulong2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i64_p3v3i64_i64_i64_i64(uint Execution, global ulong3 *Destination, const local ulong3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3i64_p3v3i64_i32_i32_i64(uint Execution, global ulong3 *Destination, const local ulong3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i64_p3v4i64_i64_i64_i64(uint Execution, global ulong4 *Destination, const local ulong4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4i64_p3v4i64_i32_i32_i64(uint Execution, global ulong4 *Destination, const local ulong4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i64_p3v8i64_i64_i64_i64(uint Execution, global ulong8 *Destination, const local ulong8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8i64_p3v8i64_i32_i32_i64(uint Execution, global ulong8 *Destination, const local ulong8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i64_p3v16i64_i64_i64_i64(uint Execution, global ulong16 *Destination, const local ulong16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16i64_p3v16i64_i32_i32_i64(uint Execution, global ulong16 *Destination, const local ulong16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f16_p3v2f16_i64_i64_i64(uint Execution, global half2 *Destination, const local half2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f16_p3v2f16_i32_i32_i64(uint Execution, global half2 *Destination, const local half2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f16_p3v3f16_i64_i64_i64(uint Execution, global half3 *Destination, const local half3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f16_p3v3f16_i32_i32_i64(uint Execution, global half3 *Destination, const local half3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f16_p3v4f16_i64_i64_i64(uint Execution, global half4 *Destination, const local half4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f16_p3v4f16_i32_i32_i64(uint Execution, global half4 *Destination, const local half4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f16_p3v8f16_i64_i64_i64(uint Execution, global half8 *Destination, const local half8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f16_p3v8f16_i32_i32_i64(uint Execution, global half8 *Destination, const local half8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f16_p3v16f16_i64_i64_i64(uint Execution, global half16 *Destination, const local half16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f16_p3v16f16_i32_i32_i64(uint Execution, global half16 *Destination, const local half16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f32_p3v2f32_i64_i64_i64(uint Execution, global float2 *Destination, const local float2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f32_p3v2f32_i32_i32_i64(uint Execution, global float2 *Destination, const local float2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f32_p3v3f32_i64_i64_i64(uint Execution, global float3 *Destination, const local float3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f32_p3v3f32_i32_i32_i64(uint Execution, global float3 *Destination, const local float3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f32_p3v4f32_i64_i64_i64(uint Execution, global float4 *Destination, const local float4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f32_p3v4f32_i32_i32_i64(uint Execution, global float4 *Destination, const local float4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f32_p3v8f32_i64_i64_i64(uint Execution, global float8 *Destination, const local float8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f32_p3v8f32_i32_i32_i64(uint Execution, global float8 *Destination, const local float8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f32_p3v16f32_i64_i64_i64(uint Execution, global float16 *Destination, const local float16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f32_p3v16f32_i32_i32_i64(uint Execution, global float16 *Destination, const local float16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i8_p1i8_i64_i64_i64(uint Execution, local uchar *Destination, const global uchar *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i8_p1i8_i32_i32_i64(uint Execution, local uchar *Destination, const global uchar *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i16_p1i16_i64_i64_i64(uint Execution, local ushort *Destination, const global ushort *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i16_p1i16_i32_i32_i64(uint Execution, local ushort *Destination, const global ushort *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i32_p1i32_i64_i64_i64(uint Execution, local uint *Destination, const global uint *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i32_p1i32_i32_i32_i64(uint Execution, local uint *Destination, const global uint *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i64_p1i64_i64_i64_i64(uint Execution, local ulong *Destination, const global ulong *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3i64_p1i64_i32_i32_i64(uint Execution, local ulong *Destination, const global ulong *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f16_p1f16_i64_i64_i64(uint Execution, local half *Destination, const global half *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f16_p1f16_i32_i32_i64(uint Execution, local half *Destination, const global half *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f32_p1f32_i64_i64_i64(uint Execution, local float *Destination, const global float *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i8_p1v2i8_i64_i64_i64(uint Execution, local uchar2 *Destination, const global uchar2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i8_p1v2i8_i32_i32_i64(uint Execution, local uchar2 *Destination, const global uchar2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i8_p1v3i8_i64_i64_i64(uint Execution, local uchar3 *Destination, const global uchar3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i8_p1v3i8_i32_i32_i64(uint Execution, local uchar3 *Destination, const global uchar3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i8_p1v4i8_i64_i64_i64(uint Execution, local uchar4 *Destination, const global uchar4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i8_p1v4i8_i32_i32_i64(uint Execution, local uchar4 *Destination, const global uchar4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i8_p1v8i8_i64_i64_i64(uint Execution, local uchar8 *Destination, const global uchar8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i8_p1v8i8_i32_i32_i64(uint Execution, local uchar8 *Destination, const global uchar8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i8_p1v16i8_i64_i64_i64(uint Execution, local uchar16 *Destination, const global uchar16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i8_p1v16i8_i32_i32_i64(uint Execution, local uchar16 *Destination, const global uchar16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i16_p1v2i16_i64_i64_i64(uint Execution, local ushort2 *Destination, const global ushort2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i16_p1v2i16_i32_i32_i64(uint Execution, local ushort2 *Destination, const global ushort2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i16_p1v3i16_i64_i64_i64(uint Execution, local ushort3 *Destination, const global ushort3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i16_p1v3i16_i32_i32_i64(uint Execution, local ushort3 *Destination, const global ushort3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i16_p1v4i16_i64_i64_i64(uint Execution, local ushort4 *Destination, const global ushort4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i16_p1v4i16_i32_i32_i64(uint Execution, local ushort4 *Destination, const global ushort4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i16_p1v8i16_i64_i64_i64(uint Execution, local ushort8 *Destination, const global ushort8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i16_p1v8i16_i32_i32_i64(uint Execution, local ushort8 *Destination, const global ushort8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i16_p1v16i16_i64_i64_i64(uint Execution, local ushort16 *Destination, const global ushort16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i16_p1v16i16_i32_i32_i64(uint Execution, local ushort16 *Destination, const global ushort16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i32_p1v2i32_i64_i64_i64(uint Execution, local uint2 *Destination, const global uint2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i32_p1v2i32_i32_i32_i64(uint Execution, local uint2 *Destination, const global uint2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i32_p1v3i32_i64_i64_i64(uint Execution, local uint3 *Destination, const global uint3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i32_p1v3i32_i32_i32_i64(uint Execution, local uint3 *Destination, const global uint3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i32_p1v4i32_i64_i64_i64(uint Execution, local uint4 *Destination, const global uint4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i32_p1v4i32_i32_i32_i64(uint Execution, local uint4 *Destination, const global uint4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i32_p1v8i32_i64_i64_i64(uint Execution, local uint8 *Destination, const global uint8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i32_p1v8i32_i32_i32_i64(uint Execution, local uint8 *Destination, const global uint8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i32_p1v16i32_i64_i64_i64(uint Execution, local uint16 *Destination, const global uint16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i32_p1v16i32_i32_i32_i64(uint Execution, local uint16 *Destination, const global uint16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i64_p1v2i64_i64_i64_i64(uint Execution, local ulong2 *Destination, const global ulong2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2i64_p1v2i64_i32_i32_i64(uint Execution, local ulong2 *Destination, const global ulong2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i64_p1v3i64_i64_i64_i64(uint Execution, local ulong3 *Destination, const global ulong3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3i64_p1v3i64_i32_i32_i64(uint Execution, local ulong3 *Destination, const global ulong3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i64_p1v4i64_i64_i64_i64(uint Execution, local ulong4 *Destination, const global ulong4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4i64_p1v4i64_i32_i32_i64(uint Execution, local ulong4 *Destination, const global ulong4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i64_p1v8i64_i64_i64_i64(uint Execution, local ulong8 *Destination, const global ulong8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8i64_p1v8i64_i32_i32_i64(uint Execution, local ulong8 *Destination, const global ulong8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i64_p1v16i64_i64_i64_i64(uint Execution, local ulong16 *Destination, const global ulong16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16i64_p1v16i64_i32_i32_i64(uint Execution, local ulong16 *Destination, const global ulong16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f16_p1v2f16_i64_i64_i64(uint Execution, local half2 *Destination, const global half2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f16_p1v2f16_i32_i32_i64(uint Execution, local half2 *Destination, const global half2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f16_p1v3f16_i64_i64_i64(uint Execution, local half3 *Destination, const global half3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f16_p1v3f16_i32_i32_i64(uint Execution, local half3 *Destination, const global half3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f16_p1v4f16_i64_i64_i64(uint Execution, local half4 *Destination, const global half4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f16_p1v4f16_i32_i32_i64(uint Execution, local half4 *Destination, const global half4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f16_p1v8f16_i64_i64_i64(uint Execution, local half8 *Destination, const global half8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f16_p1v8f16_i32_i32_i64(uint Execution, local half8 *Destination, const global half8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f16_p1v16f16_i64_i64_i64(uint Execution, local half16 *Destination, const global half16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f16_p1v16f16_i32_i32_i64(uint Execution, local half16 *Destination, const global half16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f32_p1v2f32_i64_i64_i64(uint Execution, local float2 *Destination, const global float2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f32_p1v2f32_i32_i32_i64(uint Execution, local float2 *Destination, const global float2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f32_p1v3f32_i64_i64_i64(uint Execution, local float3 *Destination, const global float3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f32_p1v3f32_i32_i32_i64(uint Execution, local float3 *Destination, const global float3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f32_p1v4f32_i64_i64_i64(uint Execution, local float4 *Destination, const global float4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f32_p1v4f32_i32_i32_i64(uint Execution, local float4 *Destination, const global float4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f32_p1v8f32_i64_i64_i64(uint Execution, local float8 *Destination, const global float8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f32_p1v8f32_i32_i32_i64(uint Execution, local float8 *Destination, const global float8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f32_p1v16f32_i64_i64_i64(uint Execution, local float16 *Destination, const global float16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f32_p1v16f32_i32_i32_i64(uint Execution, local float16 *Destination, const global float16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f32_p1f32_i32_i32_i64(uint Execution, local float *Destination, const global float *Source, uint NumElements, uint Stride, Event_t Event);
#if defined(cl_khr_fp64)
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f64_p3f64_i64_i64_i64(uint Execution, global double *Destination, const local double *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1f64_p3f64_i32_i32_i64(uint Execution, global double *Destination, const local double *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f64_p3v2f64_i64_i64_i64(uint Execution, global double2 *Destination, const local double2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v2f64_p3v2f64_i32_i32_i64(uint Execution, global double2 *Destination, const local double2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f64_p3v3f64_i64_i64_i64(uint Execution, global double3 *Destination, const local double3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v3f64_p3v3f64_i32_i32_i64(uint Execution, global double3 *Destination, const local double3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f64_p3v4f64_i64_i64_i64(uint Execution, global double4 *Destination, const local double4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v4f64_p3v4f64_i32_i32_i64(uint Execution, global double4 *Destination, const local double4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f64_p3v8f64_i64_i64_i64(uint Execution, global double8 *Destination, const local double8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v8f64_p3v8f64_i32_i32_i64(uint Execution, global double8 *Destination, const local double8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f64_p3v16f64_i64_i64_i64(uint Execution, global double16 *Destination, const local double16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p1v16f64_p3v16f64_i32_i32_i64(uint Execution, global double16 *Destination, const local double16 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f64_p1f64_i64_i64_i64(uint Execution, local double *Destination, const global double *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3f64_p1f64_i32_i32_i64(uint Execution, local double *Destination, const global double *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f64_p1v2f64_i64_i64_i64(uint Execution, local double2 *Destination, const global double2 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v2f64_p1v2f64_i32_i32_i64(uint Execution, local double2 *Destination, const global double2 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f64_p1v3f64_i64_i64_i64(uint Execution, local double3 *Destination, const global double3 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v3f64_p1v3f64_i32_i32_i64(uint Execution, local double3 *Destination, const global double3 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f64_p1v4f64_i64_i64_i64(uint Execution, local double4 *Destination, const global double4 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v4f64_p1v4f64_i32_i32_i64(uint Execution, local double4 *Destination, const global double4 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f64_p1v8f64_i64_i64_i64(uint Execution, local double8 *Destination, const global double8 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v8f64_p1v8f64_i32_i32_i64(uint Execution, local double8 *Destination, const global double8 *Source, uint NumElements, uint Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f64_p1v16f64_i64_i64_i64(uint Execution, local double16 *Destination, const global double16 *Source, ulong NumElements, ulong Stride, Event_t Event);
Event_t __builtin_spirv_OpGroupAsyncCopy_i32_p3v16f64_p1v16f64_i32_i32_i64(uint Execution, local double16 *Destination, const global double16 *Source, uint NumElements, uint Stride, Event_t Event);
#endif // defined(cl_khr_fp64)

void __builtin_spirv_OpGroupWaitEvents_i32_i32_p0i64(uint Execution, uint NumEvents, private Event_t *EventsList);
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
void __builtin_spirv_OpGroupWaitEvents_i32_i32_p4i64(uint Execution, uint NumEvents, generic Event_t *EventsList);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

bool __builtin_spirv_OpGroupAll_i32_i1(uint Execution, bool Predicate);
bool __builtin_spirv_OpGroupAny_i32_i1(uint Execution, bool Predicate);
uchar __builtin_spirv_OpGroupBroadcast_i32_i8_v3i32(uint Execution, uchar Value, uint3 LocalId);
ushort __builtin_spirv_OpGroupBroadcast_i32_i16_v3i32(uint Execution, ushort Value, uint3 LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_v3i32(uint Execution, uint Value, uint3 LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_v3i32(uint Execution, ulong Value, uint3 LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_v3i32(uint Execution, half Value, uint3 LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_v3i32(uint Execution, float Value, uint3 LocalId);
uchar __builtin_spirv_OpGroupBroadcast_i32_i8_v3i64(uint Execution, uchar Value, ulong3 LocalId);
ushort __builtin_spirv_OpGroupBroadcast_i32_i16_v3i64(uint Execution, ushort Value, ulong3 LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_v3i64(uint Execution, uint Value, ulong3 LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_v3i64(uint Execution, ulong Value, ulong3 LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_v3i64(uint Execution, half Value, ulong3 LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_v3i64(uint Execution, float Value, ulong3 LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_v2i32(uint Execution, uint Value, uint2 LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_v2i32(uint Execution, ulong Value, uint2 LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_v2i32(uint Execution, half Value, uint2 LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_v2i32(uint Execution, float Value, uint2 LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_v2i64(uint Execution, uint Value, ulong2 LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_v2i64(uint Execution, ulong Value, ulong2 LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_v2i64(uint Execution, half Value, ulong2 LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_v2i64(uint Execution, float Value, ulong2 LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_i32(uint Execution, uint Value, uint LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_i32(uint Execution, ulong Value, uint LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_i32(uint Execution, half Value, uint LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_i32(uint Execution, float Value, uint LocalId);
uint __builtin_spirv_OpGroupBroadcast_i32_i32_i64(uint Execution, uint Value, ulong LocalId);
ulong __builtin_spirv_OpGroupBroadcast_i32_i64_i64(uint Execution, ulong Value, ulong LocalId);
half __builtin_spirv_OpGroupBroadcast_i32_f16_i64(uint Execution, half Value, ulong LocalId);
float __builtin_spirv_OpGroupBroadcast_i32_f32_i64(uint Execution, float Value, ulong LocalId);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpGroupBroadcast_i32_f64_i32(uint Execution, double Value, uint LocalId);
double __builtin_spirv_OpGroupBroadcast_i32_f64_v2i32(uint Execution, double Value, uint2 LocalId);
double __builtin_spirv_OpGroupBroadcast_i32_f64_v3i32(uint Execution, double Value, uint3 LocalId);
double __builtin_spirv_OpGroupBroadcast_i32_f64_v2i64(uint Execution, double Value, ulong2 LocalId);
double __builtin_spirv_OpGroupBroadcast_i32_f64_v3i64(uint Execution, double Value, ulong3 LocalId);
double __builtin_spirv_OpGroupBroadcast_i32_f64_i64(uint Execution, double Value, ulong LocalId);
#endif // defined(cl_khr_fp64)

uchar  __builtin_spirv_OpGroupIAdd_i32_i32_i8(uint Execution, uint Operation, uchar X);
ushort __builtin_spirv_OpGroupIAdd_i32_i32_i16(uint Execution, uint Operation, ushort X);
uint   __builtin_spirv_OpGroupIAdd_i32_i32_i32(uint Execution, uint Operation, uint X);
ulong  __builtin_spirv_OpGroupIAdd_i32_i32_i64(uint Execution, uint Operation, ulong X);

half   __builtin_spirv_OpGroupFAdd_i32_i32_f16(uint Execution, uint Operation, half X);
float  __builtin_spirv_OpGroupFAdd_i32_i32_f32(uint Execution, uint Operation, float X);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpGroupFAdd_i32_i32_f64(uint Execution, uint Operation, double X);
#endif // defined(cl_khr_fp64)

uchar  __builtin_spirv_OpGroupUMin_i32_i32_i8(uint Execution, uint Operation, uchar X);
ushort __builtin_spirv_OpGroupUMin_i32_i32_i16(uint Execution, uint Operation, ushort X);
uint   __builtin_spirv_OpGroupUMin_i32_i32_i32(uint Execution, uint Operation, uint X);
ulong  __builtin_spirv_OpGroupUMin_i32_i32_i64(uint Execution, uint Operation, ulong X);

half   __builtin_spirv_OpGroupFMin_i32_i32_f16(uint Execution, uint Operation, half X);
float  __builtin_spirv_OpGroupFMin_i32_i32_f32(uint Execution, uint Operation, float X);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpGroupFMin_i32_i32_f64(uint Execution, uint Operation, double X);
#endif // defined(cl_khr_fp64)

char   __builtin_spirv_OpGroupSMin_i32_i32_i8(uint Execution, uint Operation, char X);
short  __builtin_spirv_OpGroupSMin_i32_i32_i16(uint Execution, uint Operation, short X);
int    __builtin_spirv_OpGroupSMin_i32_i32_i32(uint Execution, uint Operation, int X);
long   __builtin_spirv_OpGroupSMin_i32_i32_i64(uint Execution, uint Operation, long X);

half   __builtin_spirv_OpGroupFMax_i32_i32_f16(uint Execution, uint Operation, half X);
float  __builtin_spirv_OpGroupFMax_i32_i32_f32(uint Execution, uint Operation, float X);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpGroupFMax_i32_i32_f64(uint Execution, uint Operation, double X);
#endif // defined(cl_khr_fp64)

uchar  __builtin_spirv_OpGroupUMax_i32_i32_i8(uint Execution, uint Operation, uchar X);
ushort __builtin_spirv_OpGroupUMax_i32_i32_i16(uint Execution, uint Operation, ushort X);
uint   __builtin_spirv_OpGroupUMax_i32_i32_i32(uint Execution, uint Operation, uint X);
ulong  __builtin_spirv_OpGroupUMax_i32_i32_i64(uint Execution, uint Operation, ulong X);

char  __builtin_spirv_OpGroupSMax_i32_i32_i8(uint Execution, uint Operation, char X);
short __builtin_spirv_OpGroupSMax_i32_i32_i16(uint Execution, uint Operation, short X);
int   __builtin_spirv_OpGroupSMax_i32_i32_i32(uint Execution, uint Operation, int X);
long  __builtin_spirv_OpGroupSMax_i32_i32_i64(uint Execution, uint Operation, long X);

// Device-Side Enqueue Instructions
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpEnqueueMarker_i64_i32_p0i64_p0i64(Queue_t Queue, uint NumEvents, private ClkEvent_t *WaitEvents, private ClkEvent_t *RetEvent);
uint __builtin_spirv_OpEnqueueMarker_i64_i32_p3i64_p3i64(Queue_t Queue, uint NumEvents, local ClkEvent_t *WaitEvents, local ClkEvent_t *RetEvent);
uint __builtin_spirv_OpEnqueueMarker_i64_i32_p4i64_p4i64(Queue_t Queue, uint NumEvents, generic ClkEvent_t *WaitEvents, generic ClkEvent_t *RetEvent);

#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

typedef struct
{
    uint  dim;
    size_t globalWorkOffset[3];
    size_t globalWorkSize[3];
    size_t localWorkSize[3];
} Ndrange_t;

// OpEnqueueKernel will be custom lowered?
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
uint __builtin_spirv_OpGetKernelWorkGroupSize_fp0i32_p0i8_i32_i32(void (^Invoke)(int), private uchar *Param, uint ParamSize, uint ParamAlign);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
void __builtin_spirv_OpRetainEvent_i64(ClkEvent_t Event);
void __builtin_spirv_OpReleaseEvent_i64(ClkEvent_t Event);
ClkEvent_t __builtin_spirv_OpCreateUserEvent(void);
bool __builtin_spirv_OpIsValidEvent_i64(ClkEvent_t Event);
void __builtin_spirv_OpSetUserEventStatus_i64_i32(ClkEvent_t Event, uint Status);
void __builtin_spirv_OpCaptureEventProfilingInfo_i64_i32_p1i8(ClkEvent_t Event, uint ProfilingInfo, global uchar *Value);
Queue_t __builtin_spirv_OpGetDefaultQueue(void);

Ndrange_t __builtin_spirv_OpBuildNDRange_i32_i32_i32(uint GlobalWorkSize, uint LocalWorkSize, uint GlobalWorkOffset);
Ndrange_t __builtin_spirv_OpBuildNDRange_i64_i64_i64(ulong GlobalWorkSize, ulong LocalWorkSize, ulong GlobalWorkOffset);
Ndrange_t __builtin_spirv_OpBuildNDRange_a2i32_a2i32_a2i32(uint GlobalWorkSize[2], uint LocalWorkSize[2], uint GlobalWorkOffset[2]);
Ndrange_t __builtin_spirv_OpBuildNDRange_a2i64_a2i64_a2i64(ulong GlobalWorkSize[2], ulong LocalWorkSize[2], ulong GlobalWorkOffset[2]);
Ndrange_t __builtin_spirv_OpBuildNDRange_a3i32_a3i32_a3i32(uint GlobalWorkSize[3], uint LocalWorkSize[3], uint GlobalWorkOffset[3]);
Ndrange_t __builtin_spirv_OpBuildNDRange_a3i64_a3i64_a3i64(ulong GlobalWorkSize[3], ulong LocalWorkSize[3], ulong GlobalWorkOffset[3]);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

// Pipe Instructions
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)

int __builtin_spirv_OpReadPipe_i64_p4i8_i32(Pipe_t Pipe, generic void *Pointer, uint PacketSize/*, uint PacketAlignment*/);
int __builtin_spirv_OpWritePipe_i64_p4i8_i32(Pipe_wo_t Pipe, const generic void *Pointer, uint PacketSize/*, uint PacketAlignment*/);

int __builtin_spirv_OpReservedReadPipe_i64_i64_i32_p4i8_i32(Pipe_t Pipe, ReserveId_t ReserveId, uint Index, generic void *Pointer, uint PacketSize/*, uint PacketAlignment*/);
int __builtin_spirv_OpReservedWritePipe_i64_i64_i32_p4i8_i32(Pipe_wo_t Pipe, ReserveId_t ReserveId, uint Index, generic const void *Pointer, uint PacketSize/*, uint PacketAlignment*/);

ReserveId_t __builtin_spirv_OpReserveReadPipePackets_i64_i32_i32(Pipe_t Pipe, uint NumPackets, uint PacketSize/*, uint PacketAlignment*/);
ReserveId_t __builtin_spirv_OpReserveWritePipePackets_i64_i32_i32(Pipe_wo_t Pipe, uint NumPackets, uint PacketSize/*, uint PacketAlignment*/);

void __builtin_spirv_OpCommitReadPipe_i64_i64_i32(Pipe_t Pipe, ReserveId_t ReserveId, uint PacketSize/*, uint PacketAlignment*/);
void __builtin_spirv_OpCommitWritePipe_i64_i64_i32(Pipe_wo_t Pipe, ReserveId_t ReserveId, uint PacketSize/*, uint PacketAlignment*/);

bool __builtin_spirv_OpIsValidReserveId_i64(ReserveId_t ReserveId);

uint __builtin_spirv_OpGetNumPipePackets_i64_i32(Pipe_t Pipe, uint PacketSize/*, uint PacketAlignment*/);
uint __builtin_spirv_OpGetMaxPipePackets_i64_i32(Pipe_t Pipe, uint PacketSize/*, uint PacketAlignment*/);

ReserveId_t __builtin_spirv_OpGroupReserveReadPipePackets_i32_i64_i32_i32(uint Execution, Pipe_t Pipe, uint NumPackets, uint PacketSize/*, uint PacketAlignment*/);
ReserveId_t __builtin_spirv_OpGroupReserveWritePipePackets_i32_i64_i32_i32(uint Execution, Pipe_wo_t Pipe, uint NumPackets, uint PacketSize/*, uint PacketAlignment*/);

void __builtin_spirv_OpGroupCommitReadPipe_i32_i64_i64_i32(uint Execution, Pipe_t Pipe, ReserveId_t ReserveId, uint PacketSize/*, uint PacketAlignment*/);
void __builtin_spirv_OpGroupCommitWritePipe_i32_i64_i64_i32(uint Execution, Pipe_wo_t Pipe, ReserveId_t ReserveId, uint PacketSize/*, uint PacketAlignment*/);
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0

/*******************************************Math*******************************************************/

//
//  Common
//		-degrees,fclamp,fmax_common,fmin_common,mix,radians,sign,smoothstep,step
//

float __builtin_spirv_OpenCL_degrees_f32(float r );
float2 __builtin_spirv_OpenCL_degrees_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_degrees_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_degrees_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_degrees_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_degrees_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_degrees_f64(double r );
double2 __builtin_spirv_OpenCL_degrees_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_degrees_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_degrees_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_degrees_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_degrees_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_degrees_f16(half r );
half2 __builtin_spirv_OpenCL_degrees_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_degrees_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_degrees_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_degrees_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_degrees_v16f16(half16 x);

float __builtin_spirv_OpenCL_fclamp_f32_f32_f32(float x, float y, float z);
float2 __builtin_spirv_OpenCL_fclamp_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_fclamp_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_fclamp_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_fclamp_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_fclamp_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_fclamp_f64_f64_f64(double x, double y, double z);
double2 __builtin_spirv_OpenCL_fclamp_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_fclamp_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_fclamp_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_fclamp_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_fclamp_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_fclamp_f16_f16_f16(half x, half y, half z);
half2 __builtin_spirv_OpenCL_fclamp_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_fclamp_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_fclamp_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_fclamp_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_fclamp_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

float __builtin_spirv_OpenCL_fmax_common_f32_f32(float x, float y);
float2 __builtin_spirv_OpenCL_fmax_common_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fmax_common_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fmax_common_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fmax_common_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fmax_common_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_fmax_common_f64_f64(double x, double y);
double2 __builtin_spirv_OpenCL_fmax_common_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fmax_common_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fmax_common_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fmax_common_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fmax_common_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_fmax_common_f16_f16(half x, half y);
half2 __builtin_spirv_OpenCL_fmax_common_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fmax_common_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fmax_common_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fmax_common_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fmax_common_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_fmin_common_f32_f32(float x, float y);
half __builtin_spirv_OpenCL_fmin_common_f16_f16(half x, half y);
float2 __builtin_spirv_OpenCL_fmin_common_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fmin_common_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fmin_common_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fmin_common_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fmin_common_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_fmin_common_f64_f64(double x, double y);
double2 __builtin_spirv_OpenCL_fmin_common_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fmin_common_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fmin_common_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fmin_common_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fmin_common_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half2 __builtin_spirv_OpenCL_fmin_common_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fmin_common_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fmin_common_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fmin_common_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fmin_common_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_mix_f32_f32_f32(float x, float y, float a );
float2 __builtin_spirv_OpenCL_mix_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_mix_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_mix_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_mix_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_mix_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_mix_f64_f64_f64(double x, double y, double a );
double2 __builtin_spirv_OpenCL_mix_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_mix_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_mix_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_mix_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_mix_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_mix_f16_f16_f16(half x, half y, half a );
half2 __builtin_spirv_OpenCL_mix_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_mix_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_mix_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_mix_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_mix_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

float __builtin_spirv_OpenCL_radians_f32(float d );
float2 __builtin_spirv_OpenCL_radians_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_radians_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_radians_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_radians_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_radians_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_radians_f64(double d );
double2 __builtin_spirv_OpenCL_radians_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_radians_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_radians_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_radians_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_radians_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_radians_f16(half d );
half2 __builtin_spirv_OpenCL_radians_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_radians_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_radians_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_radians_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_radians_v16f16(half16 x);

float __builtin_spirv_OpenCL_sign_f32(float x );
float2 __builtin_spirv_OpenCL_sign_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sign_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sign_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sign_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sign_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sign_f64(double x );
double2 __builtin_spirv_OpenCL_sign_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sign_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sign_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sign_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sign_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_sign_f16(half x );
half2 __builtin_spirv_OpenCL_sign_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sign_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sign_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sign_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sign_v16f16(half16 x);

float __builtin_spirv_OpenCL_smoothstep_f32_f32_f32(float edge0, float edge1, float x );
float2 __builtin_spirv_OpenCL_smoothstep_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_smoothstep_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_smoothstep_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_smoothstep_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_smoothstep_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_smoothstep_f64_f64_f64(double edge0, double edge1, double x );
double2 __builtin_spirv_OpenCL_smoothstep_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_smoothstep_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_smoothstep_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_smoothstep_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_smoothstep_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_smoothstep_f16_f16_f16(half edge0, half edge1, half x );
half2 __builtin_spirv_OpenCL_smoothstep_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_smoothstep_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_smoothstep_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_smoothstep_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_smoothstep_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

float __builtin_spirv_OpenCL_step_f32_f32(float edge, float x );
float2 __builtin_spirv_OpenCL_step_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_step_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_step_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_step_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_step_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_step_f64_f64(double edge, double x );
double2 __builtin_spirv_OpenCL_step_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_step_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_step_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_step_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_step_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_step_f16_f16(half edge, half x );
half2 __builtin_spirv_OpenCL_step_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_step_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_step_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_step_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_step_v16f16_v16f16(half16 x, half16 y);


//
//  Geometric
//		-cross,distance,fast_distance,fast_length,fast_normalize,length,normalize
//

float3 __builtin_spirv_OpenCL_cross_v3f32_v3f32(float3 p0, float3 p1 );
float4 __builtin_spirv_OpenCL_cross_v4f32_v4f32(float4 p0, float4 p1 );
#if defined(cl_khr_fp64)
double3 __builtin_spirv_OpenCL_cross_v3f64_v3f64(double3 p0, double3 p1 );
double4 __builtin_spirv_OpenCL_cross_v4f64_v4f64(double4 p0, double4 p1 );
#endif // defined(cl_khr_fp64)
half3 __builtin_spirv_OpenCL_cross_v3f16_v3f16(half3 p0, half3 p1 );
half4 __builtin_spirv_OpenCL_cross_v4f16_v4f16(half4 p0, half4 p1 );

float __builtin_spirv_OpenCL_distance_f32_f32(float p0, float p1 );
float __builtin_spirv_OpenCL_distance_v2f32_v2f32(float2 p0, float2 p1 );
float __builtin_spirv_OpenCL_distance_v3f32_v3f32(float3 p0, float3 p1 );
float __builtin_spirv_OpenCL_distance_v4f32_v4f32(float4 p0, float4 p1 );
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_distance_f64_f64(double p0, double p1 );
double __builtin_spirv_OpenCL_distance_v2f64_v2f64(double2 p0, double2 p1 );
double __builtin_spirv_OpenCL_distance_v3f64_v3f64(double3 p0, double3 p1 );
double __builtin_spirv_OpenCL_distance_v4f64_v4f64(double4 p0, double4 p1 );
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_distance_f16_f16(half p0, half p1 );
half __builtin_spirv_OpenCL_distance_v2f16_v2f16(half2 p0, half2 p1 );
half __builtin_spirv_OpenCL_distance_v3f16_v3f16(half3 p0, half3 p1 );
half __builtin_spirv_OpenCL_distance_v4f16_v4f16(half4 p0, half4 p1 );

float __builtin_spirv_OpenCL_fast_distance_f32_f32(float p0, float p1 );
float __builtin_spirv_OpenCL_fast_distance_v2f32_v2f32(float2 p0, float2 p1 );
float __builtin_spirv_OpenCL_fast_distance_v3f32_v3f32(float3 p0, float3 p1 );
float __builtin_spirv_OpenCL_fast_distance_v4f32_v4f32(float4 p0, float4 p1 );

float __builtin_spirv_OpenCL_fast_length_f32(float p );
float __builtin_spirv_OpenCL_fast_length_v2f32(float2 p );
float __builtin_spirv_OpenCL_fast_length_v3f32(float3 p );
float __builtin_spirv_OpenCL_fast_length_v4f32(float4 p );

float __builtin_spirv_OpenCL_fast_normalize_f32(float p );
float2 __builtin_spirv_OpenCL_fast_normalize_v2f32(float2 p );
float3 __builtin_spirv_OpenCL_fast_normalize_v3f32(float3 p );
float4 __builtin_spirv_OpenCL_fast_normalize_v4f32(float4 p );

float __builtin_spirv_OpenCL_length_f32(float p );
float __builtin_spirv_OpenCL_length_v2f32(float2 p );
float __builtin_spirv_OpenCL_length_v3f32(float3 p );
float __builtin_spirv_OpenCL_length_v4f32(float4 p );
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_length_f64(double p );
double __builtin_spirv_OpenCL_length_v2f64(double2 p );
double __builtin_spirv_OpenCL_length_v3f64(double3 p );
double __builtin_spirv_OpenCL_length_v4f64(double4 p );
#endif // defined(cl_khr_fp64)
#if defined(cl_khr_fp16)
half __builtin_spirv_OpenCL_length_f16(half p );
half __builtin_spirv_OpenCL_length_v2f16(half2 p );
half __builtin_spirv_OpenCL_length_v3f16(half3 p );
half __builtin_spirv_OpenCL_length_v4f16(half4 p );
#endif // defined(cl_khr_fp16)

float __builtin_spirv_OpenCL_normalize_f32(float p );
float2 __builtin_spirv_OpenCL_normalize_v2f32(float2 p );
float3 __builtin_spirv_OpenCL_normalize_v3f32(float3 p );
float4 __builtin_spirv_OpenCL_normalize_v4f32(float4 p );
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_normalize_f64(double p );
double2 __builtin_spirv_OpenCL_normalize_v2f64(double2 p );
double3 __builtin_spirv_OpenCL_normalize_v3f64(double3 p );
double4 __builtin_spirv_OpenCL_normalize_v4f64(double4 p );
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_normalize_f16(half p );
half2 __builtin_spirv_OpenCL_normalize_v2f16(half2 p );
half3 __builtin_spirv_OpenCL_normalize_v3f16(half3 p );
half4 __builtin_spirv_OpenCL_normalize_v4f16(half4 p );


//
//  Half
//		-half_cos,half_divide,half_exp,half_exp2,half_exp10,half_log,half_log2,half_log10
//		 half_powr,half_recip,half_rsqrt,half_sin,half_sqrt,half_tan
//

float __builtin_spirv_OpenCL_half_cos_f32(float x );
float2 __builtin_spirv_OpenCL_half_cos_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_cos_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_cos_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_cos_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_cos_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_divide_f32_f32(float x, float y );
float2 __builtin_spirv_OpenCL_half_divide_v2f32_v2f32(float2 x, float2 y );
float3 __builtin_spirv_OpenCL_half_divide_v3f32_v3f32(float3 x, float3 y );
float4 __builtin_spirv_OpenCL_half_divide_v4f32_v4f32(float4 x, float4 y );
float8 __builtin_spirv_OpenCL_half_divide_v8f32_v8f32(float8 x, float8 y );
float16 __builtin_spirv_OpenCL_half_divide_v16f32_v16f32(float16 x, float16 y );

float __builtin_spirv_OpenCL_half_exp_f32(float x );
float2 __builtin_spirv_OpenCL_half_exp_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_exp_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_exp_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_exp_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_exp_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_exp2_f32(float x );
float2 __builtin_spirv_OpenCL_half_exp2_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_exp2_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_exp2_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_exp2_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_exp2_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_exp10_f32(float x );
float2 __builtin_spirv_OpenCL_half_exp10_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_exp10_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_exp10_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_exp10_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_exp10_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_log_f32(float x );
float2 __builtin_spirv_OpenCL_half_log_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_log_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_log_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_log_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_log_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_log2_f32(float x );
float2 __builtin_spirv_OpenCL_half_log2_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_log2_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_log2_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_log2_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_log2_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_log10_f32(float x );
float2 __builtin_spirv_OpenCL_half_log10_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_log10_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_log10_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_log10_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_log10_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_powr_f32_f32(float x, float y );
float2 __builtin_spirv_OpenCL_half_powr_v2f32_v2f32(float2 x, float2 y );
float3 __builtin_spirv_OpenCL_half_powr_v3f32_v3f32(float3 x, float3 y );
float4 __builtin_spirv_OpenCL_half_powr_v4f32_v4f32(float4 x, float4 y );
float8 __builtin_spirv_OpenCL_half_powr_v8f32_v8f32(float8 x, float8 y );
float16 __builtin_spirv_OpenCL_half_powr_v16f32_v16f32(float16 x, float16 y );

float __builtin_spirv_OpenCL_half_recip_f32(float x );
float2 __builtin_spirv_OpenCL_half_recip_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_recip_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_recip_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_recip_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_recip_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_rsqrt_f32(float x );
float2 __builtin_spirv_OpenCL_half_rsqrt_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_rsqrt_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_rsqrt_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_rsqrt_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_rsqrt_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_sin_f32(float x );
float2 __builtin_spirv_OpenCL_half_sin_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_sin_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_sin_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_sin_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_sin_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_sqrt_f32(float x );
float2 __builtin_spirv_OpenCL_half_sqrt_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_sqrt_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_sqrt_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_sqrt_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_sqrt_v16f32(float16 x );

float __builtin_spirv_OpenCL_half_tan_f32(float x );
float2 __builtin_spirv_OpenCL_half_tan_v2f32(float2 x );
float3 __builtin_spirv_OpenCL_half_tan_v3f32(float3 x );
float4 __builtin_spirv_OpenCL_half_tan_v4f32(float4 x );
float8 __builtin_spirv_OpenCL_half_tan_v8f32(float8 x );
float16 __builtin_spirv_OpenCL_half_tan_v16f32(float16 x );


//
//  Integer (signed and unsigned )
//		-abs,abs_diff,add_sat,clamp,clz,ctz,hadd,mad_hi,mad_sat,mad24,max,min,mul_hi
//		 mul24,popcnt,rhadd,rotate,sub_sat,upsample
//

uchar __builtin_spirv_OpenCL_s_abs_i8( char x );
uchar2 __builtin_spirv_OpenCL_s_abs_v2i8( char2 x );
uchar3 __builtin_spirv_OpenCL_s_abs_v3i8( char3 x );
uchar4 __builtin_spirv_OpenCL_s_abs_v4i8( char4 x );
uchar8 __builtin_spirv_OpenCL_s_abs_v8i8( char8 x );
uchar16 __builtin_spirv_OpenCL_s_abs_v16i8( char16 x );
uchar __builtin_spirv_OpenCL_u_abs_i8( uchar x );
uchar2 __builtin_spirv_OpenCL_u_abs_v2i8( uchar2 x );
uchar3 __builtin_spirv_OpenCL_u_abs_v3i8( uchar3 x );
uchar4 __builtin_spirv_OpenCL_u_abs_v4i8( uchar4 x );
uchar8 __builtin_spirv_OpenCL_u_abs_v8i8( uchar8 x );
uchar16 __builtin_spirv_OpenCL_u_abs_v16i8( uchar16 x );
ushort __builtin_spirv_OpenCL_s_abs_i16( short x );
ushort2 __builtin_spirv_OpenCL_s_abs_v2i16( short2 x );
ushort3 __builtin_spirv_OpenCL_s_abs_v3i16( short3 x );
ushort4 __builtin_spirv_OpenCL_s_abs_v4i16( short4 x );
ushort8 __builtin_spirv_OpenCL_s_abs_v8i16( short8 x );
ushort16 __builtin_spirv_OpenCL_s_abs_v16i16( short16 x );
ushort __builtin_spirv_OpenCL_u_abs_i16( ushort x );
ushort2 __builtin_spirv_OpenCL_u_abs_v2i16( ushort2 x );
ushort3 __builtin_spirv_OpenCL_u_abs_v3i16( ushort3 x );
ushort4 __builtin_spirv_OpenCL_u_abs_v4i16( ushort4 x );
ushort8 __builtin_spirv_OpenCL_u_abs_v8i16( ushort8 x );
ushort16 __builtin_spirv_OpenCL_u_abs_v16i16( ushort16 x );
uint __builtin_spirv_OpenCL_s_abs_i32( int x );
uint2 __builtin_spirv_OpenCL_s_abs_v2i32( int2 x );
uint3 __builtin_spirv_OpenCL_s_abs_v3i32( int3 x );
uint4 __builtin_spirv_OpenCL_s_abs_v4i32( int4 x );
uint8 __builtin_spirv_OpenCL_s_abs_v8i32( int8 x );
uint16 __builtin_spirv_OpenCL_s_abs_v16i32( int16 x );
uint __builtin_spirv_OpenCL_u_abs_i32( uint x );
uint2 __builtin_spirv_OpenCL_u_abs_v2i32( uint2 x );
uint3 __builtin_spirv_OpenCL_u_abs_v3i32( uint3 x );
uint4 __builtin_spirv_OpenCL_u_abs_v4i32( uint4 x );
uint8 __builtin_spirv_OpenCL_u_abs_v8i32( uint8 x );
uint16 __builtin_spirv_OpenCL_u_abs_v16i32( uint16 x );
ulong __builtin_spirv_OpenCL_s_abs_i64( long x );
ulong2 __builtin_spirv_OpenCL_s_abs_v2i64( long2 x );
ulong3 __builtin_spirv_OpenCL_s_abs_v3i64( long3 x );
ulong4 __builtin_spirv_OpenCL_s_abs_v4i64( long4 x );
ulong8 __builtin_spirv_OpenCL_s_abs_v8i64( long8 x );
ulong16 __builtin_spirv_OpenCL_s_abs_v16i64( long16 x );
ulong __builtin_spirv_OpenCL_u_abs_i64( ulong x );
ulong2 __builtin_spirv_OpenCL_u_abs_v2i64( ulong2 x );
ulong3 __builtin_spirv_OpenCL_u_abs_v3i64( ulong3 x );
ulong4 __builtin_spirv_OpenCL_u_abs_v4i64( ulong4 x );
ulong8 __builtin_spirv_OpenCL_u_abs_v8i64( ulong8 x );
ulong16 __builtin_spirv_OpenCL_u_abs_v16i64( ulong16 x );

uchar __builtin_spirv_OpenCL_s_abs_diff_i8_i8( char x, char y );
uchar2 __builtin_spirv_OpenCL_s_abs_diff_v2i8_v2i8( char2 x, char2 y );
uchar3 __builtin_spirv_OpenCL_s_abs_diff_v3i8_v3i8( char3 x, char3 y );
uchar4 __builtin_spirv_OpenCL_s_abs_diff_v4i8_v4i8( char4 x, char4 y );
uchar8 __builtin_spirv_OpenCL_s_abs_diff_v8i8_v8i8( char8 x, char8 y );
uchar16 __builtin_spirv_OpenCL_s_abs_diff_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_abs_diff_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_abs_diff_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_abs_diff_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_abs_diff_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_abs_diff_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_abs_diff_v16i8_v16i8( uchar16 x, uchar16 y );
ushort __builtin_spirv_OpenCL_s_abs_diff_i16_i16( short x, short y );
ushort2 __builtin_spirv_OpenCL_s_abs_diff_v2i16_v2i16( short2 x, short2 y );
ushort3 __builtin_spirv_OpenCL_s_abs_diff_v3i16_v3i16( short3 x, short3 y );
ushort4 __builtin_spirv_OpenCL_s_abs_diff_v4i16_v4i16( short4 x, short4 y );
ushort8 __builtin_spirv_OpenCL_s_abs_diff_v8i16_v8i16( short8 x, short8 y );
ushort16 __builtin_spirv_OpenCL_s_abs_diff_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_abs_diff_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_abs_diff_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_abs_diff_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_abs_diff_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_abs_diff_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_abs_diff_v16i16_v16i16( ushort16 x, ushort16 y );
uint __builtin_spirv_OpenCL_s_abs_diff_i32_i32( int x, int y );
uint2 __builtin_spirv_OpenCL_s_abs_diff_v2i32_v2i32( int2 x, int2 y );
uint3 __builtin_spirv_OpenCL_s_abs_diff_v3i32_v3i32( int3 x, int3 y );
uint4 __builtin_spirv_OpenCL_s_abs_diff_v4i32_v4i32( int4 x, int4 y );
uint8 __builtin_spirv_OpenCL_s_abs_diff_v8i32_v8i32( int8 x, int8 y );
uint16 __builtin_spirv_OpenCL_s_abs_diff_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_abs_diff_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_abs_diff_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_abs_diff_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_abs_diff_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_abs_diff_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_abs_diff_v16i32_v16i32( uint16 x, uint16 y );
ulong __builtin_spirv_OpenCL_s_abs_diff_i64_i64( long x, long y );
ulong2 __builtin_spirv_OpenCL_s_abs_diff_v2i64_v2i64( long2 x, long2 y );
ulong3 __builtin_spirv_OpenCL_s_abs_diff_v3i64_v3i64( long3 x, long3 y );
ulong4 __builtin_spirv_OpenCL_s_abs_diff_v4i64_v4i64( long4 x, long4 y );
ulong8 __builtin_spirv_OpenCL_s_abs_diff_v8i64_v8i64( long8 x, long8 y );
ulong16 __builtin_spirv_OpenCL_s_abs_diff_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_abs_diff_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_abs_diff_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_abs_diff_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_abs_diff_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_abs_diff_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_abs_diff_v16i64_v16i64( ulong16 x, ulong16 y );

char __builtin_spirv_OpenCL_s_add_sat_i8_i8( char x, char y );
char2 __builtin_spirv_OpenCL_s_add_sat_v2i8_v2i8( char2 x, char2 y );
char3 __builtin_spirv_OpenCL_s_add_sat_v3i8_v3i8( char3 x, char3 y );
char4 __builtin_spirv_OpenCL_s_add_sat_v4i8_v4i8( char4 x, char4 y );
char8 __builtin_spirv_OpenCL_s_add_sat_v8i8_v8i8( char8 x, char8 y );
char16 __builtin_spirv_OpenCL_s_add_sat_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_add_sat_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_add_sat_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_add_sat_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_add_sat_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_add_sat_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_add_sat_v16i8_v16i8( uchar16 x, uchar16 y );
short __builtin_spirv_OpenCL_s_add_sat_i16_i16( short x, short y );
short2 __builtin_spirv_OpenCL_s_add_sat_v2i16_v2i16( short2 x, short2 y );
short3 __builtin_spirv_OpenCL_s_add_sat_v3i16_v3i16( short3 x, short3 y );
short4 __builtin_spirv_OpenCL_s_add_sat_v4i16_v4i16( short4 x, short4 y );
short8 __builtin_spirv_OpenCL_s_add_sat_v8i16_v8i16( short8 x, short8 y );
short16 __builtin_spirv_OpenCL_s_add_sat_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_add_sat_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_add_sat_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_add_sat_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_add_sat_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_add_sat_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_add_sat_v16i16_v16i16( ushort16 x, ushort16 y );
int __builtin_spirv_OpenCL_s_add_sat_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_add_sat_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_add_sat_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_add_sat_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_add_sat_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_add_sat_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_add_sat_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_add_sat_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_add_sat_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_add_sat_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_add_sat_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_add_sat_v16i32_v16i32( uint16 x, uint16 y );
long __builtin_spirv_OpenCL_s_add_sat_i64_i64( long x, long y );
long2 __builtin_spirv_OpenCL_s_add_sat_v2i64_v2i64( long2 x, long2 y );
long3 __builtin_spirv_OpenCL_s_add_sat_v3i64_v3i64( long3 x, long3 y );
long4 __builtin_spirv_OpenCL_s_add_sat_v4i64_v4i64( long4 x, long4 y );
long8 __builtin_spirv_OpenCL_s_add_sat_v8i64_v8i64( long8 x, long8 y );
long16 __builtin_spirv_OpenCL_s_add_sat_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_add_sat_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_add_sat_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_add_sat_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_add_sat_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_add_sat_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_add_sat_v16i64_v16i64( ulong16 x, ulong16 y );

char __builtin_spirv_OpenCL_s_clamp_i8_i8_i8(char x, char minval, char maxval );
uchar __builtin_spirv_OpenCL_u_clamp_i8_i8_i8(uchar x, uchar minval, uchar maxval );
short __builtin_spirv_OpenCL_s_clamp_i16_i16_i16(short x, short minval, short maxval );
ushort __builtin_spirv_OpenCL_u_clamp_i16_i16_i16(ushort x, ushort minval, ushort maxval );
int __builtin_spirv_OpenCL_s_clamp_i32_i32_i32(int x, int minval, int maxval );
uint __builtin_spirv_OpenCL_u_clamp_i32_i32_i32(uint x, uint minval, uint maxval );
long __builtin_spirv_OpenCL_s_clamp_i64_i64_i64(long x, long minval, long maxval );
ulong __builtin_spirv_OpenCL_u_clamp_i64_i64_i64(ulong x, ulong minval, ulong maxval );
char2 __builtin_spirv_OpenCL_s_clamp_v2i8_v2i8_v2i8(char2 x, char2 y, char2 z);
char3 __builtin_spirv_OpenCL_s_clamp_v3i8_v3i8_v3i8(char3 x, char3 y, char3 z);
char4 __builtin_spirv_OpenCL_s_clamp_v4i8_v4i8_v4i8(char4 x, char4 y, char4 z);
char8 __builtin_spirv_OpenCL_s_clamp_v8i8_v8i8_v8i8(char8 x, char8 y, char8 z);
char16 __builtin_spirv_OpenCL_s_clamp_v16i8_v16i8_v16i8(char16 x, char16 y, char16 z);
uchar2 __builtin_spirv_OpenCL_u_clamp_v2i8_v2i8_v2i8(uchar2 x, uchar2 y, uchar2 z);
uchar3 __builtin_spirv_OpenCL_u_clamp_v3i8_v3i8_v3i8(uchar3 x, uchar3 y, uchar3 z);
uchar4 __builtin_spirv_OpenCL_u_clamp_v4i8_v4i8_v4i8(uchar4 x, uchar4 y, uchar4 z);
uchar8 __builtin_spirv_OpenCL_u_clamp_v8i8_v8i8_v8i8(uchar8 x, uchar8 y, uchar8 z);
uchar16 __builtin_spirv_OpenCL_u_clamp_v16i8_v16i8_v16i8(uchar16 x, uchar16 y, uchar16 z);
short2 __builtin_spirv_OpenCL_s_clamp_v2i16_v2i16_v2i16(short2 x, short2 y, short2 z);
short3 __builtin_spirv_OpenCL_s_clamp_v3i16_v3i16_v3i16(short3 x, short3 y, short3 z);
short4 __builtin_spirv_OpenCL_s_clamp_v4i16_v4i16_v4i16(short4 x, short4 y, short4 z);
short8 __builtin_spirv_OpenCL_s_clamp_v8i16_v8i16_v8i16(short8 x, short8 y, short8 z);
short16 __builtin_spirv_OpenCL_s_clamp_v16i16_v16i16_v16i16(short16 x, short16 y, short16 z);
ushort2 __builtin_spirv_OpenCL_u_clamp_v2i16_v2i16_v2i16(ushort2 x, ushort2 y, ushort2 z);
ushort3 __builtin_spirv_OpenCL_u_clamp_v3i16_v3i16_v3i16(ushort3 x, ushort3 y, ushort3 z);
ushort4 __builtin_spirv_OpenCL_u_clamp_v4i16_v4i16_v4i16(ushort4 x, ushort4 y, ushort4 z);
ushort8 __builtin_spirv_OpenCL_u_clamp_v8i16_v8i16_v8i16(ushort8 x, ushort8 y, ushort8 z);
ushort16 __builtin_spirv_OpenCL_u_clamp_v16i16_v16i16_v16i16(ushort16 x, ushort16 y, ushort16 z);
int2 __builtin_spirv_OpenCL_s_clamp_v2i32_v2i32_v2i32(int2 x, int2 y, int2 z);
int3 __builtin_spirv_OpenCL_s_clamp_v3i32_v3i32_v3i32(int3 x, int3 y, int3 z);
int4 __builtin_spirv_OpenCL_s_clamp_v4i32_v4i32_v4i32(int4 x, int4 y, int4 z);
int8 __builtin_spirv_OpenCL_s_clamp_v8i32_v8i32_v8i32(int8 x, int8 y, int8 z);
int16 __builtin_spirv_OpenCL_s_clamp_v16i32_v16i32_v16i32(int16 x, int16 y, int16 z);
uint2 __builtin_spirv_OpenCL_u_clamp_v2i32_v2i32_v2i32(uint2 x, uint2 y, uint2 z);
uint3 __builtin_spirv_OpenCL_u_clamp_v3i32_v3i32_v3i32(uint3 x, uint3 y, uint3 z);
uint4 __builtin_spirv_OpenCL_u_clamp_v4i32_v4i32_v4i32(uint4 x, uint4 y, uint4 z);
uint8 __builtin_spirv_OpenCL_u_clamp_v8i32_v8i32_v8i32(uint8 x, uint8 y, uint8 z);
uint16 __builtin_spirv_OpenCL_u_clamp_v16i32_v16i32_v16i32(uint16 x, uint16 y, uint16 z);
long2 __builtin_spirv_OpenCL_s_clamp_v2i64_v2i64_v2i64(long2 x, long2 y, long2 z);
long3 __builtin_spirv_OpenCL_s_clamp_v3i64_v3i64_v3i64(long3 x, long3 y, long3 z);
long4 __builtin_spirv_OpenCL_s_clamp_v4i64_v4i64_v4i64(long4 x, long4 y, long4 z);
long8 __builtin_spirv_OpenCL_s_clamp_v8i64_v8i64_v8i64(long8 x, long8 y, long8 z);
long16 __builtin_spirv_OpenCL_s_clamp_v16i64_v16i64_v16i64(long16 x, long16 y, long16 z);
ulong2 __builtin_spirv_OpenCL_u_clamp_v2i64_v2i64_v2i64(ulong2 x, ulong2 y, ulong2 z);
ulong3 __builtin_spirv_OpenCL_u_clamp_v3i64_v3i64_v3i64(ulong3 x, ulong3 y, ulong3 z);
ulong4 __builtin_spirv_OpenCL_u_clamp_v4i64_v4i64_v4i64(ulong4 x, ulong4 y, ulong4 z);
ulong8 __builtin_spirv_OpenCL_u_clamp_v8i64_v8i64_v8i64(ulong8 x, ulong8 y, ulong8 z);
ulong16 __builtin_spirv_OpenCL_u_clamp_v16i64_v16i64_v16i64(ulong16 x, ulong16 y, ulong16 z);

uchar __builtin_spirv_OpenCL_clz_i8( uchar x );
ushort __builtin_spirv_OpenCL_clz_i16( ushort x );
uint __builtin_spirv_OpenCL_clz_i32( uint x );
uchar2 __builtin_spirv_OpenCL_clz_v2i8( uchar2 x );
uchar3 __builtin_spirv_OpenCL_clz_v3i8( uchar3 x );
uchar4 __builtin_spirv_OpenCL_clz_v4i8( uchar4 x );
uchar8 __builtin_spirv_OpenCL_clz_v8i8( uchar8 x );
uchar16 __builtin_spirv_OpenCL_clz_v16i8( uchar16 x );
ushort2 __builtin_spirv_OpenCL_clz_v2i16( ushort2 x );
ushort3 __builtin_spirv_OpenCL_clz_v3i16( ushort3 x );
ushort4 __builtin_spirv_OpenCL_clz_v4i16( ushort4 x );
ushort8 __builtin_spirv_OpenCL_clz_v8i16( ushort8 x );
ushort16 __builtin_spirv_OpenCL_clz_v16i16( ushort16 x );
uint2 __builtin_spirv_OpenCL_clz_v2i32( uint2 x );
uint3 __builtin_spirv_OpenCL_clz_v3i32( uint3 x );
uint4 __builtin_spirv_OpenCL_clz_v4i32( uint4 x );
uint8 __builtin_spirv_OpenCL_clz_v8i32( uint8 x );
uint16 __builtin_spirv_OpenCL_clz_v16i32( uint16 x );
ulong __builtin_spirv_OpenCL_clz_i64( ulong x );
ulong2 __builtin_spirv_OpenCL_clz_v2i64( ulong2 x );
ulong3 __builtin_spirv_OpenCL_clz_v3i64( ulong3 x );
ulong4 __builtin_spirv_OpenCL_clz_v4i64( ulong4 x );
ulong8 __builtin_spirv_OpenCL_clz_v8i64( ulong8 x );
ulong16 __builtin_spirv_OpenCL_clz_v16i64( ulong16 x );

uchar __builtin_spirv_OpenCL_ctz_i8(uchar x );
uchar2 __builtin_spirv_OpenCL_ctz_v2i8( uchar2 x );
uchar3 __builtin_spirv_OpenCL_ctz_v3i8( uchar3 x );
uchar4 __builtin_spirv_OpenCL_ctz_v4i8( uchar4 x );
uchar8 __builtin_spirv_OpenCL_ctz_v8i8( uchar8 x );
uchar16 __builtin_spirv_OpenCL_ctz_v16i8( uchar16 x );
ushort __builtin_spirv_OpenCL_ctz_i16(ushort x );
ushort2 __builtin_spirv_OpenCL_ctz_v2i16( ushort2 x );
ushort3 __builtin_spirv_OpenCL_ctz_v3i16( ushort3 x );
ushort4 __builtin_spirv_OpenCL_ctz_v4i16( ushort4 x );
ushort8 __builtin_spirv_OpenCL_ctz_v8i16( ushort8 x );
ushort16 __builtin_spirv_OpenCL_ctz_v16i16( ushort16 x );
uint __builtin_spirv_OpenCL_ctz_i32(uint x );
uint2 __builtin_spirv_OpenCL_ctz_v2i32( uint2 x );
uint3 __builtin_spirv_OpenCL_ctz_v3i32( uint3 x );
uint4 __builtin_spirv_OpenCL_ctz_v4i32( uint4 x );
uint8 __builtin_spirv_OpenCL_ctz_v8i32( uint8 x );
uint16 __builtin_spirv_OpenCL_ctz_v16i32( uint16 x );
ulong __builtin_spirv_OpenCL_ctz_i64( ulong x );
ulong2 __builtin_spirv_OpenCL_ctz_v2i64( ulong2 x );
ulong3 __builtin_spirv_OpenCL_ctz_v3i64( ulong3 x );
ulong4 __builtin_spirv_OpenCL_ctz_v4i64( ulong4 x );
ulong8 __builtin_spirv_OpenCL_ctz_v8i64( ulong8 x );
ulong16 __builtin_spirv_OpenCL_ctz_v16i64( ulong16 x );

char __builtin_spirv_OpenCL_s_hadd_i8_i8( char x, char y );
char2 __builtin_spirv_OpenCL_s_hadd_v2i8_v2i8( char2 x, char2 y );
char3 __builtin_spirv_OpenCL_s_hadd_v3i8_v3i8( char3 x, char3 y );
char4 __builtin_spirv_OpenCL_s_hadd_v4i8_v4i8( char4 x, char4 y );
char8 __builtin_spirv_OpenCL_s_hadd_v8i8_v8i8( char8 x, char8 y );
char16 __builtin_spirv_OpenCL_s_hadd_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_hadd_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_hadd_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_hadd_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_hadd_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_hadd_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_hadd_v16i8_v16i8( uchar16 x, uchar16 y );
short __builtin_spirv_OpenCL_s_hadd_i16_i16( short x, short y );
short2 __builtin_spirv_OpenCL_s_hadd_v2i16_v2i16( short2 x, short2 y );
short3 __builtin_spirv_OpenCL_s_hadd_v3i16_v3i16( short3 x, short3 y );
short4 __builtin_spirv_OpenCL_s_hadd_v4i16_v4i16( short4 x, short4 y );
short8 __builtin_spirv_OpenCL_s_hadd_v8i16_v8i16( short8 x, short8 y );
short16 __builtin_spirv_OpenCL_s_hadd_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_hadd_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_hadd_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_hadd_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_hadd_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_hadd_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_hadd_v16i16_v16i16( ushort16 x, ushort16 y );
int __builtin_spirv_OpenCL_s_hadd_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_hadd_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_hadd_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_hadd_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_hadd_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_hadd_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_hadd_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_hadd_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_hadd_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_hadd_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_hadd_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_hadd_v16i32_v16i32( uint16 x, uint16 y );
long __builtin_spirv_OpenCL_s_hadd_i64_i64( long x, long y );
long2 __builtin_spirv_OpenCL_s_hadd_v2i64_v2i64( long2 x, long2 y );
long3 __builtin_spirv_OpenCL_s_hadd_v3i64_v3i64( long3 x, long3 y );
long4 __builtin_spirv_OpenCL_s_hadd_v4i64_v4i64( long4 x, long4 y );
long8 __builtin_spirv_OpenCL_s_hadd_v8i64_v8i64( long8 x, long8 y );
long16 __builtin_spirv_OpenCL_s_hadd_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_hadd_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_hadd_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_hadd_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_hadd_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_hadd_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_hadd_v16i64_v16i64( ulong16 x, ulong16 y );

char __builtin_spirv_OpenCL_s_mad_hi_i8_i8_i8( char a, char b, char c );
char2 __builtin_spirv_OpenCL_s_mad_hi_v2i8_v2i8_v2i8( char2 a, char2 b, char2 c );
char3 __builtin_spirv_OpenCL_s_mad_hi_v3i8_v3i8_v3i8( char3 a, char3 b, char3 c );
char4 __builtin_spirv_OpenCL_s_mad_hi_v4i8_v4i8_v4i8( char4 a, char4 b, char4 c );
char8 __builtin_spirv_OpenCL_s_mad_hi_v8i8_v8i8_v8i8( char8 a, char8 b, char8 c );
char16 __builtin_spirv_OpenCL_s_mad_hi_v16i8_v16i8_v16i8( char16 a, char16 b, char16 c );
uchar __builtin_spirv_OpenCL_u_mad_hi_i8_i8_i8( uchar a, uchar b, uchar c );
uchar2 __builtin_spirv_OpenCL_u_mad_hi_v2i8_v2i8_v2i8( uchar2 a, uchar2 b, uchar2 c );
uchar3 __builtin_spirv_OpenCL_u_mad_hi_v3i8_v3i8_v3i8( uchar3 a, uchar3 b, uchar3 c );
uchar4 __builtin_spirv_OpenCL_u_mad_hi_v4i8_v4i8_v4i8( uchar4 a, uchar4 b, uchar4 c );
uchar8 __builtin_spirv_OpenCL_u_mad_hi_v8i8_v8i8_v8i8( uchar8 a, uchar8 b, uchar8 c );
uchar16 __builtin_spirv_OpenCL_u_mad_hi_v16i8_v16i8_v16i8( uchar16 a, uchar16 b, uchar16 c );
short __builtin_spirv_OpenCL_s_mad_hi_i16_i16_i16( short a, short b, short c );
short2 __builtin_spirv_OpenCL_s_mad_hi_v2i16_v2i16_v2i16( short2 a, short2 b, short2 c );
short3 __builtin_spirv_OpenCL_s_mad_hi_v3i16_v3i16_v3i16( short3 a, short3 b, short3 c );
short4 __builtin_spirv_OpenCL_s_mad_hi_v4i16_v4i16_v4i16( short4 a, short4 b, short4 c );
short8 __builtin_spirv_OpenCL_s_mad_hi_v8i16_v8i16_v8i16( short8 a, short8 b, short8 c );
short16 __builtin_spirv_OpenCL_s_mad_hi_v16i16_v16i16_v16i16( short16 a, short16 b, short16 c );
ushort __builtin_spirv_OpenCL_u_mad_hi_i16_i16_i16( ushort a, ushort b, ushort c );
ushort2 __builtin_spirv_OpenCL_u_mad_hi_v2i16_v2i16_v2i16( ushort2 a, ushort2 b, ushort2 c );
ushort3 __builtin_spirv_OpenCL_u_mad_hi_v3i16_v3i16_v3i16( ushort3 a, ushort3 b, ushort3 c );
ushort4 __builtin_spirv_OpenCL_u_mad_hi_v4i16_v4i16_v4i16( ushort4 a, ushort4 b, ushort4 c );
ushort8 __builtin_spirv_OpenCL_u_mad_hi_v8i16_v8i16_v8i16( ushort8 a, ushort8 b, ushort8 c );
ushort16 __builtin_spirv_OpenCL_u_mad_hi_v16i16_v16i16_v16i16( ushort16 a, ushort16 b, ushort16 c );
int __builtin_spirv_OpenCL_s_mad_hi_i32_i32_i32( int a, int b, int c );
int2 __builtin_spirv_OpenCL_s_mad_hi_v2i32_v2i32_v2i32( int2 a, int2 b, int2 c );
int3 __builtin_spirv_OpenCL_s_mad_hi_v3i32_v3i32_v3i32( int3 a, int3 b, int3 c );
int4 __builtin_spirv_OpenCL_s_mad_hi_v4i32_v4i32_v4i32( int4 a, int4 b, int4 c );
int8 __builtin_spirv_OpenCL_s_mad_hi_v8i32_v8i32_v8i32( int8 a, int8 b, int8 c );
int16 __builtin_spirv_OpenCL_s_mad_hi_v16i32_v16i32_v16i32( int16 a, int16 b, int16 c );
uint __builtin_spirv_OpenCL_u_mad_hi_i32_i32_i32( uint a, uint b, uint c );
uint2 __builtin_spirv_OpenCL_u_mad_hi_v2i32_v2i32_v2i32( uint2 a, uint2 b, uint2 c );
uint3 __builtin_spirv_OpenCL_u_mad_hi_v3i32_v3i32_v3i32( uint3 a, uint3 b, uint3 c );
uint4 __builtin_spirv_OpenCL_u_mad_hi_v4i32_v4i32_v4i32( uint4 a, uint4 b, uint4 c );
uint8 __builtin_spirv_OpenCL_u_mad_hi_v8i32_v8i32_v8i32( uint8 a, uint8 b, uint8 c );
uint16 __builtin_spirv_OpenCL_u_mad_hi_v16i32_v16i32_v16i32( uint16 a, uint16 b, uint16 c );
long __builtin_spirv_OpenCL_s_mad_hi_i64_i64_i64( long a, long b, long c );
long2 __builtin_spirv_OpenCL_s_mad_hi_v2i64_v2i64_v2i64( long2 a, long2 b, long2 c );
long3 __builtin_spirv_OpenCL_s_mad_hi_v3i64_v3i64_v3i64( long3 a, long3 b, long3 c );
long4 __builtin_spirv_OpenCL_s_mad_hi_v4i64_v4i64_v4i64( long4 a, long4 b, long4 c );
long8 __builtin_spirv_OpenCL_s_mad_hi_v8i64_v8i64_v8i64( long8 a, long8 b, long8 c );
long16 __builtin_spirv_OpenCL_s_mad_hi_v16i64_v16i64_v16i64( long16 a, long16 b, long16 c );
ulong __builtin_spirv_OpenCL_u_mad_hi_i64_i64_i64( ulong a, ulong b, ulong c );
ulong2 __builtin_spirv_OpenCL_u_mad_hi_v2i64_v2i64_v2i64( ulong2 a, ulong2 b, ulong2 c );
ulong3 __builtin_spirv_OpenCL_u_mad_hi_v3i64_v3i64_v3i64( ulong3 a, ulong3 b, ulong3 c );
ulong4 __builtin_spirv_OpenCL_u_mad_hi_v4i64_v4i64_v4i64( ulong4 a, ulong4 b, ulong4 c );
ulong8 __builtin_spirv_OpenCL_u_mad_hi_v8i64_v8i64_v8i64( ulong8 a, ulong8 b, ulong8 c );
ulong16 __builtin_spirv_OpenCL_u_mad_hi_v16i64_v16i64_v16i64( ulong16 a, ulong16 b, ulong16 c );

char __builtin_spirv_OpenCL_s_mad_sat_i8_i8_i8( char a, char b, char c );
char2 __builtin_spirv_OpenCL_s_mad_sat_v2i8_v2i8_v2i8( char2 a, char2 b, char2 c );
char3 __builtin_spirv_OpenCL_s_mad_sat_v3i8_v3i8_v3i8( char3 a, char3 b, char3 c );
char4 __builtin_spirv_OpenCL_s_mad_sat_v4i8_v4i8_v4i8( char4 a, char4 b, char4 c );
char8 __builtin_spirv_OpenCL_s_mad_sat_v8i8_v8i8_v8i8( char8 a, char8 b, char8 c );
char16 __builtin_spirv_OpenCL_s_mad_sat_v16i8_v16i8_v16i8( char16 a, char16 b, char16 c );
uchar __builtin_spirv_OpenCL_u_mad_sat_i8_i8_i8( uchar a, uchar b, uchar c );
uchar2 __builtin_spirv_OpenCL_u_mad_sat_v2i8_v2i8_v2i8( uchar2 a, uchar2 b, uchar2 c );
uchar3 __builtin_spirv_OpenCL_u_mad_sat_v3i8_v3i8_v3i8( uchar3 a, uchar3 b, uchar3 c );
uchar4 __builtin_spirv_OpenCL_u_mad_sat_v4i8_v4i8_v4i8( uchar4 a, uchar4 b, uchar4 c );
uchar8 __builtin_spirv_OpenCL_u_mad_sat_v8i8_v8i8_v8i8( uchar8 a, uchar8 b, uchar8 c );
uchar16 __builtin_spirv_OpenCL_u_mad_sat_v16i8_v16i8_v16i8( uchar16 a, uchar16 b, uchar16 c );
short __builtin_spirv_OpenCL_s_mad_sat_i16_i16_i16( short a, short b, short c );
short2 __builtin_spirv_OpenCL_s_mad_sat_v2i16_v2i16_v2i16( short2 a, short2 b, short2 c );
short3 __builtin_spirv_OpenCL_s_mad_sat_v3i16_v3i16_v3i16( short3 a, short3 b, short3 c );
short4 __builtin_spirv_OpenCL_s_mad_sat_v4i16_v4i16_v4i16( short4 a, short4 b, short4 c );
short8 __builtin_spirv_OpenCL_s_mad_sat_v8i16_v8i16_v8i16( short8 a, short8 b, short8 c );
short16 __builtin_spirv_OpenCL_s_mad_sat_v16i16_v16i16_v16i16( short16 a, short16 b, short16 c );
ushort __builtin_spirv_OpenCL_u_mad_sat_i16_i16_i16( ushort a, ushort b, ushort c );
ushort2 __builtin_spirv_OpenCL_u_mad_sat_v2i16_v2i16_v2i16( ushort2 a, ushort2 b, ushort2 c );
ushort3 __builtin_spirv_OpenCL_u_mad_sat_v3i16_v3i16_v3i16( ushort3 a, ushort3 b, ushort3 c );
ushort4 __builtin_spirv_OpenCL_u_mad_sat_v4i16_v4i16_v4i16( ushort4 a, ushort4 b, ushort4 c );
ushort8 __builtin_spirv_OpenCL_u_mad_sat_v8i16_v8i16_v8i16( ushort8 a, ushort8 b, ushort8 c );
ushort16 __builtin_spirv_OpenCL_u_mad_sat_v16i16_v16i16_v16i16( ushort16 a, ushort16 b, ushort16 c );
int __builtin_spirv_OpenCL_s_mad_sat_i32_i32_i32( int a, int b, int c );
int2 __builtin_spirv_OpenCL_s_mad_sat_v2i32_v2i32_v2i32( int2 a, int2 b, int2 c );
int3 __builtin_spirv_OpenCL_s_mad_sat_v3i32_v3i32_v3i32( int3 a, int3 b, int3 c );
int4 __builtin_spirv_OpenCL_s_mad_sat_v4i32_v4i32_v4i32( int4 a, int4 b, int4 c );
int8 __builtin_spirv_OpenCL_s_mad_sat_v8i32_v8i32_v8i32( int8 a, int8 b, int8 c );
int16 __builtin_spirv_OpenCL_s_mad_sat_v16i32_v16i32_v16i32( int16 a, int16 b, int16 c );
uint __builtin_spirv_OpenCL_u_mad_sat_i32_i32_i32( uint a, uint b, uint c );
uint2 __builtin_spirv_OpenCL_u_mad_sat_v2i32_v2i32_v2i32( uint2 a, uint2 b, uint2 c );
uint3 __builtin_spirv_OpenCL_u_mad_sat_v3i32_v3i32_v3i32( uint3 a, uint3 b, uint3 c );
uint4 __builtin_spirv_OpenCL_u_mad_sat_v4i32_v4i32_v4i32( uint4 a, uint4 b, uint4 c );
uint8 __builtin_spirv_OpenCL_u_mad_sat_v8i32_v8i32_v8i32( uint8 a, uint8 b, uint8 c );
uint16 __builtin_spirv_OpenCL_u_mad_sat_v16i32_v16i32_v16i32( uint16 a, uint16 b, uint16 c );
long __builtin_spirv_OpenCL_s_mad_sat_i64_i64_i64( long a, long b, long c );
long2 __builtin_spirv_OpenCL_s_mad_sat_v2i64_v2i64_v2i64( long2 a, long2 b, long2 c );
long3 __builtin_spirv_OpenCL_s_mad_sat_v3i64_v3i64_v3i64( long3 a, long3 b, long3 c );
long4 __builtin_spirv_OpenCL_s_mad_sat_v4i64_v4i64_v4i64( long4 a, long4 b, long4 c );
long8 __builtin_spirv_OpenCL_s_mad_sat_v8i64_v8i64_v8i64( long8 a, long8 b, long8 c );
long16 __builtin_spirv_OpenCL_s_mad_sat_v16i64_v16i64_v16i64( long16 a, long16 b, long16 c );
ulong __builtin_spirv_OpenCL_u_mad_sat_i64_i64_i64( ulong a, ulong b, ulong c );
ulong2 __builtin_spirv_OpenCL_u_mad_sat_v2i64_v2i64_v2i64( ulong2 a, ulong2 b, ulong2 c );
ulong3 __builtin_spirv_OpenCL_u_mad_sat_v3i64_v3i64_v3i64( ulong3 a, ulong3 b, ulong3 c );
ulong4 __builtin_spirv_OpenCL_u_mad_sat_v4i64_v4i64_v4i64( ulong4 a, ulong4 b, ulong4 c );
ulong8 __builtin_spirv_OpenCL_u_mad_sat_v8i64_v8i64_v8i64( ulong8 a, ulong8 b, ulong8 c );
ulong16 __builtin_spirv_OpenCL_u_mad_sat_v16i64_v16i64_v16i64( ulong16 a, ulong16 b, ulong16 c );

int __builtin_spirv_OpenCL_s_mad24_i32_i32_i32( int x, int y, int z );
int2 __builtin_spirv_OpenCL_s_mad24_v2i32_v2i32_v2i32( int2 x, int2 y, int2 z );
int3 __builtin_spirv_OpenCL_s_mad24_v3i32_v3i32_v3i32( int3 x, int3 y, int3 z );
int4 __builtin_spirv_OpenCL_s_mad24_v4i32_v4i32_v4i32( int4 x, int4 y, int4 z );
int8 __builtin_spirv_OpenCL_s_mad24_v8i32_v8i32_v8i32( int8 x, int8 y, int8 z );
int16 __builtin_spirv_OpenCL_s_mad24_v16i32_v16i32_v16i32( int16 x, int16 y, int16 z );
uint __builtin_spirv_OpenCL_u_mad24_i32_i32_i32( uint x, uint y, uint z );
uint2 __builtin_spirv_OpenCL_u_mad24_v2i32_v2i32_v2i32( uint2 x, uint2 y, uint2 z );
uint3 __builtin_spirv_OpenCL_u_mad24_v3i32_v3i32_v3i32( uint3 x, uint3 y, uint3 z );
uint4 __builtin_spirv_OpenCL_u_mad24_v4i32_v4i32_v4i32( uint4 x, uint4 y, uint4 z );
uint8 __builtin_spirv_OpenCL_u_mad24_v8i32_v8i32_v8i32( uint8 x, uint8 y, uint8 z );
uint16 __builtin_spirv_OpenCL_u_mad24_v16i32_v16i32_v16i32( uint16 x, uint16 y, uint16 z );

char __builtin_spirv_OpenCL_s_max_i8_i8(char x, char y);
char2 __builtin_spirv_OpenCL_s_max_v2i8_v2i8(char2 x, char2 y);
char3 __builtin_spirv_OpenCL_s_max_v3i8_v3i8(char3 x, char3 y);
char4 __builtin_spirv_OpenCL_s_max_v4i8_v4i8(char4 x, char4 y);
char8 __builtin_spirv_OpenCL_s_max_v8i8_v8i8(char8 x, char8 y);
char16 __builtin_spirv_OpenCL_s_max_v16i8_v16i8(char16 x, char16 y);
uchar __builtin_spirv_OpenCL_u_max_i8_i8(uchar x, uchar y);
uchar2 __builtin_spirv_OpenCL_u_max_v2i8_v2i8(uchar2 x, uchar2 y);
uchar3 __builtin_spirv_OpenCL_u_max_v3i8_v3i8(uchar3 x, uchar3 y);
uchar4 __builtin_spirv_OpenCL_u_max_v4i8_v4i8(uchar4 x, uchar4 y);
uchar8 __builtin_spirv_OpenCL_u_max_v8i8_v8i8(uchar8 x, uchar8 y);
uchar16 __builtin_spirv_OpenCL_u_max_v16i8_v16i8(uchar16 x, uchar16 y);
short __builtin_spirv_OpenCL_s_max_i16_i16(short x, short y);
short2 __builtin_spirv_OpenCL_s_max_v2i16_v2i16(short2 x, short2 y);
short3 __builtin_spirv_OpenCL_s_max_v3i16_v3i16(short3 x, short3 y);
short4 __builtin_spirv_OpenCL_s_max_v4i16_v4i16(short4 x, short4 y);
short8 __builtin_spirv_OpenCL_s_max_v8i16_v8i16(short8 x, short8 y);
short16 __builtin_spirv_OpenCL_s_max_v16i16_v16i16(short16 x, short16 y);
ushort __builtin_spirv_OpenCL_u_max_i16_i16(ushort x, ushort y);
ushort2 __builtin_spirv_OpenCL_u_max_v2i16_v2i16(ushort2 x, ushort2 y);
ushort3 __builtin_spirv_OpenCL_u_max_v3i16_v3i16(ushort3 x, ushort3 y);
ushort4 __builtin_spirv_OpenCL_u_max_v4i16_v4i16(ushort4 x, ushort4 y);
ushort8 __builtin_spirv_OpenCL_u_max_v8i16_v8i16(ushort8 x, ushort8 y);
ushort16 __builtin_spirv_OpenCL_u_max_v16i16_v16i16(ushort16 x, ushort16 y);
int __builtin_spirv_OpenCL_s_max_i32_i32(int x, int y);
int2 __builtin_spirv_OpenCL_s_max_v2i32_v2i32(int2 x, int2 y);
int3 __builtin_spirv_OpenCL_s_max_v3i32_v3i32(int3 x, int3 y);
int4 __builtin_spirv_OpenCL_s_max_v4i32_v4i32(int4 x, int4 y);
int8 __builtin_spirv_OpenCL_s_max_v8i32_v8i32(int8 x, int8 y);
int16 __builtin_spirv_OpenCL_s_max_v16i32_v16i32(int16 x, int16 y);
uint __builtin_spirv_OpenCL_u_max_i32_i32(uint x, uint y);
uint2 __builtin_spirv_OpenCL_u_max_v2i32_v2i32(uint2 x, uint2 y);
uint3 __builtin_spirv_OpenCL_u_max_v3i32_v3i32(uint3 x, uint3 y);
uint4 __builtin_spirv_OpenCL_u_max_v4i32_v4i32(uint4 x, uint4 y);
uint8 __builtin_spirv_OpenCL_u_max_v8i32_v8i32(uint8 x, uint8 y);
uint16 __builtin_spirv_OpenCL_u_max_v16i32_v16i32(uint16 x, uint16 y);
long __builtin_spirv_OpenCL_s_max_i64_i64(long x, long y);
long2 __builtin_spirv_OpenCL_s_max_v2i64_v2i64(long2 x, long2 y);
long3 __builtin_spirv_OpenCL_s_max_v3i64_v3i64(long3 x, long3 y);
long4 __builtin_spirv_OpenCL_s_max_v4i64_v4i64(long4 x, long4 y);
long8 __builtin_spirv_OpenCL_s_max_v8i64_v8i64(long8 x, long8 y);
long16 __builtin_spirv_OpenCL_s_max_v16i64_v16i64(long16 x, long16 y);
ulong __builtin_spirv_OpenCL_u_max_i64_i64(ulong x, ulong y);
ulong2 __builtin_spirv_OpenCL_u_max_v2i64_v2i64(ulong2 x, ulong2 y);
ulong3 __builtin_spirv_OpenCL_u_max_v3i64_v3i64(ulong3 x, ulong3 y);
ulong4 __builtin_spirv_OpenCL_u_max_v4i64_v4i64(ulong4 x, ulong4 y);
ulong8 __builtin_spirv_OpenCL_u_max_v8i64_v8i64(ulong8 x, ulong8 y);
ulong16 __builtin_spirv_OpenCL_u_max_v16i64_v16i64(ulong16 x, ulong16 y);

char __builtin_spirv_OpenCL_s_mul_hi_i8_i8( char x, char y );
char2 __builtin_spirv_OpenCL_s_mul_hi_v2i8_v2i8( char2 x, char2 y );
char3 __builtin_spirv_OpenCL_s_mul_hi_v3i8_v3i8( char3 x, char3 y );
char4 __builtin_spirv_OpenCL_s_mul_hi_v4i8_v4i8( char4 x, char4 y );
char8 __builtin_spirv_OpenCL_s_mul_hi_v8i8_v8i8( char8 x, char8 y );
char16 __builtin_spirv_OpenCL_s_mul_hi_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_mul_hi_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_mul_hi_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_mul_hi_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_mul_hi_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_mul_hi_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_mul_hi_v16i8_v16i8( uchar16 x, uchar16 y );
short __builtin_spirv_OpenCL_s_mul_hi_i16_i16( short x, short y );
short2 __builtin_spirv_OpenCL_s_mul_hi_v2i16_v2i16( short2 x, short2 y );
short3 __builtin_spirv_OpenCL_s_mul_hi_v3i16_v3i16( short3 x, short3 y );
short4 __builtin_spirv_OpenCL_s_mul_hi_v4i16_v4i16( short4 x, short4 y );
short8 __builtin_spirv_OpenCL_s_mul_hi_v8i16_v8i16( short8 x, short8 y );
short16 __builtin_spirv_OpenCL_s_mul_hi_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_mul_hi_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_mul_hi_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_mul_hi_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_mul_hi_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_mul_hi_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_mul_hi_v16i16_v16i16( ushort16 x, ushort16 y );
int __builtin_spirv_OpenCL_s_mul_hi_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_mul_hi_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_mul_hi_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_mul_hi_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_mul_hi_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_mul_hi_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_mul_hi_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_mul_hi_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_mul_hi_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_mul_hi_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_mul_hi_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_mul_hi_v16i32_v16i32( uint16 x, uint16 y );
long __builtin_spirv_OpenCL_s_mul_hi_i64_i64( long x, long y );
long2 __builtin_spirv_OpenCL_s_mul_hi_v2i64_v2i64( long2 x, long2 y );
long3 __builtin_spirv_OpenCL_s_mul_hi_v3i64_v3i64( long3 x, long3 y );
long4 __builtin_spirv_OpenCL_s_mul_hi_v4i64_v4i64( long4 x, long4 y );
long8 __builtin_spirv_OpenCL_s_mul_hi_v8i64_v8i64( long8 x, long8 y );
long16 __builtin_spirv_OpenCL_s_mul_hi_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_mul_hi_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_mul_hi_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_mul_hi_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_mul_hi_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_mul_hi_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_mul_hi_v16i64_v16i64( ulong16 x, ulong16 y );

int __builtin_spirv_OpenCL_s_mul24_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_mul24_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_mul24_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_mul24_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_mul24_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_mul24_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_mul24_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_mul24_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_mul24_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_mul24_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_mul24_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_mul24_v16i32_v16i32( uint16 x, uint16 y );

uchar __builtin_spirv_OpenCL_popcount_i8(uchar x );
uchar2 __builtin_spirv_OpenCL_popcount_v2i8(uchar2 x);
uchar3 __builtin_spirv_OpenCL_popcount_v3i8(uchar3 x);
uchar4 __builtin_spirv_OpenCL_popcount_v4i8(uchar4 x);
uchar8 __builtin_spirv_OpenCL_popcount_v8i8(uchar8 x);
uchar16 __builtin_spirv_OpenCL_popcount_v16i8(uchar16 x);
ushort __builtin_spirv_OpenCL_popcount_i16(ushort x );
ushort2 __builtin_spirv_OpenCL_popcount_v2i16(ushort2 x);
ushort3 __builtin_spirv_OpenCL_popcount_v3i16(ushort3 x);
ushort4 __builtin_spirv_OpenCL_popcount_v4i16(ushort4 x);
ushort8 __builtin_spirv_OpenCL_popcount_v8i16(ushort8 x);
ushort16 __builtin_spirv_OpenCL_popcount_v16i16(ushort16 x);
uint __builtin_spirv_OpenCL_popcount_i32(uint x );
uint2 __builtin_spirv_OpenCL_popcount_v2i32(uint2 x);
uint3 __builtin_spirv_OpenCL_popcount_v3i32(uint3 x);
uint4 __builtin_spirv_OpenCL_popcount_v4i32(uint4 x);
uint8 __builtin_spirv_OpenCL_popcount_v8i32(uint8 x);
uint16 __builtin_spirv_OpenCL_popcount_v16i32(uint16 x);
ulong __builtin_spirv_OpenCL_popcount_i64(ulong x);
ulong2 __builtin_spirv_OpenCL_popcount_v2i64(ulong2 x);
ulong3 __builtin_spirv_OpenCL_popcount_v3i64(ulong3 x);
ulong4 __builtin_spirv_OpenCL_popcount_v4i64(ulong4 x);
ulong8 __builtin_spirv_OpenCL_popcount_v8i64(ulong8 x);
ulong16 __builtin_spirv_OpenCL_popcount_v16i64(ulong16 x);

char __builtin_spirv_OpenCL_s_rhadd_i8_i8( char x, char y );
char2 __builtin_spirv_OpenCL_s_rhadd_v2i8_v2i8( char2 x, char2 y );
char3 __builtin_spirv_OpenCL_s_rhadd_v3i8_v3i8( char3 x, char3 y );
char4 __builtin_spirv_OpenCL_s_rhadd_v4i8_v4i8( char4 x, char4 y );
char8 __builtin_spirv_OpenCL_s_rhadd_v8i8_v8i8( char8 x, char8 y );
char16 __builtin_spirv_OpenCL_s_rhadd_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_rhadd_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_rhadd_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_rhadd_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_rhadd_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_rhadd_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_rhadd_v16i8_v16i8( uchar16 x, uchar16 y );
short __builtin_spirv_OpenCL_s_rhadd_i16_i16( short x, short y );
short2 __builtin_spirv_OpenCL_s_rhadd_v2i16_v2i16( short2 x, short2 y );
short3 __builtin_spirv_OpenCL_s_rhadd_v3i16_v3i16( short3 x, short3 y );
short4 __builtin_spirv_OpenCL_s_rhadd_v4i16_v4i16( short4 x, short4 y );
short8 __builtin_spirv_OpenCL_s_rhadd_v8i16_v8i16( short8 x, short8 y );
short16 __builtin_spirv_OpenCL_s_rhadd_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_rhadd_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_rhadd_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_rhadd_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_rhadd_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_rhadd_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_rhadd_v16i16_v16i16( ushort16 x, ushort16 y );
int __builtin_spirv_OpenCL_s_rhadd_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_rhadd_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_rhadd_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_rhadd_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_rhadd_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_rhadd_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_rhadd_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_rhadd_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_rhadd_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_rhadd_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_rhadd_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_rhadd_v16i32_v16i32( uint16 x, uint16 y );
long __builtin_spirv_OpenCL_s_rhadd_i64_i64( long x, long y );
long2 __builtin_spirv_OpenCL_s_rhadd_v2i64_v2i64( long2 x, long2 y );
long3 __builtin_spirv_OpenCL_s_rhadd_v3i64_v3i64( long3 x, long3 y );
long4 __builtin_spirv_OpenCL_s_rhadd_v4i64_v4i64( long4 x, long4 y );
long8 __builtin_spirv_OpenCL_s_rhadd_v8i64_v8i64( long8 x, long8 y );
long16 __builtin_spirv_OpenCL_s_rhadd_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_rhadd_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_rhadd_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_rhadd_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_rhadd_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_rhadd_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_rhadd_v16i64_v16i64( ulong16 x, ulong16 y );

uchar __builtin_spirv_OpenCL_rotate_i8_i8( uchar v, uchar i );
uchar2 __builtin_spirv_OpenCL_rotate_v2i8_v2i8( uchar2 v, uchar2 i );
uchar3 __builtin_spirv_OpenCL_rotate_v3i8_v3i8( uchar3 v, uchar3 i );
uchar4 __builtin_spirv_OpenCL_rotate_v4i8_v4i8( uchar4 v, uchar4 i );
uchar8 __builtin_spirv_OpenCL_rotate_v8i8_v8i8( uchar8 v, uchar8 i );
uchar16 __builtin_spirv_OpenCL_rotate_v16i8_v16i8( uchar16 v, uchar16 i );
ushort __builtin_spirv_OpenCL_rotate_i16_i16( ushort v, ushort i );
ushort2 __builtin_spirv_OpenCL_rotate_v2i16_v2i16( ushort2 v, ushort2 i );
ushort3 __builtin_spirv_OpenCL_rotate_v3i16_v3i16( ushort3 v, ushort3 i );
ushort4 __builtin_spirv_OpenCL_rotate_v4i16_v4i16( ushort4 v, ushort4 i );
ushort8 __builtin_spirv_OpenCL_rotate_v8i16_v8i16( ushort8 v, ushort8 i );
ushort16 __builtin_spirv_OpenCL_rotate_v16i16_v16i16( ushort16 v, ushort16 i );
uint __builtin_spirv_OpenCL_rotate_i32_i32( uint v, uint i );
uint2 __builtin_spirv_OpenCL_rotate_v2i32_v2i32( uint2 v, uint2 i );
uint3 __builtin_spirv_OpenCL_rotate_v3i32_v3i32( uint3 v, uint3 i );
uint4 __builtin_spirv_OpenCL_rotate_v4i32_v4i32( uint4 v, uint4 i );
uint8 __builtin_spirv_OpenCL_rotate_v8i32_v8i32( uint8 v, uint8 i );
uint16 __builtin_spirv_OpenCL_rotate_v16i32_v16i32( uint16 v, uint16 i );
ulong __builtin_spirv_OpenCL_rotate_i64_i64( ulong v, ulong i );
ulong2 __builtin_spirv_OpenCL_rotate_v2i64_v2i64( ulong2 v, ulong2 i );
ulong3 __builtin_spirv_OpenCL_rotate_v3i64_v3i64( ulong3 v, ulong3 i );
ulong4 __builtin_spirv_OpenCL_rotate_v4i64_v4i64( ulong4 v, ulong4 i );
ulong8 __builtin_spirv_OpenCL_rotate_v8i64_v8i64( ulong8 v, ulong8 i );
ulong16 __builtin_spirv_OpenCL_rotate_v16i64_v16i64( ulong16 v, ulong16 i );

char __builtin_spirv_OpenCL_s_sub_sat_i8_i8( char x, char y );
char2 __builtin_spirv_OpenCL_s_sub_sat_v2i8_v2i8( char2 x, char2 y );
char3 __builtin_spirv_OpenCL_s_sub_sat_v3i8_v3i8( char3 x, char3 y );
char4 __builtin_spirv_OpenCL_s_sub_sat_v4i8_v4i8( char4 x, char4 y );
char8 __builtin_spirv_OpenCL_s_sub_sat_v8i8_v8i8( char8 x, char8 y );
char16 __builtin_spirv_OpenCL_s_sub_sat_v16i8_v16i8( char16 x, char16 y );
uchar __builtin_spirv_OpenCL_u_sub_sat_i8_i8( uchar x, uchar y );
uchar2 __builtin_spirv_OpenCL_u_sub_sat_v2i8_v2i8( uchar2 x, uchar2 y );
uchar3 __builtin_spirv_OpenCL_u_sub_sat_v3i8_v3i8( uchar3 x, uchar3 y );
uchar4 __builtin_spirv_OpenCL_u_sub_sat_v4i8_v4i8( uchar4 x, uchar4 y );
uchar8 __builtin_spirv_OpenCL_u_sub_sat_v8i8_v8i8( uchar8 x, uchar8 y );
uchar16 __builtin_spirv_OpenCL_u_sub_sat_v16i8_v16i8( uchar16 x, uchar16 y );
short __builtin_spirv_OpenCL_s_sub_sat_i16_i16( short x, short y );
short2 __builtin_spirv_OpenCL_s_sub_sat_v2i16_v2i16( short2 x, short2 y );
short3 __builtin_spirv_OpenCL_s_sub_sat_v3i16_v3i16( short3 x, short3 y );
short4 __builtin_spirv_OpenCL_s_sub_sat_v4i16_v4i16( short4 x, short4 y );
short8 __builtin_spirv_OpenCL_s_sub_sat_v8i16_v8i16( short8 x, short8 y );
short16 __builtin_spirv_OpenCL_s_sub_sat_v16i16_v16i16( short16 x, short16 y );
ushort __builtin_spirv_OpenCL_u_sub_sat_i16_i16( ushort x, ushort y );
ushort2 __builtin_spirv_OpenCL_u_sub_sat_v2i16_v2i16( ushort2 x, ushort2 y );
ushort3 __builtin_spirv_OpenCL_u_sub_sat_v3i16_v3i16( ushort3 x, ushort3 y );
ushort4 __builtin_spirv_OpenCL_u_sub_sat_v4i16_v4i16( ushort4 x, ushort4 y );
ushort8 __builtin_spirv_OpenCL_u_sub_sat_v8i16_v8i16( ushort8 x, ushort8 y );
ushort16 __builtin_spirv_OpenCL_u_sub_sat_v16i16_v16i16( ushort16 x, ushort16 y );
int __builtin_spirv_OpenCL_s_sub_sat_i32_i32( int x, int y );
int2 __builtin_spirv_OpenCL_s_sub_sat_v2i32_v2i32( int2 x, int2 y );
int3 __builtin_spirv_OpenCL_s_sub_sat_v3i32_v3i32( int3 x, int3 y );
int4 __builtin_spirv_OpenCL_s_sub_sat_v4i32_v4i32( int4 x, int4 y );
int8 __builtin_spirv_OpenCL_s_sub_sat_v8i32_v8i32( int8 x, int8 y );
int16 __builtin_spirv_OpenCL_s_sub_sat_v16i32_v16i32( int16 x, int16 y );
uint __builtin_spirv_OpenCL_u_sub_sat_i32_i32( uint x, uint y );
uint2 __builtin_spirv_OpenCL_u_sub_sat_v2i32_v2i32( uint2 x, uint2 y );
uint3 __builtin_spirv_OpenCL_u_sub_sat_v3i32_v3i32( uint3 x, uint3 y );
uint4 __builtin_spirv_OpenCL_u_sub_sat_v4i32_v4i32( uint4 x, uint4 y );
uint8 __builtin_spirv_OpenCL_u_sub_sat_v8i32_v8i32( uint8 x, uint8 y );
uint16 __builtin_spirv_OpenCL_u_sub_sat_v16i32_v16i32( uint16 x, uint16 y );
long __builtin_spirv_OpenCL_s_sub_sat_i64_i64( long x, long y );
long2 __builtin_spirv_OpenCL_s_sub_sat_v2i64_v2i64( long2 x, long2 y );
long3 __builtin_spirv_OpenCL_s_sub_sat_v3i64_v3i64( long3 x, long3 y );
long4 __builtin_spirv_OpenCL_s_sub_sat_v4i64_v4i64( long4 x, long4 y );
long8 __builtin_spirv_OpenCL_s_sub_sat_v8i64_v8i64( long8 x, long8 y );
long16 __builtin_spirv_OpenCL_s_sub_sat_v16i64_v16i64( long16 x, long16 y );
ulong __builtin_spirv_OpenCL_u_sub_sat_i64_i64( ulong x, ulong y );
ulong2 __builtin_spirv_OpenCL_u_sub_sat_v2i64_v2i64( ulong2 x, ulong2 y );
ulong3 __builtin_spirv_OpenCL_u_sub_sat_v3i64_v3i64( ulong3 x, ulong3 y );
ulong4 __builtin_spirv_OpenCL_u_sub_sat_v4i64_v4i64( ulong4 x, ulong4 y );
ulong8 __builtin_spirv_OpenCL_u_sub_sat_v8i64_v8i64( ulong8 x, ulong8 y );
ulong16 __builtin_spirv_OpenCL_u_sub_sat_v16i64_v16i64( ulong16 x, ulong16 y );

short __builtin_spirv_OpenCL_s_upsample_i8_i8( char  hi, uchar lo );
short2 __builtin_spirv_OpenCL_s_upsample_v2i8_v2i8( char2  hi, uchar2 lo );
short3 __builtin_spirv_OpenCL_s_upsample_v3i8_v3i8( char3  hi, uchar3 lo );
short4 __builtin_spirv_OpenCL_s_upsample_v4i8_v4i8( char4  hi, uchar4 lo );
short8 __builtin_spirv_OpenCL_s_upsample_v8i8_v8i8( char8  hi, uchar8 lo );
short16 __builtin_spirv_OpenCL_s_upsample_v16i8_v16i8( char16  hi, uchar16 lo );
ushort __builtin_spirv_OpenCL_u_upsample_i8_i8( uchar hi, uchar lo );
ushort2 __builtin_spirv_OpenCL_u_upsample_v2i8_v2i8( uchar2 hi, uchar2 lo );
ushort3 __builtin_spirv_OpenCL_u_upsample_v3i8_v3i8( uchar3 hi, uchar3 lo );
ushort4 __builtin_spirv_OpenCL_u_upsample_v4i8_v4i8( uchar4 hi, uchar4 lo );
ushort8 __builtin_spirv_OpenCL_u_upsample_v8i8_v8i8( uchar8 hi, uchar8 lo );
ushort16 __builtin_spirv_OpenCL_u_upsample_v16i8_v16i8( uchar16 hi, uchar16 lo );
int __builtin_spirv_OpenCL_s_upsample_i16_i16( short  hi, ushort lo );
int2 __builtin_spirv_OpenCL_s_upsample_v2i16_v2i16( short2  hi, ushort2 lo );
int3 __builtin_spirv_OpenCL_s_upsample_v3i16_v3i16( short3  hi, ushort3 lo );
int4 __builtin_spirv_OpenCL_s_upsample_v4i16_v4i16( short4  hi, ushort4 lo );
int8 __builtin_spirv_OpenCL_s_upsample_v8i16_v8i16( short8  hi, ushort8 lo );
int16 __builtin_spirv_OpenCL_s_upsample_v16i16_v16i16( short16  hi, ushort16 lo );
uint __builtin_spirv_OpenCL_u_upsample_i16_i16( ushort hi, ushort lo );
uint2 __builtin_spirv_OpenCL_u_upsample_v2i16_v2i16( ushort2 hi, ushort2 lo );
uint3 __builtin_spirv_OpenCL_u_upsample_v3i16_v3i16( ushort3 hi, ushort3 lo );
uint4 __builtin_spirv_OpenCL_u_upsample_v4i16_v4i16( ushort4 hi, ushort4 lo );
uint8 __builtin_spirv_OpenCL_u_upsample_v8i16_v8i16( ushort8 hi, ushort8 lo );
uint16 __builtin_spirv_OpenCL_u_upsample_v16i16_v16i16( ushort16 hi, ushort16 lo );
long __builtin_spirv_OpenCL_s_upsample_i32_i32( int  hi, uint lo );
long2 __builtin_spirv_OpenCL_s_upsample_v2i32_v2i32( int2  hi, uint2 lo );
long3 __builtin_spirv_OpenCL_s_upsample_v3i32_v3i32( int3  hi, uint3 lo );
long4 __builtin_spirv_OpenCL_s_upsample_v4i32_v4i32( int4  hi, uint4 lo );
long8 __builtin_spirv_OpenCL_s_upsample_v8i32_v8i32( int8  hi, uint8 lo );
long16 __builtin_spirv_OpenCL_s_upsample_v16i32_v16i32( int16  hi, uint16 lo );
ulong __builtin_spirv_OpenCL_u_upsample_i32_i32( uint hi, uint lo );
ulong2 __builtin_spirv_OpenCL_u_upsample_v2i32_v2i32( uint2 hi, uint2 lo );
ulong3 __builtin_spirv_OpenCL_u_upsample_v3i32_v3i32( uint3 hi, uint3 lo );
ulong4 __builtin_spirv_OpenCL_u_upsample_v4i32_v4i32( uint4 hi, uint4 lo );
ulong8 __builtin_spirv_OpenCL_u_upsample_v8i32_v8i32( uint8 hi, uint8 lo );
ulong16 __builtin_spirv_OpenCL_u_upsample_v16i32_v16i32( uint16 hi, uint16 lo );


//
//  Math_ext
//		-acos,acosh,acospi,asin,asinh,asinpi,atan,atan2,atan2pi,atanh,atanpi,cbrt,ceil,copysign,
//       cos,cosh,cospi,divide_cr,erf,erfc,exp,exp2,exp10,expm1,fabs,fdim,floor,fma,fmax,fmin,
//       fmod,fract,frexp,hypot,ilogb,ldexp,lgamma,lgamma_r,log,log1p,log2,log10,logb,mad,maxmag,minmag,
//		 modf,nan,nextafter,pow,pown,powr,remainder,remquo,rint,rootn,round,rsqrt,sin,sincos,
//       sinh,sinpi,sqrt,sqrt_cr,tan,tanh,tanpi,tgamma,trunc
//

float __builtin_spirv_OpenCL_acos_f32(float x );
float2 __builtin_spirv_OpenCL_acos_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_acos_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_acos_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_acos_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_acos_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_acos_f64( double x );
double2 __builtin_spirv_OpenCL_acos_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_acos_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_acos_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_acos_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_acos_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_acos_f16(half x );
half2 __builtin_spirv_OpenCL_acos_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_acos_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_acos_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_acos_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_acos_v16f16(half16 x);

float  __builtin_spirv_OpenCL_acosh_f32( float x );
float2 __builtin_spirv_OpenCL_acosh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_acosh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_acosh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_acosh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_acosh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_acosh_f64( double x );
double2 __builtin_spirv_OpenCL_acosh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_acosh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_acosh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_acosh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_acosh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_acosh_f16( half x );
half2 __builtin_spirv_OpenCL_acosh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_acosh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_acosh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_acosh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_acosh_v16f16(half16 x);

float  __builtin_spirv_OpenCL_acospi_f32( float x );
float2 __builtin_spirv_OpenCL_acospi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_acospi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_acospi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_acospi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_acospi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_acospi_f64( double x );
double2 __builtin_spirv_OpenCL_acospi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_acospi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_acospi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_acospi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_acospi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_acospi_f16( half x );
half2 __builtin_spirv_OpenCL_acospi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_acospi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_acospi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_acospi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_acospi_v16f16(half16 x);

float __builtin_spirv_OpenCL_asin_f32(float value );
float2 __builtin_spirv_OpenCL_asin_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_asin_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_asin_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_asin_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_asin_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_asin_f64( double x );
double2 __builtin_spirv_OpenCL_asin_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_asin_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_asin_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_asin_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_asin_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_asin_f16(half x );
half2 __builtin_spirv_OpenCL_asin_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_asin_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_asin_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_asin_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_asin_v16f16(half16 x);

float  __builtin_spirv_OpenCL_asinh_f32( float x );
float2 __builtin_spirv_OpenCL_asinh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_asinh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_asinh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_asinh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_asinh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_asinh_f64( double x );
double2 __builtin_spirv_OpenCL_asinh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_asinh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_asinh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_asinh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_asinh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_asinh_f16( half x );
half2 __builtin_spirv_OpenCL_asinh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_asinh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_asinh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_asinh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_asinh_v16f16(half16 x);

float  __builtin_spirv_OpenCL_asinpi_f32( float x );
float2 __builtin_spirv_OpenCL_asinpi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_asinpi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_asinpi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_asinpi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_asinpi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_asinpi_f64( double x );
double2 __builtin_spirv_OpenCL_asinpi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_asinpi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_asinpi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_asinpi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_asinpi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_asinpi_f16( half x );
half2 __builtin_spirv_OpenCL_asinpi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_asinpi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_asinpi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_asinpi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_asinpi_v16f16(half16 x);

float __builtin_spirv_OpenCL_atan_f32(float value );
float2 __builtin_spirv_OpenCL_atan_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_atan_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_atan_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_atan_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_atan_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_atan_f64( double x );
double2 __builtin_spirv_OpenCL_atan_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_atan_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_atan_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_atan_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_atan_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_atan_f16(half x );
half2 __builtin_spirv_OpenCL_atan_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_atan_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_atan_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_atan_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_atan_v16f16(half16 x);

float  __builtin_spirv_OpenCL_atan2_f32_f32( float y, float x );
float2 __builtin_spirv_OpenCL_atan2_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_atan2_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_atan2_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_atan2_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_atan2_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_atan2_f64_f64( double y, double x );
double2 __builtin_spirv_OpenCL_atan2_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_atan2_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_atan2_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_atan2_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_atan2_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_atan2_f16_f16( half y, half x );
half2 __builtin_spirv_OpenCL_atan2_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_atan2_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_atan2_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_atan2_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_atan2_v16f16_v16f16(half16 x, half16 y);

float  __builtin_spirv_OpenCL_atan2pi_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_atan2pi_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_atan2pi_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_atan2pi_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_atan2pi_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_atan2pi_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_atan2pi_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_atan2pi_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_atan2pi_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_atan2pi_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_atan2pi_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_atan2pi_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_atan2pi_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_atan2pi_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_atan2pi_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_atan2pi_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_atan2pi_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_atan2pi_v16f16_v16f16(half16 x, half16 y);

float  __builtin_spirv_OpenCL_atanh_f32( float x );
float2 __builtin_spirv_OpenCL_atanh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_atanh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_atanh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_atanh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_atanh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_atanh_f64( double x );
double2 __builtin_spirv_OpenCL_atanh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_atanh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_atanh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_atanh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_atanh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_atanh_f16( half x );
half2 __builtin_spirv_OpenCL_atanh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_atanh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_atanh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_atanh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_atanh_v16f16(half16 x);

float  __builtin_spirv_OpenCL_atanpi_f32( float x );
float2 __builtin_spirv_OpenCL_atanpi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_atanpi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_atanpi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_atanpi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_atanpi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_atanpi_f64( double x );
double2 __builtin_spirv_OpenCL_atanpi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_atanpi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_atanpi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_atanpi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_atanpi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_atanpi_f16( half x );
half2 __builtin_spirv_OpenCL_atanpi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_atanpi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_atanpi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_atanpi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_atanpi_v16f16(half16 x);

float  __builtin_spirv_OpenCL_cbrt_f32( float x );
float2 __builtin_spirv_OpenCL_cbrt_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_cbrt_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_cbrt_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_cbrt_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_cbrt_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_cbrt_f64( double x );
double2 __builtin_spirv_OpenCL_cbrt_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_cbrt_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_cbrt_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_cbrt_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_cbrt_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_cbrt_f16( half x );
half2 __builtin_spirv_OpenCL_cbrt_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_cbrt_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_cbrt_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_cbrt_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_cbrt_v16f16(half16 x);

float __builtin_spirv_OpenCL_ceil_f32(float x );
float2 __builtin_spirv_OpenCL_ceil_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_ceil_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_ceil_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_ceil_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_ceil_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_ceil_f64(double x );
double2 __builtin_spirv_OpenCL_ceil_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_ceil_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_ceil_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_ceil_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_ceil_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_ceil_f16(half x );
half2 __builtin_spirv_OpenCL_ceil_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_ceil_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_ceil_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_ceil_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_ceil_v16f16(half16 x);

float  __builtin_spirv_OpenCL_copysign_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_copysign_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_copysign_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_copysign_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_copysign_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_copysign_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_copysign_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_copysign_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_copysign_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_copysign_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_copysign_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_copysign_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_copysign_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_copysign_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_copysign_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_copysign_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_copysign_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_copysign_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_cos_f32( float x );
float2 __builtin_spirv_OpenCL_cos_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_cos_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_cos_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_cos_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_cos_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_cos_f64( double x );
double2 __builtin_spirv_OpenCL_cos_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_cos_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_cos_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_cos_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_cos_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_cos_f16( half x );
half2 __builtin_spirv_OpenCL_cos_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_cos_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_cos_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_cos_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_cos_v16f16(half16 x);

float  __builtin_spirv_OpenCL_cosh_f32( float x );
float2 __builtin_spirv_OpenCL_cosh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_cosh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_cosh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_cosh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_cosh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_cosh_f64( double x );
double2 __builtin_spirv_OpenCL_cosh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_cosh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_cosh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_cosh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_cosh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_cosh_f16( half x );
half2 __builtin_spirv_OpenCL_cosh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_cosh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_cosh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_cosh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_cosh_v16f16(half16 x);

float  __builtin_spirv_OpenCL_cospi_f32( float x );
float2 __builtin_spirv_OpenCL_cospi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_cospi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_cospi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_cospi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_cospi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_cospi_f64( double x );
double2 __builtin_spirv_OpenCL_cospi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_cospi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_cospi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_cospi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_cospi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_cospi_f16( half x );
half2 __builtin_spirv_OpenCL_cospi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_cospi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_cospi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_cospi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_cospi_v16f16(half16 x);

float __builtin_spirv_divide_cr_f32_f32( float a, float b );
float2 __builtin_spirv_divide_cr_v2f32_v2f32( float2 a, float2 b );
float3 __builtin_spirv_divide_cr_v3f32_v3f32( float3 a, float3 b );
float4 __builtin_spirv_divide_cr_v4f32_v4f32( float4 a, float4 b );
float8 __builtin_spirv_divide_cr_v8f32_v8f32( float8 a, float8 b );
float16 __builtin_spirv_divide_cr_v16f32_v16f32( float16 a, float16 b );

#if defined(cl_khr_fp64)
double __builtin_spirv_divide_cr_f64_f64(double a, double b);
#endif // defined(cl_khr_fp64)

float  __builtin_spirv_OpenCL_erf_f32( float x );
float2 __builtin_spirv_OpenCL_erf_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_erf_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_erf_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_erf_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_erf_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_erf_f64( double x );
double2 __builtin_spirv_OpenCL_erf_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_erf_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_erf_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_erf_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_erf_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_erf_f16( half x );
half2 __builtin_spirv_OpenCL_erf_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_erf_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_erf_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_erf_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_erf_v16f16(half16 x);

float __builtin_spirv_OpenCL_erfc_f32( float x );
float2 __builtin_spirv_OpenCL_erfc_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_erfc_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_erfc_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_erfc_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_erfc_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_erfc_f64( double x );
double2 __builtin_spirv_OpenCL_erfc_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_erfc_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_erfc_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_erfc_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_erfc_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_erfc_f16( half x );
half2 __builtin_spirv_OpenCL_erfc_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_erfc_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_erfc_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_erfc_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_erfc_v16f16(half16 x);

float __builtin_spirv_OpenCL_exp_f32(float x);
float2 __builtin_spirv_OpenCL_exp_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_exp_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_exp_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_exp_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_exp_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_exp_f64( double x );
double2 __builtin_spirv_OpenCL_exp_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_exp_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_exp_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_exp_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_exp_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_exp_f16( half x );
half2 __builtin_spirv_OpenCL_exp_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_exp_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_exp_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_exp_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_exp_v16f16(half16 x);

float  __builtin_spirv_OpenCL_exp2_f32( float x );
float2 __builtin_spirv_OpenCL_exp2_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_exp2_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_exp2_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_exp2_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_exp2_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_exp2_f64( double x );
double2 __builtin_spirv_OpenCL_exp2_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_exp2_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_exp2_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_exp2_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_exp2_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_exp2_f16( half x );
half2 __builtin_spirv_OpenCL_exp2_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_exp2_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_exp2_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_exp2_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_exp2_v16f16(half16 x);

float  __builtin_spirv_OpenCL_exp10_f32( float x );
float2 __builtin_spirv_OpenCL_exp10_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_exp10_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_exp10_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_exp10_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_exp10_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_exp10_f64( double x );
double2 __builtin_spirv_OpenCL_exp10_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_exp10_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_exp10_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_exp10_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_exp10_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_exp10_f16( half x );
half2 __builtin_spirv_OpenCL_exp10_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_exp10_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_exp10_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_exp10_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_exp10_v16f16(half16 x);

float  __builtin_spirv_OpenCL_expm1_f32( float a );
float2 __builtin_spirv_OpenCL_expm1_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_expm1_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_expm1_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_expm1_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_expm1_v16f32(float16 x);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_expm1_f64( double x );
double2 __builtin_spirv_OpenCL_expm1_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_expm1_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_expm1_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_expm1_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_expm1_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_expm1_f16( half x );
half2 __builtin_spirv_OpenCL_expm1_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_expm1_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_expm1_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_expm1_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_expm1_v16f16(half16 x);

float __builtin_spirv_OpenCL_fabs_f32(float x );
float2 __builtin_spirv_OpenCL_fabs_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_fabs_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_fabs_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_fabs_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_fabs_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_fabs_f64(double x );
double2 __builtin_spirv_OpenCL_fabs_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_fabs_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_fabs_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_fabs_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_fabs_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_fabs_f16(half x );
half2 __builtin_spirv_OpenCL_fabs_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_fabs_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_fabs_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_fabs_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_fabs_v16f16(half16 x);

float  __builtin_spirv_OpenCL_fdim_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_fdim_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fdim_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fdim_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fdim_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fdim_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_fdim_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_fdim_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fdim_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fdim_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fdim_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fdim_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_fdim_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_fdim_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fdim_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fdim_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fdim_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fdim_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_floor_f32(float x );
float2 __builtin_spirv_OpenCL_floor_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_floor_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_floor_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_floor_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_floor_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_floor_f64(double x );
double2 __builtin_spirv_OpenCL_floor_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_floor_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_floor_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_floor_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_floor_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_floor_f16(half x );
half2 __builtin_spirv_OpenCL_floor_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_floor_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_floor_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_floor_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_floor_v16f16(half16 x);

float  __builtin_spirv_OpenCL_fma_f32_f32_f32( float a, float b, float c );
float2 __builtin_spirv_OpenCL_fma_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_fma_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_fma_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_fma_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_fma_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_fma_f64_f64_f64( double a, double b, double c );
double2 __builtin_spirv_OpenCL_fma_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_fma_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_fma_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_fma_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_fma_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_fma_f16_f16_f16(half x, half y, half z);
half2 __builtin_spirv_OpenCL_fma_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_fma_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_fma_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_fma_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_fma_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

float  __builtin_spirv_OpenCL_fmax_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_fmax_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fmax_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fmax_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fmax_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fmax_v16f32_v16f32(float16 x, float16 y);
float2 __builtin_spirv_OpenCL_fmax_v2f32_f32(float2 x, float y);
float3 __builtin_spirv_OpenCL_fmax_v3f32_f32(float3 x, float y);
float4 __builtin_spirv_OpenCL_fmax_v4f32_f32(float4 x, float y);
float8 __builtin_spirv_OpenCL_fmax_v8f32_f32(float8 x, float y);
float16 __builtin_spirv_OpenCL_fmax_v16f32_f32(float16 x, float y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_fmax_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_fmax_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fmax_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fmax_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fmax_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fmax_v16f64_v16f64(double16 x, double16 y);
double2 __builtin_spirv_OpenCL_fmax_v2f64_f64(double2 x, double y);
double3 __builtin_spirv_OpenCL_fmax_v3f64_f64(double3 x, double y);
double4 __builtin_spirv_OpenCL_fmax_v4f64_f64(double4 x, double y);
double8 __builtin_spirv_OpenCL_fmax_v8f64_f64(double8 x, double y);
double16 __builtin_spirv_OpenCL_fmax_v16f64_f64(double16 x, double y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_fmax_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_fmax_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fmax_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fmax_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fmax_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fmax_v16f16_v16f16(half16 x, half16 y);
half2 __builtin_spirv_OpenCL_fmax_v2f16_f16(half2 x, half y);
half3 __builtin_spirv_OpenCL_fmax_v3f16_f16(half3 x, half y);
half4 __builtin_spirv_OpenCL_fmax_v4f16_f16(half4 x, half y);
half8 __builtin_spirv_OpenCL_fmax_v8f16_f16(half8 x, half y);
half16 __builtin_spirv_OpenCL_fmax_v16f16_f16(half16 x, half y);

float  __builtin_spirv_OpenCL_fmin_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_fmin_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fmin_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fmin_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fmin_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fmin_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_fmin_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_fmin_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fmin_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fmin_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fmin_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fmin_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_fmin_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_fmin_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fmin_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fmin_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fmin_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fmin_v16f16_v16f16(half16 x, half16 y);

float  __builtin_spirv_OpenCL_fmod_f32_f32( float xx, float yy );
float2 __builtin_spirv_OpenCL_fmod_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_fmod_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_fmod_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_fmod_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_fmod_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double  __builtin_spirv_OpenCL_fmod_f64_f64( double xx, double yy );
double2 __builtin_spirv_OpenCL_fmod_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_fmod_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_fmod_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_fmod_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_fmod_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half  __builtin_spirv_OpenCL_fmod_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_fmod_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_fmod_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_fmod_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_fmod_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_fmod_v16f16_v16f16(half16 x, half16 y);

/* Helper function for fmod */
float  __builtin_spirv_fast_fmod_f32_f32( float xx, float yy );
float2  __builtin_spirv_fast_fmod_v2f32_v2f32( float2 xx, float2 yy );
float3  __builtin_spirv_fast_fmod_v3f32_v3f32( float3 xx, float3 yy );
float4  __builtin_spirv_fast_fmod_v4f32_v4f32( float4 xx, float4 yy );
half  __builtin_spirv_fast_fmod_f16_f16( half xx, half yy );
half2  __builtin_spirv_fast_fmod_v2f16_v2f16( half2 xx, half2 yy );
half3  __builtin_spirv_fast_fmod_v3f16_v3f16( half3 xx, half3 yy );
half4  __builtin_spirv_fast_fmod_v4f16_v4f16( half4 xx, half4 yy );
#if defined(cl_khr_fp64)
double  __builtin_spirv_fast_fmod_f64_f64( double xx, double yy );
double2  __builtin_spirv_fast_fmod_v2f64_v2f64( double2 xx, double2 yy );
double3  __builtin_spirv_fast_fmod_v3f64_v3f64( double3 xx, double3 yy );
double4  __builtin_spirv_fast_fmod_v4f64_v4f64( double4 xx, double4 yy );
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_fract_f32_p1f32( float x, __global float* iptr );
float2 __builtin_spirv_OpenCL_fract_v2f32_p1v2f32( float2 x, __global float2* iptr );
float3 __builtin_spirv_OpenCL_fract_v3f32_p1v3f32( float3 x, __global float3* iptr );
float4 __builtin_spirv_OpenCL_fract_v4f32_p1v4f32( float4 x, __global float4* iptr );
float8 __builtin_spirv_OpenCL_fract_v8f32_p1v8f32( float8 x, __global float8* iptr );
float16 __builtin_spirv_OpenCL_fract_v16f32_p1v16f32( float16 x, __global float16* iptr );
float __builtin_spirv_OpenCL_fract_f32_p0f32( float x, __private float* iptr );
float2 __builtin_spirv_OpenCL_fract_v2f32_p0v2f32( float2 x, __private float2* iptr );
float3 __builtin_spirv_OpenCL_fract_v3f32_p0v3f32( float3 x, __private float3* iptr );
float4 __builtin_spirv_OpenCL_fract_v4f32_p0v4f32( float4 x, __private float4* iptr );
float8 __builtin_spirv_OpenCL_fract_v8f32_p0v8f32( float8 x, __private float8* iptr );
float16 __builtin_spirv_OpenCL_fract_v16f32_p0v16f32( float16 x, __private float16* iptr );
float __builtin_spirv_OpenCL_fract_f32_p3f32( float x, __local float* iptr );
float2 __builtin_spirv_OpenCL_fract_v2f32_p3v2f32( float2 x, __local float2* iptr );
float3 __builtin_spirv_OpenCL_fract_v3f32_p3v3f32( float3 x, __local float3* iptr );
float4 __builtin_spirv_OpenCL_fract_v4f32_p3v4f32( float4 x, __local float4* iptr );
float8 __builtin_spirv_OpenCL_fract_v8f32_p3v8f32( float8 x, __local float8* iptr );
float16 __builtin_spirv_OpenCL_fract_v16f32_p3v16f32( float16 x, __local float16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_fract_f32_p4f32( float x, __generic float* iptr );
float2 __builtin_spirv_OpenCL_fract_v2f32_p4v2f32( float2 x, __generic float2* iptr );
float3 __builtin_spirv_OpenCL_fract_v3f32_p4v3f32( float3 x, __generic float3* iptr );
float4 __builtin_spirv_OpenCL_fract_v4f32_p4v4f32( float4 x, __generic float4* iptr );
float8 __builtin_spirv_OpenCL_fract_v8f32_p4v8f32( float8 x, __generic float8* iptr );
float16 __builtin_spirv_OpenCL_fract_v16f32_p4v16f32( float16 x, __generic float16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_fract_f16_p1f16( half x, __global half* iptr );
half2 __builtin_spirv_OpenCL_fract_v2f16_p1v2f16( half2 x, __global half2* iptr );
half3 __builtin_spirv_OpenCL_fract_v3f16_p1v3f16( half3 x, __global half3* iptr );
half4 __builtin_spirv_OpenCL_fract_v4f16_p1v4f16( half4 x, __global half4* iptr );
half8 __builtin_spirv_OpenCL_fract_v8f16_p1v8f16( half8 x, __global half8* iptr );
half16 __builtin_spirv_OpenCL_fract_v16f16_p1v16f16( half16 x, __global half16* iptr );
half __builtin_spirv_OpenCL_fract_f16_p0f16( half x, __private half* iptr );
half2 __builtin_spirv_OpenCL_fract_v2f16_p0v2f16( half2 x, __private half2* iptr );
half3 __builtin_spirv_OpenCL_fract_v3f16_p0v3f16( half3 x, __private half3* iptr );
half4 __builtin_spirv_OpenCL_fract_v4f16_p0v4f16( half4 x, __private half4* iptr );
half8 __builtin_spirv_OpenCL_fract_v8f16_p0v8f16( half8 x, __private half8* iptr );
half16 __builtin_spirv_OpenCL_fract_v16f16_p0v16f16( half16 x, __private half16* iptr );
half __builtin_spirv_OpenCL_fract_f16_p3f16( half x, __local half* iptr );
half2 __builtin_spirv_OpenCL_fract_v2f16_p3v2f16( half2 x, __local half2* iptr );
half3 __builtin_spirv_OpenCL_fract_v3f16_p3v3f16( half3 x, __local half3* iptr );
half4 __builtin_spirv_OpenCL_fract_v4f16_p3v4f16( half4 x, __local half4* iptr );
half8 __builtin_spirv_OpenCL_fract_v8f16_p3v8f16( half8 x, __local half8* iptr );
half16 __builtin_spirv_OpenCL_fract_v16f16_p3v16f16( half16 x, __local half16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_fract_f16_p4f16( half x, __generic half* iptr );
half2 __builtin_spirv_OpenCL_fract_v2f16_p4v2f16( half2 x, __generic half2* iptr );
half3 __builtin_spirv_OpenCL_fract_v3f16_p4v3f16( half3 x, __generic half3* iptr );
half4 __builtin_spirv_OpenCL_fract_v4f16_p4v4f16( half4 x, __generic half4* iptr );
half8 __builtin_spirv_OpenCL_fract_v8f16_p4v8f16( half8 x, __generic half8* iptr );
half16 __builtin_spirv_OpenCL_fract_v16f16_p4v16f16( half16 x, __generic half16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_fract_f64_p1f64( double x, __global double* iptr );
double2 __builtin_spirv_OpenCL_fract_v2f64_p1v2f64( double2 x, __global double2* iptr );
double3 __builtin_spirv_OpenCL_fract_v3f64_p1v3f64( double3 x, __global double3* iptr );
double4 __builtin_spirv_OpenCL_fract_v4f64_p1v4f64( double4 x, __global double4* iptr );
double8 __builtin_spirv_OpenCL_fract_v8f64_p1v8f64( double8 x, __global double8* iptr );
double16 __builtin_spirv_OpenCL_fract_v16f64_p1v16f64( double16 x, __global double16* iptr );
double __builtin_spirv_OpenCL_fract_f64_p0f64( double x, __private double* iptr );
double2 __builtin_spirv_OpenCL_fract_v2f64_p0v2f64( double2 x, __private double2* iptr );
double3 __builtin_spirv_OpenCL_fract_v3f64_p0v3f64( double3 x, __private double3* iptr );
double4 __builtin_spirv_OpenCL_fract_v4f64_p0v4f64( double4 x, __private double4* iptr );
double8 __builtin_spirv_OpenCL_fract_v8f64_p0v8f64( double8 x, __private double8* iptr );
double16 __builtin_spirv_OpenCL_fract_v16f64_p0v16f64( double16 x, __private double16* iptr );
double __builtin_spirv_OpenCL_fract_f64_p3f64( double x, __local double* iptr );
double2 __builtin_spirv_OpenCL_fract_v2f64_p3v2f64( double2 x, __local double2* iptr );
double3 __builtin_spirv_OpenCL_fract_v3f64_p3v3f64( double3 x, __local double3* iptr );
double4 __builtin_spirv_OpenCL_fract_v4f64_p3v4f64( double4 x, __local double4* iptr );
double8 __builtin_spirv_OpenCL_fract_v8f64_p3v8f64( double8 x, __local double8* iptr );
double16 __builtin_spirv_OpenCL_fract_v16f64_p3v16f64( double16 x, __local double16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_fract_f64_p4f64( double x, __generic double* iptr );
double2 __builtin_spirv_OpenCL_fract_v2f64_p4v2f64( double2 x, __generic double2* iptr );
double3 __builtin_spirv_OpenCL_fract_v3f64_p4v3f64( double3 x, __generic double3* iptr );
double4 __builtin_spirv_OpenCL_fract_v4f64_p4v4f64( double4 x, __generic double4* iptr );
double8 __builtin_spirv_OpenCL_fract_v8f64_p4v8f64( double8 x, __generic double8* iptr );
double16 __builtin_spirv_OpenCL_fract_v16f64_p4v16f64( double16 x, __generic double16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_frexp_f32_p1i32( float x, __global int* exp );
float2 __builtin_spirv_OpenCL_frexp_v2f32_p1v2i32( float2 x, __global int2* exp );
float3 __builtin_spirv_OpenCL_frexp_v3f32_p1v3i32( float3 x, __global int3* exp );
float4 __builtin_spirv_OpenCL_frexp_v4f32_p1v4i32( float4 x, __global int4* exp );
float8 __builtin_spirv_OpenCL_frexp_v8f32_p1v8i32( float8 x, __global int8* exp );
float16 __builtin_spirv_OpenCL_frexp_v16f32_p1v16i32( float16 x, __global int16* exp );
float __builtin_spirv_OpenCL_frexp_f32_p0i32( float x, __private int* exp );
float2 __builtin_spirv_OpenCL_frexp_v2f32_p0v2i32( float2 x, __private int2* exp );
float3 __builtin_spirv_OpenCL_frexp_v3f32_p0v3i32( float3 x, __private int3* exp );
float4 __builtin_spirv_OpenCL_frexp_v4f32_p0v4i32( float4 x, __private int4* exp );
float8 __builtin_spirv_OpenCL_frexp_v8f32_p0v8i32( float8 x, __private int8* exp );
float16 __builtin_spirv_OpenCL_frexp_v16f32_p0v16i32( float16 x, __private int16* exp );
float __builtin_spirv_OpenCL_frexp_f32_p3i32( float x, __local int* exp );
float2 __builtin_spirv_OpenCL_frexp_v2f32_p3v2i32( float2 x, __local int2* exp );
float3 __builtin_spirv_OpenCL_frexp_v3f32_p3v3i32( float3 x, __local int3* exp );
float4 __builtin_spirv_OpenCL_frexp_v4f32_p3v4i32( float4 x, __local int4* exp );
float8 __builtin_spirv_OpenCL_frexp_v8f32_p3v8i32( float8 x, __local int8* exp );
float16 __builtin_spirv_OpenCL_frexp_v16f32_p3v16i32( float16 x, __local int16* exp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_frexp_f32_p4i32( float x, __generic int* exp );
float2 __builtin_spirv_OpenCL_frexp_v2f32_p4v2i32( float2 x, __generic int2* exp );
float3 __builtin_spirv_OpenCL_frexp_v3f32_p4v3i32( float3 x, __generic int3* exp );
float4 __builtin_spirv_OpenCL_frexp_v4f32_p4v4i32( float4 x, __generic int4* exp );
float8 __builtin_spirv_OpenCL_frexp_v8f32_p4v8i32( float8 x, __generic int8* exp );
float16 __builtin_spirv_OpenCL_frexp_v16f32_p4v16i32( float16 x, __generic int16* exp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_frexp_f16_p1i32( half x, __global int* exp );
half2 __builtin_spirv_OpenCL_frexp_v2f16_p1v2i32( half2 x, __global int2* exp );
half3 __builtin_spirv_OpenCL_frexp_v3f16_p1v3i32( half3 x, __global int3* exp );
half4 __builtin_spirv_OpenCL_frexp_v4f16_p1v4i32( half4 x, __global int4* exp );
half8 __builtin_spirv_OpenCL_frexp_v8f16_p1v8i32( half8 x, __global int8* exp );
half16 __builtin_spirv_OpenCL_frexp_v16f16_p1v16i32( half16 x, __global int16* exp );
half __builtin_spirv_OpenCL_frexp_f16_p0i32( half x, __private int* exp );
half2 __builtin_spirv_OpenCL_frexp_v2f16_p0v2i32( half2 x, __private int2* exp );
half3 __builtin_spirv_OpenCL_frexp_v3f16_p0v3i32( half3 x, __private int3* exp );
half4 __builtin_spirv_OpenCL_frexp_v4f16_p0v4i32( half4 x, __private int4* exp );
half8 __builtin_spirv_OpenCL_frexp_v8f16_p0v8i32( half8 x, __private int8* exp );
half16 __builtin_spirv_OpenCL_frexp_v16f16_p0v16i32( half16 x, __private int16* exp );
half __builtin_spirv_OpenCL_frexp_f16_p3i32( half x, __local int* exp );
half2 __builtin_spirv_OpenCL_frexp_v2f16_p3v2i32( half2 x, __local int2* exp );
half3 __builtin_spirv_OpenCL_frexp_v3f16_p3v3i32( half3 x, __local int3* exp );
half4 __builtin_spirv_OpenCL_frexp_v4f16_p3v4i32( half4 x, __local int4* exp );
half8 __builtin_spirv_OpenCL_frexp_v8f16_p3v8i32( half8 x, __local int8* exp );
half16 __builtin_spirv_OpenCL_frexp_v16f16_p3v16i32( half16 x, __local int16* exp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_frexp_f16_p4i32( half x, __generic int* exp );
half2 __builtin_spirv_OpenCL_frexp_v2f16_p4v2i32( half2 x, __generic int2* exp );
half3 __builtin_spirv_OpenCL_frexp_v3f16_p4v3i32( half3 x, __generic int3* exp );
half4 __builtin_spirv_OpenCL_frexp_v4f16_p4v4i32( half4 x, __generic int4* exp );
half8 __builtin_spirv_OpenCL_frexp_v8f16_p4v8i32( half8 x, __generic int8* exp );
half16 __builtin_spirv_OpenCL_frexp_v16f16_p4v16i32( half16 x, __generic int16* exp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_frexp_f64_p1i32( double x, __global int* exp );
double2 __builtin_spirv_OpenCL_frexp_v2f64_p1v2i32( double2 x, __global int2* exp );
double3 __builtin_spirv_OpenCL_frexp_v3f64_p1v3i32( double3 x, __global int3* exp );
double4 __builtin_spirv_OpenCL_frexp_v4f64_p1v4i32( double4 x, __global int4* exp );
double8 __builtin_spirv_OpenCL_frexp_v8f64_p1v8i32( double8 x, __global int8* exp );
double16 __builtin_spirv_OpenCL_frexp_v16f64_p1v16i32( double16 x, __global int16* exp );
double __builtin_spirv_OpenCL_frexp_f64_p0i32( double x, __private int* exp );
double2 __builtin_spirv_OpenCL_frexp_v2f64_p0v2i32( double2 x, __private int2* exp );
double3 __builtin_spirv_OpenCL_frexp_v3f64_p0v3i32( double3 x, __private int3* exp );
double4 __builtin_spirv_OpenCL_frexp_v4f64_p0v4i32( double4 x, __private int4* exp );
double8 __builtin_spirv_OpenCL_frexp_v8f64_p0v8i32( double8 x, __private int8* exp );
double16 __builtin_spirv_OpenCL_frexp_v16f64_p0v16i32( double16 x, __private int16* exp );
double __builtin_spirv_OpenCL_frexp_f64_p3i32( double x, __local int* exp );
double2 __builtin_spirv_OpenCL_frexp_v2f64_p3v2i32( double2 x, __local int2* exp );
double3 __builtin_spirv_OpenCL_frexp_v3f64_p3v3i32( double3 x, __local int3* exp );
double4 __builtin_spirv_OpenCL_frexp_v4f64_p3v4i32( double4 x, __local int4* exp );
double8 __builtin_spirv_OpenCL_frexp_v8f64_p3v8i32( double8 x, __local int8* exp );
double16 __builtin_spirv_OpenCL_frexp_v16f64_p3v16i32( double16 x, __local int16* exp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_frexp_f64_p4i32( double x, __generic int* exp );
double2 __builtin_spirv_OpenCL_frexp_v2f64_p4v2i32( double2 x, __generic int2* exp );
double3 __builtin_spirv_OpenCL_frexp_v3f64_p4v3i32( double3 x, __generic int3* exp );
double4 __builtin_spirv_OpenCL_frexp_v4f64_p4v4i32( double4 x, __generic int4* exp );
double8 __builtin_spirv_OpenCL_frexp_v8f64_p4v8i32( double8 x, __generic int8* exp );
double16 __builtin_spirv_OpenCL_frexp_v16f64_p4v16i32( double16 x, __generic int16* exp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_hypot_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_hypot_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_hypot_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_hypot_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_hypot_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_hypot_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_hypot_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_hypot_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_hypot_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_hypot_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_hypot_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_hypot_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_hypot_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_hypot_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_hypot_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_hypot_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_hypot_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_hypot_v16f16_v16f16(half16 x, half16 y);

int __builtin_spirv_OpenCL_ilogb_f32( float x );
int __builtin_spirv_OpenCL_ilogb_f32( float x );
int2 __builtin_spirv_OpenCL_ilogb_v2f32(float2 x);
int3 __builtin_spirv_OpenCL_ilogb_v3f32(float3 x);
int4 __builtin_spirv_OpenCL_ilogb_v4f32(float4 x);
int8 __builtin_spirv_OpenCL_ilogb_v8f32(float8 x);
int16 __builtin_spirv_OpenCL_ilogb_v16f32(float16 x);
#if defined(cl_khr_fp64)
int __builtin_spirv_OpenCL_ilogb_f64( double x );
int2 __builtin_spirv_OpenCL_ilogb_v2f64(double2 x);
int3 __builtin_spirv_OpenCL_ilogb_v3f64(double3 x);
int4 __builtin_spirv_OpenCL_ilogb_v4f64(double4 x);
int8 __builtin_spirv_OpenCL_ilogb_v8f64(double8 x);
int16 __builtin_spirv_OpenCL_ilogb_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
int __builtin_spirv_OpenCL_ilogb_f16( half x );
int2 __builtin_spirv_OpenCL_ilogb_v2f16(half2 x);
int3 __builtin_spirv_OpenCL_ilogb_v3f16(half3 x);
int4 __builtin_spirv_OpenCL_ilogb_v4f16(half4 x);
int8 __builtin_spirv_OpenCL_ilogb_v8f16(half8 x);
int16 __builtin_spirv_OpenCL_ilogb_v16f16(half16 x);

float __builtin_spirv_OpenCL_ldexp_f32_i32( float x, int n );
float2 __builtin_spirv_OpenCL_ldexp_v2f32_v2i32(float2 x, int2 y);
float3 __builtin_spirv_OpenCL_ldexp_v3f32_v3i32(float3 x, int3 y);
float4 __builtin_spirv_OpenCL_ldexp_v4f32_v4i32(float4 x, int4 y);
float8 __builtin_spirv_OpenCL_ldexp_v8f32_v8i32(float8 x, int8 y);
float16 __builtin_spirv_OpenCL_ldexp_v16f32_v16i32(float16 x, int16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_ldexp_f64_i32( double x, int n );
double2 __builtin_spirv_OpenCL_ldexp_v2f64_v2i32(double2 x, int2 y);
double3 __builtin_spirv_OpenCL_ldexp_v3f64_v3i32(double3 x, int3 y);
double4 __builtin_spirv_OpenCL_ldexp_v4f64_v4i32(double4 x, int4 y);
double8 __builtin_spirv_OpenCL_ldexp_v8f64_v8i32(double8 x, int8 y);
double16 __builtin_spirv_OpenCL_ldexp_v16f64_v16i32(double16 x, int16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_ldexp_f16_i32( half x, int n );
half2 __builtin_spirv_OpenCL_ldexp_v2f16_v2i32(half2 x, int2 y);
half3 __builtin_spirv_OpenCL_ldexp_v3f16_v3i32(half3 x, int3 y);
half4 __builtin_spirv_OpenCL_ldexp_v4f16_v4i32(half4 x, int4 y);
half8 __builtin_spirv_OpenCL_ldexp_v8f16_v8i32(half8 x, int8 y);
half16 __builtin_spirv_OpenCL_ldexp_v16f16_v16i32(half16 x, int16 y);

float __builtin_spirv_OpenCL_lgamma_f32( float x );
float2 __builtin_spirv_OpenCL_lgamma_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_lgamma_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_lgamma_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_lgamma_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_lgamma_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_lgamma_f64( double x );
double2 __builtin_spirv_OpenCL_lgamma_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_lgamma_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_lgamma_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_lgamma_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_lgamma_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_lgamma_f16( half x );
half2 __builtin_spirv_OpenCL_lgamma_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_lgamma_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_lgamma_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_lgamma_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_lgamma_v16f16(half16 x);

float __builtin_spirv_OpenCL_lgamma_r_f32_p1i32( float x, __global int* signp );
float2 __builtin_spirv_OpenCL_lgamma_r_v2f32_p1v2i32( float2 x, __global int2* signp );
float3 __builtin_spirv_OpenCL_lgamma_r_v3f32_p1v3i32( float3 x, __global int3* signp );
float4 __builtin_spirv_OpenCL_lgamma_r_v4f32_p1v4i32( float4 x, __global int4* signp );
float8 __builtin_spirv_OpenCL_lgamma_r_v8f32_p1v8i32( float8 x, __global int8* signp );
float16 __builtin_spirv_OpenCL_lgamma_r_v16f32_p1v16i32( float16 x, __global int16* signp );
float __builtin_spirv_OpenCL_lgamma_r_f32_p3i32( float x, __local int* signp );
float2 __builtin_spirv_OpenCL_lgamma_r_v2f32_p3v2i32( float2 x, __local int2* signp );
float3 __builtin_spirv_OpenCL_lgamma_r_v3f32_p3v3i32( float3 x, __local int3* signp );
float4 __builtin_spirv_OpenCL_lgamma_r_v4f32_p3v4i32( float4 x, __local int4* signp );
float8 __builtin_spirv_OpenCL_lgamma_r_v8f32_p3v8i32( float8 x, __local int8* signp );
float16 __builtin_spirv_OpenCL_lgamma_r_v16f32_p3v16i32( float16 x, __local int16* signp );
float __builtin_spirv_OpenCL_lgamma_r_f32_p0i32( float x, __private int* signp );
float2 __builtin_spirv_OpenCL_lgamma_r_v2f32_p0v2i32( float2 x, __private int2* signp );
float3 __builtin_spirv_OpenCL_lgamma_r_v3f32_p0v3i32( float3 x, __private int3* signp );
float4 __builtin_spirv_OpenCL_lgamma_r_v4f32_p0v4i32( float4 x, __private int4* signp );
float8 __builtin_spirv_OpenCL_lgamma_r_v8f32_p0v8i32( float8 x, __private int8* signp );
float16 __builtin_spirv_OpenCL_lgamma_r_v16f32_p0v16i32( float16 x, __private int16* signp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_lgamma_r_f32_p4i32( float x, __generic int* signp );
float2 __builtin_spirv_OpenCL_lgamma_r_v2f32_p4v2i32( float2 x, __generic int2* signp );
float3 __builtin_spirv_OpenCL_lgamma_r_v3f32_p4v3i32( float3 x, __generic int3* signp );
float4 __builtin_spirv_OpenCL_lgamma_r_v4f32_p4v4i32( float4 x, __generic int4* signp );
float8 __builtin_spirv_OpenCL_lgamma_r_v8f32_p4v8i32( float8 x, __generic int8* signp );
float16 __builtin_spirv_OpenCL_lgamma_r_v16f32_p4v16i32( float16 x, __generic int16* signp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_lgamma_r_f16_p1i32( half x, __global int* signp );
half2 __builtin_spirv_OpenCL_lgamma_r_v2f16_p1v2i32( half2 x, __global int2* signp );
half3 __builtin_spirv_OpenCL_lgamma_r_v3f16_p1v3i32( half3 x, __global int3* signp );
half4 __builtin_spirv_OpenCL_lgamma_r_v4f16_p1v4i32( half4 x, __global int4* signp );
half8 __builtin_spirv_OpenCL_lgamma_r_v8f16_p1v8i32( half8 x, __global int8* signp );
half16 __builtin_spirv_OpenCL_lgamma_r_v16f16_p1v16i32( half16 x, __global int16* signp );
half __builtin_spirv_OpenCL_lgamma_r_f16_p0i32( half x, __private int* signp );
half2 __builtin_spirv_OpenCL_lgamma_r_v2f16_p0v2i32( half2 x, __private int2* signp );
half3 __builtin_spirv_OpenCL_lgamma_r_v3f16_p0v3i32( half3 x, __private int3* signp );
half4 __builtin_spirv_OpenCL_lgamma_r_v4f16_p0v4i32( half4 x, __private int4* signp );
half8 __builtin_spirv_OpenCL_lgamma_r_v8f16_p0v8i32( half8 x, __private int8* signp );
half16 __builtin_spirv_OpenCL_lgamma_r_v16f16_p0v16i32( half16 x, __private int16* signp );
half __builtin_spirv_OpenCL_lgamma_r_f16_p3i32( half x, __local int* signp );
half2 __builtin_spirv_OpenCL_lgamma_r_v2f16_p3v2i32( half2 x, __local int2* signp );
half3 __builtin_spirv_OpenCL_lgamma_r_v3f16_p3v3i32( half3 x, __local int3* signp );
half4 __builtin_spirv_OpenCL_lgamma_r_v4f16_p3v4i32( half4 x, __local int4* signp );
half8 __builtin_spirv_OpenCL_lgamma_r_v8f16_p3v8i32( half8 x, __local int8* signp );
half16 __builtin_spirv_OpenCL_lgamma_r_v16f16_p3v16i32( half16 x, __local int16* signp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_lgamma_r_f16_p4i32( half x, __generic int* signp );
half2 __builtin_spirv_OpenCL_lgamma_r_v2f16_p4v2i32( half2 x, __generic int2* signp );
half3 __builtin_spirv_OpenCL_lgamma_r_v3f16_p4v3i32( half3 x, __generic int3* signp );
half4 __builtin_spirv_OpenCL_lgamma_r_v4f16_p4v4i32( half4 x, __generic int4* signp );
half8 __builtin_spirv_OpenCL_lgamma_r_v8f16_p4v8i32( half8 x, __generic int8* signp );
half16 __builtin_spirv_OpenCL_lgamma_r_v16f16_p4v16i32( half16 x, __generic int16* signp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_lgamma_r_f64_p1i32( double x, __global int* signp );
double2 __builtin_spirv_OpenCL_lgamma_r_v2f64_p1v2i32( double2 x, __global int2* signp );
double3 __builtin_spirv_OpenCL_lgamma_r_v3f64_p1v3i32( double3 x, __global int3* signp );
double4 __builtin_spirv_OpenCL_lgamma_r_v4f64_p1v4i32( double4 x, __global int4* signp );
double8 __builtin_spirv_OpenCL_lgamma_r_v8f64_p1v8i32( double8 x, __global int8* signp );
double16 __builtin_spirv_OpenCL_lgamma_r_v16f64_p1v16i32( double16 x, __global int16* signp );
double __builtin_spirv_OpenCL_lgamma_r_f64_p0i32( double x, __private int* signp );
double2 __builtin_spirv_OpenCL_lgamma_r_v2f64_p0v2i32( double2 x, __private int2* signp );
double3 __builtin_spirv_OpenCL_lgamma_r_v3f64_p0v3i32( double3 x, __private int3* signp );
double4 __builtin_spirv_OpenCL_lgamma_r_v4f64_p0v4i32( double4 x, __private int4* signp );
double8 __builtin_spirv_OpenCL_lgamma_r_v8f64_p0v8i32( double8 x, __private int8* signp );
double16 __builtin_spirv_OpenCL_lgamma_r_v16f64_p0v16i32( double16 x, __private int16* signp );
double __builtin_spirv_OpenCL_lgamma_r_f64_p3i32( double x, __local int* signp );
double2 __builtin_spirv_OpenCL_lgamma_r_v2f64_p3v2i32( double2 x, __local int2* signp );
double3 __builtin_spirv_OpenCL_lgamma_r_v3f64_p3v3i32( double3 x, __local int3* signp );
double4 __builtin_spirv_OpenCL_lgamma_r_v4f64_p3v4i32( double4 x, __local int4* signp );
double8 __builtin_spirv_OpenCL_lgamma_r_v8f64_p3v8i32( double8 x, __local int8* signp );
double16 __builtin_spirv_OpenCL_lgamma_r_v16f64_p3v16i32( double16 x, __local int16* signp );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_lgamma_r_f64_p4i32( double x, __generic int* signp );
double2 __builtin_spirv_OpenCL_lgamma_r_v2f64_p4v2i32( double2 x, __generic int2* signp );
double3 __builtin_spirv_OpenCL_lgamma_r_v3f64_p4v3i32( double3 x, __generic int3* signp );
double4 __builtin_spirv_OpenCL_lgamma_r_v4f64_p4v4i32( double4 x, __generic int4* signp );
double8 __builtin_spirv_OpenCL_lgamma_r_v8f64_p4v8i32( double8 x, __generic int8* signp );
double16 __builtin_spirv_OpenCL_lgamma_r_v16f64_p4v16i32( double16 x, __generic int16* signp );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_log_f32( float x );
float2 __builtin_spirv_OpenCL_log_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_log_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_log_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_log_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_log_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_log_f64( double x );
double2 __builtin_spirv_OpenCL_log_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_log_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_log_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_log_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_log_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_log_f16( half x );
half2 __builtin_spirv_OpenCL_log_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_log_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_log_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_log_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_log_v16f16(half16 x);

float __builtin_spirv_OpenCL_log1p_f32( float a );
float2 __builtin_spirv_OpenCL_log1p_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_log1p_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_log1p_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_log1p_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_log1p_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_log1p_f64( double a );
double2 __builtin_spirv_OpenCL_log1p_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_log1p_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_log1p_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_log1p_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_log1p_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_log1p_f16( half x );
half2 __builtin_spirv_OpenCL_log1p_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_log1p_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_log1p_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_log1p_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_log1p_v16f16(half16 x);

float __builtin_spirv_OpenCL_log2_f32( float x );
float2 __builtin_spirv_OpenCL_log2_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_log2_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_log2_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_log2_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_log2_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_log2_f64( double x );
double2 __builtin_spirv_OpenCL_log2_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_log2_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_log2_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_log2_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_log2_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_log2_f16( half x );
half2 __builtin_spirv_OpenCL_log2_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_log2_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_log2_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_log2_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_log2_v16f16(half16 x);

float __builtin_spirv_OpenCL_log10_f32( float x );
float2 __builtin_spirv_OpenCL_log10_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_log10_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_log10_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_log10_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_log10_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_log10_f64( double x );
double2 __builtin_spirv_OpenCL_log10_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_log10_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_log10_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_log10_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_log10_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_log10_f16( half x );
half2 __builtin_spirv_OpenCL_log10_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_log10_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_log10_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_log10_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_log10_v16f16(half16 x);

float __builtin_spirv_OpenCL_logb_f32( float x );
float2 __builtin_spirv_OpenCL_logb_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_logb_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_logb_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_logb_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_logb_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_logb_f64( double x );
double2 __builtin_spirv_OpenCL_logb_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_logb_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_logb_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_logb_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_logb_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_logb_f16( half x );
half2 __builtin_spirv_OpenCL_logb_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_logb_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_logb_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_logb_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_logb_v16f16(half16 x);

float __builtin_spirv_OpenCL_mad_f32_f32_f32( float a, float b, float c );
float2 __builtin_spirv_OpenCL_mad_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_mad_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_mad_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_mad_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_mad_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_mad_f64_f64_f64( double a, double b, double c );
double2 __builtin_spirv_OpenCL_mad_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_mad_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_mad_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_mad_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_mad_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_mad_f16_f16_f16(half x, half y, half z);
half2 __builtin_spirv_OpenCL_mad_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_mad_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_mad_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_mad_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_mad_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

float __builtin_spirv_OpenCL_maxmag_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_maxmag_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_maxmag_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_maxmag_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_maxmag_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_maxmag_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_maxmag_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_maxmag_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_maxmag_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_maxmag_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_maxmag_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_maxmag_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_maxmag_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_maxmag_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_maxmag_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_maxmag_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_maxmag_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_maxmag_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_minmag_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_minmag_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_minmag_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_minmag_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_minmag_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_minmag_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_minmag_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_minmag_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_minmag_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_minmag_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_minmag_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_minmag_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_minmag_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_minmag_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_minmag_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_minmag_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_minmag_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_minmag_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_modf_f32_p1f32( float x, __global float* iptr );
float2 __builtin_spirv_OpenCL_modf_v2f32_p1v2f32( float2 x, __global float2* iptr );
float3 __builtin_spirv_OpenCL_modf_v3f32_p1v3f32( float3 x, __global float3* iptr );
float4 __builtin_spirv_OpenCL_modf_v4f32_p1v4f32( float4 x, __global float4* iptr );
float8 __builtin_spirv_OpenCL_modf_v8f32_p1v8f32( float8 x, __global float8* iptr );
float16 __builtin_spirv_OpenCL_modf_v16f32_p1v16f32( float16 x, __global float16* iptr );
float __builtin_spirv_OpenCL_modf_f32_p0f32( float x, __private float* iptr );
float2 __builtin_spirv_OpenCL_modf_v2f32_p0v2f32( float2 x, __private float2* iptr );
float3 __builtin_spirv_OpenCL_modf_v3f32_p0v3f32( float3 x, __private float3* iptr );
float4 __builtin_spirv_OpenCL_modf_v4f32_p0v4f32( float4 x, __private float4* iptr );
float8 __builtin_spirv_OpenCL_modf_v8f32_p0v8f32( float8 x, __private float8* iptr );
float16 __builtin_spirv_OpenCL_modf_v16f32_p0v16f32( float16 x, __private float16* iptr );
float __builtin_spirv_OpenCL_modf_f32_p3f32( float x, __local float* iptr );
float2 __builtin_spirv_OpenCL_modf_v2f32_p3v2f32( float2 x, __local float2* iptr );
float3 __builtin_spirv_OpenCL_modf_v3f32_p3v3f32( float3 x, __local float3* iptr );
float4 __builtin_spirv_OpenCL_modf_v4f32_p3v4f32( float4 x, __local float4* iptr );
float8 __builtin_spirv_OpenCL_modf_v8f32_p3v8f32( float8 x, __local float8* iptr );
float16 __builtin_spirv_OpenCL_modf_v16f32_p3v16f32( float16 x, __local float16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_modf_f32_p4f32( float x, __generic float* iptr );
float2 __builtin_spirv_OpenCL_modf_v2f32_p4v2f32( float2 x, __generic float2* iptr );
float3 __builtin_spirv_OpenCL_modf_v3f32_p4v3f32( float3 x, __generic float3* iptr );
float4 __builtin_spirv_OpenCL_modf_v4f32_p4v4f32( float4 x, __generic float4* iptr );
float8 __builtin_spirv_OpenCL_modf_v8f32_p4v8f32( float8 x, __generic float8* iptr );
float16 __builtin_spirv_OpenCL_modf_v16f32_p4v16f32( float16 x, __generic float16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_modf_f16_p1f16( half x, __global half* iptr );
half2 __builtin_spirv_OpenCL_modf_v2f16_p1v2f16( half2 x, __global half2* iptr );
half3 __builtin_spirv_OpenCL_modf_v3f16_p1v3f16( half3 x, __global half3* iptr );
half4 __builtin_spirv_OpenCL_modf_v4f16_p1v4f16( half4 x, __global half4* iptr );
half8 __builtin_spirv_OpenCL_modf_v8f16_p1v8f16( half8 x, __global half8* iptr );
half16 __builtin_spirv_OpenCL_modf_v16f16_p1v16f16( half16 x, __global half16* iptr );
half __builtin_spirv_OpenCL_modf_f16_p0f16( half x, __private half* iptr );
half2 __builtin_spirv_OpenCL_modf_v2f16_p0v2f16( half2 x, __private half2* iptr );
half3 __builtin_spirv_OpenCL_modf_v3f16_p0v3f16( half3 x, __private half3* iptr );
half4 __builtin_spirv_OpenCL_modf_v4f16_p0v4f16( half4 x, __private half4* iptr );
half8 __builtin_spirv_OpenCL_modf_v8f16_p0v8f16( half8 x, __private half8* iptr );
half16 __builtin_spirv_OpenCL_modf_v16f16_p0v16f16( half16 x, __private half16* iptr );
half __builtin_spirv_OpenCL_modf_f16_p3f16( half x, __local half* iptr );
half2 __builtin_spirv_OpenCL_modf_v2f16_p3v2f16( half2 x, __local half2* iptr );
half3 __builtin_spirv_OpenCL_modf_v3f16_p3v3f16( half3 x, __local half3* iptr );
half4 __builtin_spirv_OpenCL_modf_v4f16_p3v4f16( half4 x, __local half4* iptr );
half8 __builtin_spirv_OpenCL_modf_v8f16_p3v8f16( half8 x, __local half8* iptr );
half16 __builtin_spirv_OpenCL_modf_v16f16_p3v16f16( half16 x, __local half16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_modf_f16_p4f16( half x, __generic half* iptr );
half2 __builtin_spirv_OpenCL_modf_v2f16_p4v2f16( half2 x, __generic half2* iptr );
half3 __builtin_spirv_OpenCL_modf_v3f16_p4v3f16( half3 x, __generic half3* iptr );
half4 __builtin_spirv_OpenCL_modf_v4f16_p4v4f16( half4 x, __generic half4* iptr );
half8 __builtin_spirv_OpenCL_modf_v8f16_p4v8f16( half8 x, __generic half8* iptr );
half16 __builtin_spirv_OpenCL_modf_v16f16_p4v16f16( half16 x, __generic half16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_modf_f64_p1f64( double x, __global double* iptr );
double2 __builtin_spirv_OpenCL_modf_v2f64_p1v2f64( double2 x, __global double2* iptr );
double3 __builtin_spirv_OpenCL_modf_v3f64_p1v3f64( double3 x, __global double3* iptr );
double4 __builtin_spirv_OpenCL_modf_v4f64_p1v4f64( double4 x, __global double4* iptr );
double8 __builtin_spirv_OpenCL_modf_v8f64_p1v8f64( double8 x, __global double8* iptr );
double16 __builtin_spirv_OpenCL_modf_v16f64_p1v16f64( double16  x, __global double16* iptr );
double __builtin_spirv_OpenCL_modf_f64_p0f64( double x, __private double* iptr );
double2 __builtin_spirv_OpenCL_modf_v2f64_p0v2f64( double2 x, __private double2* iptr );
double3 __builtin_spirv_OpenCL_modf_v3f64_p0v3f64( double3 x, __private double3* iptr );
double4 __builtin_spirv_OpenCL_modf_v4f64_p0v4f64( double4 x, __private double4* iptr );
double8 __builtin_spirv_OpenCL_modf_v8f64_p0v8f64( double8 x, __private double8* iptr );
double16 __builtin_spirv_OpenCL_modf_v16f64_p0v16f64( double16   x, __private double16* iptr );
double __builtin_spirv_OpenCL_modf_f64_p3f64( double x, __local double* iptr );
double2 __builtin_spirv_OpenCL_modf_v2f64_p3v2f64( double2 x, __local double2* iptr );
double3 __builtin_spirv_OpenCL_modf_v3f64_p3v3f64( double3 x, __local double3* iptr );
double4 __builtin_spirv_OpenCL_modf_v4f64_p3v4f64( double4 x, __local double4* iptr );
double8 __builtin_spirv_OpenCL_modf_v8f64_p3v8f64( double8 x, __local double8* iptr );
double16 __builtin_spirv_OpenCL_modf_v16f64_p3v16f64( double16 x, __local double16* iptr );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_modf_f64_p4f64( double x, __generic double* iptr );
double2 __builtin_spirv_OpenCL_modf_v2f64_p4v2f64( double2 x, __generic double2* iptr );
double3 __builtin_spirv_OpenCL_modf_v3f64_p4v3f64( double3 x, __generic double3* iptr );
double4 __builtin_spirv_OpenCL_modf_v4f64_p4v4f64( double4 x, __generic double4* iptr );
double8 __builtin_spirv_OpenCL_modf_v8f64_p4v8f64( double8 x, __generic double8* iptr );
double16 __builtin_spirv_OpenCL_modf_v16f64_p4v16f64( double16 x, __generic double16* iptr );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_nan_i32( uint nancode );
float2 __builtin_spirv_OpenCL_nan_v2i32(uint2 x);
float3 __builtin_spirv_OpenCL_nan_v3i32(uint3 x);
float4 __builtin_spirv_OpenCL_nan_v4i32(uint4 x);
float8 __builtin_spirv_OpenCL_nan_v8i32(uint8 x);
float16 __builtin_spirv_OpenCL_nan_v16i32(uint16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_nan_i64( ulong nancode );
double2 __builtin_spirv_OpenCL_nan_v2i64(ulong2 x);
double3 __builtin_spirv_OpenCL_nan_v3i64(ulong3 x);
double4 __builtin_spirv_OpenCL_nan_v4i64(ulong4 x);
double8 __builtin_spirv_OpenCL_nan_v8i64(ulong8 x);
double16 __builtin_spirv_OpenCL_nan_v16i64(ulong16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_nan_i16( ushort nancode );
half2 __builtin_spirv_OpenCL_nan_v2i16(ushort2 x);
half3 __builtin_spirv_OpenCL_nan_v3i16(ushort3 x);
half4 __builtin_spirv_OpenCL_nan_v4i16(ushort4 x);
half8 __builtin_spirv_OpenCL_nan_v8i16(ushort8 x);
half16 __builtin_spirv_OpenCL_nan_v16i16(ushort16 x);

float __builtin_spirv_OpenCL_nextafter_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_nextafter_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_nextafter_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_nextafter_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_nextafter_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_nextafter_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_nextafter_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_nextafter_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_nextafter_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_nextafter_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_nextafter_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_nextafter_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_nextafter_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_nextafter_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_nextafter_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_nextafter_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_nextafter_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_nextafter_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_pow_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_pow_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_pow_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_pow_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_pow_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_pow_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_pow_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_pow_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_pow_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_pow_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_pow_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_pow_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_pow_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_pow_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_pow_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_pow_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_pow_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_pow_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_pown_f32_i32( float x, int y );
float2 __builtin_spirv_OpenCL_pown_v2f32_v2i32(float2 x, int2 y);
float3 __builtin_spirv_OpenCL_pown_v3f32_v3i32(float3 x, int3 y);
float4 __builtin_spirv_OpenCL_pown_v4f32_v4i32(float4 x, int4 y);
float8 __builtin_spirv_OpenCL_pown_v8f32_v8i32(float8 x, int8 y);
float16 __builtin_spirv_OpenCL_pown_v16f32_v16i32(float16 x, int16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_pown_f64_i32( double x, int y );
double2 __builtin_spirv_OpenCL_pown_v2f64_v2i32(double2 x, int2 y);
double3 __builtin_spirv_OpenCL_pown_v3f64_v3i32(double3 x, int3 y);
double4 __builtin_spirv_OpenCL_pown_v4f64_v4i32(double4 x, int4 y);
double8 __builtin_spirv_OpenCL_pown_v8f64_v8i32(double8 x, int8 y);
double16 __builtin_spirv_OpenCL_pown_v16f64_v16i32(double16 x, int16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_pown_f16_i32( half x, int y );
half2 __builtin_spirv_OpenCL_pown_v2f16_v2i32(half2 x, int2 y);
half3 __builtin_spirv_OpenCL_pown_v3f16_v3i32(half3 x, int3 y);
half4 __builtin_spirv_OpenCL_pown_v4f16_v4i32(half4 x, int4 y);
half8 __builtin_spirv_OpenCL_pown_v8f16_v8i32(half8 x, int8 y);
half16 __builtin_spirv_OpenCL_pown_v16f16_v16i32(half16 x, int16 y);

float __builtin_spirv_OpenCL_powr_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_powr_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_powr_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_powr_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_powr_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_powr_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_powr_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_powr_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_powr_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_powr_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_powr_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_powr_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_powr_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_powr_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_powr_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_powr_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_powr_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_powr_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_remainder_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_remainder_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_remainder_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_remainder_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_remainder_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_remainder_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_remainder_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_remainder_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_remainder_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_remainder_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_remainder_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_remainder_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_remainder_f16_f16( half y, half x );
half2 __builtin_spirv_OpenCL_remainder_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_remainder_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_remainder_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_remainder_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_remainder_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_remquo_f32_f32_p1i32( float xx, float yy, __global int* quo );
float2 __builtin_spirv_OpenCL_remquo_v2f32_v2f32_p1v2i32( float2 xx, float2 yy, __global int2* quo );
float3 __builtin_spirv_OpenCL_remquo_v3f32_v3f32_p1v3i32( float3 xx, float3 yy, __global int3* quo );
float4 __builtin_spirv_OpenCL_remquo_v4f32_v4f32_p1v4i32( float4 xx, float4 yy, __global int4* quo );
float8 __builtin_spirv_OpenCL_remquo_v8f32_v8f32_p1v8i32( float8 xx, float8 yy, __global int8* quo );
float16 __builtin_spirv_OpenCL_remquo_v16f32_v16f32_p1v16i32( float16 xx, float16 yy, __global int16* quo );
float __builtin_spirv_OpenCL_remquo_f32_f32_p0i32( float xx, float yy, __private int* quo );
float2 __builtin_spirv_OpenCL_remquo_v2f32_v2f32_p0v2i32( float2 xx, float2 yy, __private int2* quo );
float3 __builtin_spirv_OpenCL_remquo_v3f32_v3f32_p0v3i32( float3 xx, float3 yy, __private int3* quo );
float4 __builtin_spirv_OpenCL_remquo_v4f32_v4f32_p0v4i32( float4 xx, float4 yy, __private int4* quo );
float8 __builtin_spirv_OpenCL_remquo_v8f32_v8f32_p0v8i32( float8 xx, float8 yy, __private int8* quo );
float16 __builtin_spirv_OpenCL_remquo_v16f32_v16f32_p0v16i32( float16 xx, float16 yy, __private int16* quo );
float __builtin_spirv_OpenCL_remquo_f32_f32_p3i32( float xx, float yy, __local int* quo );
float2 __builtin_spirv_OpenCL_remquo_v2f32_v2f32_p3v2i32( float2 xx, float2 yy, __local int2* quo );
float3 __builtin_spirv_OpenCL_remquo_v3f32_v3f32_p3v3i32( float3 xx, float3 yy, __local int3* quo );
float4 __builtin_spirv_OpenCL_remquo_v4f32_v4f32_p3v4i32( float4 xx, float4 yy, __local int4* quo );
float8 __builtin_spirv_OpenCL_remquo_v8f32_v8f32_p3v8i32( float8 xx, float8 yy, __local int8* quo );
float16 __builtin_spirv_OpenCL_remquo_v16f32_v16f32_p3v16i32( float16 xx, float16 yy, __local int16* quo );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_remquo_f32_f32_p4i32( float xx, float yy, __generic int* quo );
float2 __builtin_spirv_OpenCL_remquo_v2f32_v2f32_p4v2i32( float2 xx, float2 yy, __generic int2* quo );
float3 __builtin_spirv_OpenCL_remquo_v3f32_v3f32_p4v3i32( float3 xx, float3 yy, __generic int3* quo );
float4 __builtin_spirv_OpenCL_remquo_v4f32_v4f32_p4v4i32( float4 xx, float4 yy, __generic int4* quo );
float8 __builtin_spirv_OpenCL_remquo_v8f32_v8f32_p4v8i32( float8 xx, float8 yy, __generic int8* quo );
float16 __builtin_spirv_OpenCL_remquo_v16f32_v16f32_p4v16i32( float16 xx, float16 yy, __generic int16* quo );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_remquo_f16_f16_p1i32( half xx, half yy, __global int* quo );
half2 __builtin_spirv_OpenCL_remquo_v2f16_v2f16_p1v2i32( half2 xx, half2 yy, __global int2* quo );
half3 __builtin_spirv_OpenCL_remquo_v3f16_v3f16_p1v3i32( half3 xx, half3 yy, __global int3* quo );
half4 __builtin_spirv_OpenCL_remquo_v4f16_v4f16_p1v4i32( half4 xx, half4 yy, __global int4* quo );
half8 __builtin_spirv_OpenCL_remquo_v8f16_v8f16_p1v8i32( half8 xx, half8 yy, __global int8* quo );
half16 __builtin_spirv_OpenCL_remquo_v16f16_v16f16_p1v16i32( half16 xx, half16 yy, __global int16* quo );
half __builtin_spirv_OpenCL_remquo_f16_f16_p0i32( half xx, half yy, __private int* quo );
half2 __builtin_spirv_OpenCL_remquo_v2f16_v2f16_p0v2i32( half2 xx, half2 yy, __private int2* quo );
half3 __builtin_spirv_OpenCL_remquo_v3f16_v3f16_p0v3i32( half3 xx, half3 yy, __private int3* quo );
half4 __builtin_spirv_OpenCL_remquo_v4f16_v4f16_p0v4i32( half4 xx, half4 yy, __private int4* quo );
half8 __builtin_spirv_OpenCL_remquo_v8f16_v8f16_p0v8i32( half8 xx, half8 yy, __private int8* quo );
half16 __builtin_spirv_OpenCL_remquo_v16f16_v16f16_p0v16i32( half16 xx, half16 yy, __private int16* quo );
half __builtin_spirv_OpenCL_remquo_f16_f16_p3i32( half xx, half yy, __local int* quo );
half2 __builtin_spirv_OpenCL_remquo_v2f16_v2f16_p3v2i32( half2 xx, half2 yy, __local int2* quo );
half3 __builtin_spirv_OpenCL_remquo_v3f16_v3f16_p3v3i32( half3 xx, half3 yy, __local int3* quo );
half4 __builtin_spirv_OpenCL_remquo_v4f16_v4f16_p3v4i32( half4 xx, half4 yy, __local int4* quo );
half8 __builtin_spirv_OpenCL_remquo_v8f16_v8f16_p3v8i32( half8 xx, half8 yy, __local int8* quo );
half16 __builtin_spirv_OpenCL_remquo_v16f16_v16f16_p3v16i32( half16 xx, half16 yy, __local int16* quo );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_remquo_f16_f16_p4i32( half xx, half yy, __generic int* quo );
half2 __builtin_spirv_OpenCL_remquo_v2f16_v2f16_p4v2i32( half2 xx, half2 yy, __generic int2* quo );
half3 __builtin_spirv_OpenCL_remquo_v3f16_v3f16_p4v3i32( half3 xx, half3 yy, __generic int3* quo );
half4 __builtin_spirv_OpenCL_remquo_v4f16_v4f16_p4v4i32( half4 xx, half4 yy, __generic int4* quo );
half8 __builtin_spirv_OpenCL_remquo_v8f16_v8f16_p4v8i32( half8 xx, half8 yy, __generic int8* quo );
half16 __builtin_spirv_OpenCL_remquo_v16f16_v16f16_p4v16i32( half16 xx, half16 yy, __generic int16* quo );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_remquo_f64_f64_p1i32( double xx, double yy, __global int* quo );
double2 __builtin_spirv_OpenCL_remquo_v2f64_v2f64_p1v2i32( double2 xx, double2 yy, __global int2* quo );
double3 __builtin_spirv_OpenCL_remquo_v3f64_v3f64_p1v3i32( double3 xx, double3 yy, __global int3* quo );
double4 __builtin_spirv_OpenCL_remquo_v4f64_v4f64_p1v4i32( double4 xx, double4 yy, __global int4* quo );
double8 __builtin_spirv_OpenCL_remquo_v8f64_v8f64_p1v8i32( double8 xx, double8 yy, __global int8* quo );
double16 __builtin_spirv_OpenCL_remquo_v16f64_v16f64_p1v16i32( double16 xx, double16 yy, __global int16* quo );
double __builtin_spirv_OpenCL_remquo_f64_f64_p0i32( double xx, double yy, __private int* quo );
double2 __builtin_spirv_OpenCL_remquo_v2f64_v2f64_p0v2i32( double2 xx, double2 yy, __private int2* quo );
double3 __builtin_spirv_OpenCL_remquo_v3f64_v3f64_p0v3i32( double3 xx, double3 yy, __private int3* quo );
double4 __builtin_spirv_OpenCL_remquo_v4f64_v4f64_p0v4i32( double4 xx, double4 yy, __private int4* quo );
double8 __builtin_spirv_OpenCL_remquo_v8f64_v8f64_p0v8i32( double8 xx, double8 yy, __private int8* quo );
double16 __builtin_spirv_OpenCL_remquo_v16f64_v16f64_p0v16i32( double16 xx, double16 yy, __private int16* quo );
double __builtin_spirv_OpenCL_remquo_f64_f64_p3i32( double xx, double yy, __local int* quo );
double2 __builtin_spirv_OpenCL_remquo_v2f64_v2f64_p3v2i32( double2 xx, double2 yy, __local int2* quo );
double3 __builtin_spirv_OpenCL_remquo_v3f64_v3f64_p3v3i32( double3 xx, double3 yy, __local int3* quo );
double4 __builtin_spirv_OpenCL_remquo_v4f64_v4f64_p3v4i32( double4 xx, double4 yy, __local int4* quo );
double8 __builtin_spirv_OpenCL_remquo_v8f64_v8f64_p3v8i32( double8 xx, double8 yy, __local int8* quo );
double16 __builtin_spirv_OpenCL_remquo_v16f64_v16f64_p3v16i32( double16 xx, double16 yy, __local int16* quo );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_remquo_f64_f64_p4i32( double xx, double yy, __generic int* quo );
double2 __builtin_spirv_OpenCL_remquo_v2f64_v2f64_p4v2i32( double2 xx, double2 yy, __generic int2* quo );
double3 __builtin_spirv_OpenCL_remquo_v3f64_v3f64_p4v3i32( double3 xx, double3 yy, __generic int3* quo );
double4 __builtin_spirv_OpenCL_remquo_v4f64_v4f64_p4v4i32( double4 xx, double4 yy, __generic int4* quo );
double8 __builtin_spirv_OpenCL_remquo_v8f64_v8f64_p4v8i32( double8 xx, double8 yy, __generic int8* quo );
double16 __builtin_spirv_OpenCL_remquo_v16f64_v16f64_p4v16i32( double16 xx, double16 yy, __generic int16* quo );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_rint_f32(float x );
float2 __builtin_spirv_OpenCL_rint_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_rint_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_rint_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_rint_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_rint_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_rint_f64( double x );
double2 __builtin_spirv_OpenCL_rint_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_rint_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_rint_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_rint_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_rint_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_rint_f16(half x );
half2 __builtin_spirv_OpenCL_rint_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_rint_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_rint_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_rint_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_rint_v16f16(half16 x);

float __builtin_spirv_OpenCL_rootn_f32_i32( float x, int n );
float2 __builtin_spirv_OpenCL_rootn_v2f32_v2i32(float2 x, int2 y);
float3 __builtin_spirv_OpenCL_rootn_v3f32_v3i32(float3 x, int3 y);
float4 __builtin_spirv_OpenCL_rootn_v4f32_v4i32(float4 x, int4 y);
float8 __builtin_spirv_OpenCL_rootn_v8f32_v8i32(float8 x, int8 y);
float16 __builtin_spirv_OpenCL_rootn_v16f32_v16i32(float16 x, int16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_rootn_f64_i32( double y, int x );
double2 __builtin_spirv_OpenCL_rootn_v2f64_v2i32(double2 x, int2 y);
double3 __builtin_spirv_OpenCL_rootn_v3f64_v3i32(double3 x, int3 y);
double4 __builtin_spirv_OpenCL_rootn_v4f64_v4i32(double4 x, int4 y);
double8 __builtin_spirv_OpenCL_rootn_v8f64_v8i32(double8 x, int8 y);
double16 __builtin_spirv_OpenCL_rootn_v16f64_v16i32(double16 x, int16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_rootn_f16_i32( half y, int x );
half2 __builtin_spirv_OpenCL_rootn_v2f16_v2i32(half2 x, int2 y);
half3 __builtin_spirv_OpenCL_rootn_v3f16_v3i32(half3 x, int3 y);
half4 __builtin_spirv_OpenCL_rootn_v4f16_v4i32(half4 x, int4 y);
half8 __builtin_spirv_OpenCL_rootn_v8f16_v8i32(half8 x, int8 y);
half16 __builtin_spirv_OpenCL_rootn_v16f16_v16i32(half16 x, int16 y);

float __builtin_spirv_OpenCL_round_f32( float x );
float2 __builtin_spirv_OpenCL_round_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_round_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_round_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_round_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_round_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_round_f64( double x );
double2 __builtin_spirv_OpenCL_round_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_round_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_round_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_round_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_round_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_round_f16( half x );
half2 __builtin_spirv_OpenCL_round_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_round_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_round_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_round_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_round_v16f16(half16 x);

float __builtin_spirv_OpenCL_rsqrt_f32( float x );
float2 __builtin_spirv_OpenCL_rsqrt_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_rsqrt_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_rsqrt_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_rsqrt_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_rsqrt_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_rsqrt_f64( double x );
double2 __builtin_spirv_OpenCL_rsqrt_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_rsqrt_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_rsqrt_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_rsqrt_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_rsqrt_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_rsqrt_f16( half x );
half2 __builtin_spirv_OpenCL_rsqrt_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_rsqrt_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_rsqrt_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_rsqrt_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_rsqrt_v16f16(half16 x);

float __builtin_spirv_OpenCL_sin_f32( float x );
float2 __builtin_spirv_OpenCL_sin_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sin_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sin_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sin_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sin_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sin_f64( double x );
double2 __builtin_spirv_OpenCL_sin_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sin_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sin_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sin_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sin_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_sin_f16( half x );
half2 __builtin_spirv_OpenCL_sin_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sin_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sin_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sin_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sin_v16f16(half16 x);

float __builtin_spirv_OpenCL_sincos_f32_p0f32( float x, __private float* cosval );
float __builtin_spirv_OpenCL_sincos_f32_p1f32( float x, __global float* cosval );
float __builtin_spirv_OpenCL_sincos_f32_p3f32( float x, __local float* cosval );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
float __builtin_spirv_OpenCL_sincos_f32_p4f32( float x, __generic float* cosval );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
half __builtin_spirv_OpenCL_sincos_f16_p0f16( half x, __private half* cosval );
half __builtin_spirv_OpenCL_sincos_f16_p1f16( half x, __global half* cosval );
half __builtin_spirv_OpenCL_sincos_f16_p3f16( half x, __local half* cosval );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
half __builtin_spirv_OpenCL_sincos_f16_p4f16( half x, __generic half* cosval );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sincos_f64_p0f64( double x, __private double* cosval );
double __builtin_spirv_OpenCL_sincos_f64_p3f64( double x, __local double* cosval );
double __builtin_spirv_OpenCL_sincos_f64_p1f64( double x, __global double* cosval );
#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
double __builtin_spirv_OpenCL_sincos_f64_p4f64( double x, __generic double* cosval );
#endif // __OPENCL_C_VERSION__ >= CL_VERSION_2_0
#endif // defined(cl_khr_fp64)

float __builtin_spirv_OpenCL_sinh_f32( float x );
float2 __builtin_spirv_OpenCL_sinh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sinh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sinh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sinh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sinh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sinh_f64( double x );
double2 __builtin_spirv_OpenCL_sinh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sinh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sinh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sinh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sinh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_sinh_f16( half x );
half2 __builtin_spirv_OpenCL_sinh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sinh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sinh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sinh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sinh_v16f16(half16 x);

float __builtin_spirv_OpenCL_sinpi_f32( float x );
float2 __builtin_spirv_OpenCL_sinpi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sinpi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sinpi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sinpi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sinpi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sinpi_f64( double x );
double2 __builtin_spirv_OpenCL_sinpi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sinpi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sinpi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sinpi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sinpi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_sinpi_f16( half x );
half2 __builtin_spirv_OpenCL_sinpi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sinpi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sinpi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sinpi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sinpi_v16f16(half16 x);

float __builtin_spirv_OpenCL_sqrt_f32( float x );
float2 __builtin_spirv_OpenCL_sqrt_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sqrt_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sqrt_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sqrt_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sqrt_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_sqrt_f64( double x );
double2 __builtin_spirv_OpenCL_sqrt_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sqrt_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sqrt_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sqrt_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sqrt_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_sqrt_f16( half x );
half2 __builtin_spirv_OpenCL_sqrt_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sqrt_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sqrt_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sqrt_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sqrt_v16f16(half16 x);

float __builtin_spirv_OpenCL_sqrt_cr_f32( float a );
float2 __builtin_spirv_OpenCL_sqrt_cr_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_sqrt_cr_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_sqrt_cr_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_sqrt_cr_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_sqrt_cr_v16f32(float16 x);
#ifdef cl_fp64_basic_ops
double __builtin_spirv_OpenCL_sqrt_cr_f64( double x );
double2 __builtin_spirv_OpenCL_sqrt_cr_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_sqrt_cr_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_sqrt_cr_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_sqrt_cr_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_sqrt_cr_v16f64(double16 x);
#endif // cl_fp64_basic_ops
half __builtin_spirv_OpenCL_sqrt_cr_f16( half a );
half2 __builtin_spirv_OpenCL_sqrt_cr_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_sqrt_cr_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_sqrt_cr_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_sqrt_cr_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_sqrt_cr_v16f16(half16 x);

float __builtin_spirv_OpenCL_tan_f32( float x );
float2 __builtin_spirv_OpenCL_tan_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_tan_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_tan_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_tan_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_tan_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_tan_f64( double x );
double2 __builtin_spirv_OpenCL_tan_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_tan_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_tan_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_tan_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_tan_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_tan_f16( half x );
half2 __builtin_spirv_OpenCL_tan_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_tan_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_tan_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_tan_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_tan_v16f16(half16 x);

float __builtin_spirv_OpenCL_tanh_f32( float x );
float2 __builtin_spirv_OpenCL_tanh_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_tanh_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_tanh_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_tanh_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_tanh_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_tanh_f64( double x );
double2 __builtin_spirv_OpenCL_tanh_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_tanh_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_tanh_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_tanh_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_tanh_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_tanh_f16( half x );
half2 __builtin_spirv_OpenCL_tanh_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_tanh_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_tanh_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_tanh_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_tanh_v16f16(half16 x);

float __builtin_spirv_OpenCL_tanpi_f32( float x );
float2 __builtin_spirv_OpenCL_tanpi_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_tanpi_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_tanpi_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_tanpi_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_tanpi_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_tanpi_f64( double x );
double2 __builtin_spirv_OpenCL_tanpi_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_tanpi_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_tanpi_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_tanpi_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_tanpi_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_tanpi_f16( half x );
half2 __builtin_spirv_OpenCL_tanpi_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_tanpi_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_tanpi_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_tanpi_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_tanpi_v16f16(half16 x);

float __builtin_spirv_OpenCL_tgamma_f32( float x );
float2 __builtin_spirv_OpenCL_tgamma_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_tgamma_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_tgamma_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_tgamma_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_tgamma_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_tgamma_f64( double x );
double2 __builtin_spirv_OpenCL_tgamma_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_tgamma_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_tgamma_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_tgamma_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_tgamma_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_tgamma_f16( half x );
half2 __builtin_spirv_OpenCL_tgamma_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_tgamma_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_tgamma_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_tgamma_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_tgamma_v16f16(half16 x);

float __builtin_spirv_OpenCL_trunc_f32(float x );
float2 __builtin_spirv_OpenCL_trunc_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_trunc_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_trunc_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_trunc_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_trunc_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_trunc_f64(double x );
double2 __builtin_spirv_OpenCL_trunc_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_trunc_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_trunc_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_trunc_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_trunc_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_trunc_f16(half x );
half2 __builtin_spirv_OpenCL_trunc_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_trunc_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_trunc_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_trunc_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_trunc_v16f16(half16 x);

//
//  Native
//		-native_cos,native_divide,native_exp,native_exp2,native_exp10,native_log,native_log2,
//		 native_log10,native_powr,native_recip,native_rsqrt,native_sin,native_sqrt,native_tan
//

float __builtin_spirv_OpenCL_native_cos_f32(float x );
float2 __builtin_spirv_OpenCL_native_cos_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_cos_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_cos_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_cos_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_cos_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_cos_f64( double x );
double2 __builtin_spirv_OpenCL_native_cos_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_cos_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_cos_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_cos_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_cos_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_cos_f16(half x );
half2 __builtin_spirv_OpenCL_native_cos_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_cos_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_cos_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_cos_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_cos_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_divide_f32_f32( float x, float y );
float2 __builtin_spirv_OpenCL_native_divide_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_native_divide_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_native_divide_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_native_divide_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_native_divide_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_divide_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_native_divide_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_native_divide_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_native_divide_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_native_divide_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_native_divide_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_divide_f16_f16( half x, half y );
half2 __builtin_spirv_OpenCL_native_divide_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_native_divide_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_native_divide_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_native_divide_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_native_divide_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_native_exp_f32( float x );
float2 __builtin_spirv_OpenCL_native_exp_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_exp_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_exp_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_exp_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_exp_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_exp_f64( double x );
double2 __builtin_spirv_OpenCL_native_exp_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_exp_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_exp_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_exp_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_exp_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_exp_f16( half x );
half2 __builtin_spirv_OpenCL_native_exp_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_exp_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_exp_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_exp_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_exp_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_exp2_f32(float x );
float2 __builtin_spirv_OpenCL_native_exp2_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_exp2_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_exp2_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_exp2_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_exp2_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_exp2_f64( double x );
double2 __builtin_spirv_OpenCL_native_exp2_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_exp2_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_exp2_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_exp2_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_exp2_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_exp2_f16(half x );
half2 __builtin_spirv_OpenCL_native_exp2_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_exp2_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_exp2_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_exp2_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_exp2_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_exp10_f32( float x );
float2 __builtin_spirv_OpenCL_native_exp10_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_exp10_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_exp10_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_exp10_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_exp10_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_exp10_f64( double x );
double2 __builtin_spirv_OpenCL_native_exp10_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_exp10_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_exp10_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_exp10_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_exp10_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_exp10_f16( half x );
half2 __builtin_spirv_OpenCL_native_exp10_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_exp10_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_exp10_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_exp10_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_exp10_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_log_f32( float x );
float2 __builtin_spirv_OpenCL_native_log_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_log_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_log_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_log_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_log_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_log_f64( double x );
double2 __builtin_spirv_OpenCL_native_log_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_log_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_log_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_log_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_log_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_log_f16( half x );
half2 __builtin_spirv_OpenCL_native_log_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_log_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_log_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_log_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_log_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_log2_f32(float x );
float2 __builtin_spirv_OpenCL_native_log2_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_log2_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_log2_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_log2_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_log2_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_log2_f64( double x );
double2 __builtin_spirv_OpenCL_native_log2_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_log2_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_log2_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_log2_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_log2_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_log2_f16(half x );
half2 __builtin_spirv_OpenCL_native_log2_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_log2_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_log2_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_log2_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_log2_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_log10_f32( float x );
float2 __builtin_spirv_OpenCL_native_log10_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_log10_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_log10_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_log10_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_log10_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_log10_f64( double x );
double2 __builtin_spirv_OpenCL_native_log10_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_log10_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_log10_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_log10_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_log10_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_log10_f16( half x );
half2 __builtin_spirv_OpenCL_native_log10_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_log10_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_log10_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_log10_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_log10_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_powr_f32_f32(float x, float y);
float2 __builtin_spirv_OpenCL_native_powr_v2f32_v2f32(float2 x, float2 y);
float3 __builtin_spirv_OpenCL_native_powr_v3f32_v3f32(float3 x, float3 y);
float4 __builtin_spirv_OpenCL_native_powr_v4f32_v4f32(float4 x, float4 y);
float8 __builtin_spirv_OpenCL_native_powr_v8f32_v8f32(float8 x, float8 y);
float16 __builtin_spirv_OpenCL_native_powr_v16f32_v16f32(float16 x, float16 y);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_powr_f64_f64( double x, double y );
double2 __builtin_spirv_OpenCL_native_powr_v2f64_v2f64(double2 x, double2 y);
double3 __builtin_spirv_OpenCL_native_powr_v3f64_v3f64(double3 x, double3 y);
double4 __builtin_spirv_OpenCL_native_powr_v4f64_v4f64(double4 x, double4 y);
double8 __builtin_spirv_OpenCL_native_powr_v8f64_v8f64(double8 x, double8 y);
double16 __builtin_spirv_OpenCL_native_powr_v16f64_v16f64(double16 x, double16 y);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_powr_f16_f16(half x, half y);
half2 __builtin_spirv_OpenCL_native_powr_v2f16_v2f16(half2 x, half2 y);
half3 __builtin_spirv_OpenCL_native_powr_v3f16_v3f16(half3 x, half3 y);
half4 __builtin_spirv_OpenCL_native_powr_v4f16_v4f16(half4 x, half4 y);
half8 __builtin_spirv_OpenCL_native_powr_v8f16_v8f16(half8 x, half8 y);
half16 __builtin_spirv_OpenCL_native_powr_v16f16_v16f16(half16 x, half16 y);

float __builtin_spirv_OpenCL_native_recip_f32(float x );
float2 __builtin_spirv_OpenCL_native_recip_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_recip_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_recip_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_recip_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_recip_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_recip_f64( double x );
double2 __builtin_spirv_OpenCL_native_recip_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_recip_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_recip_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_recip_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_recip_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_recip_f16(half x );
half2 __builtin_spirv_OpenCL_native_recip_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_recip_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_recip_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_recip_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_recip_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_rsqrt_f32(float x );
float2 __builtin_spirv_OpenCL_native_rsqrt_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_rsqrt_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_rsqrt_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_rsqrt_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_rsqrt_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_rsqrt_f64(double x );
double2 __builtin_spirv_OpenCL_native_rsqrt_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_rsqrt_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_rsqrt_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_rsqrt_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_rsqrt_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_rsqrt_f16(half x );
half2 __builtin_spirv_OpenCL_native_rsqrt_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_rsqrt_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_rsqrt_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_rsqrt_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_rsqrt_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_sin_f32(float x );
float2 __builtin_spirv_OpenCL_native_sin_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_sin_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_sin_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_sin_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_sin_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_sin_f64( double x );
double2 __builtin_spirv_OpenCL_native_sin_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_sin_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_sin_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_sin_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_sin_v16f64(double16 x);
#endif // cl_khr_fp64
half __builtin_spirv_OpenCL_native_sin_f16(half x );
half2 __builtin_spirv_OpenCL_native_sin_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_sin_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_sin_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_sin_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_sin_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_sqrt_f32(float x );
float2 __builtin_spirv_OpenCL_native_sqrt_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_sqrt_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_sqrt_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_sqrt_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_sqrt_v16f32(float16 x);
#ifdef cl_fp64_basic_ops
double __builtin_spirv_OpenCL_native_sqrt_f64(double x );
double2 __builtin_spirv_OpenCL_native_sqrt_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_sqrt_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_sqrt_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_sqrt_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_sqrt_v16f64(double16 x);
#endif // cl_fp64_basic_ops
half __builtin_spirv_OpenCL_native_sqrt_f16(half x );
half2 __builtin_spirv_OpenCL_native_sqrt_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_sqrt_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_sqrt_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_sqrt_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_sqrt_v16f16(half16 x);

float __builtin_spirv_OpenCL_native_tan_f32(float x );
float2 __builtin_spirv_OpenCL_native_tan_v2f32(float2 x);
float3 __builtin_spirv_OpenCL_native_tan_v3f32(float3 x);
float4 __builtin_spirv_OpenCL_native_tan_v4f32(float4 x);
float8 __builtin_spirv_OpenCL_native_tan_v8f32(float8 x);
float16 __builtin_spirv_OpenCL_native_tan_v16f32(float16 x);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_native_tan_f64( double x );
double2 __builtin_spirv_OpenCL_native_tan_v2f64(double2 x);
double3 __builtin_spirv_OpenCL_native_tan_v3f64(double3 x);
double4 __builtin_spirv_OpenCL_native_tan_v4f64(double4 x);
double8 __builtin_spirv_OpenCL_native_tan_v8f64(double8 x);
double16 __builtin_spirv_OpenCL_native_tan_v16f64(double16 x);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_native_tan_f16(half x );
half2 __builtin_spirv_OpenCL_native_tan_v2f16(half2 x);
half3 __builtin_spirv_OpenCL_native_tan_v3f16(half3 x);
half4 __builtin_spirv_OpenCL_native_tan_v4f16(half4 x);
half8 __builtin_spirv_OpenCL_native_tan_v8f16(half8 x);
half16 __builtin_spirv_OpenCL_native_tan_v16f16(half16 x);

//
//  Relational
//		-bitselect,select
//

uchar __builtin_spirv_OpenCL_bitselect_i8_i8_i8( uchar a, uchar b, uchar c );
uchar2 __builtin_spirv_OpenCL_bitselect_v2i8_v2i8_v2i8(uchar2 x, uchar2 y, uchar2 z);
uchar3 __builtin_spirv_OpenCL_bitselect_v3i8_v3i8_v3i8(uchar3 x, uchar3 y, uchar3 z);
uchar4 __builtin_spirv_OpenCL_bitselect_v4i8_v4i8_v4i8(uchar4 x, uchar4 y, uchar4 z);
uchar8 __builtin_spirv_OpenCL_bitselect_v8i8_v8i8_v8i8(uchar8 x, uchar8 y, uchar8 z);
uchar16 __builtin_spirv_OpenCL_bitselect_v16i8_v16i8_v16i8(uchar16 x, uchar16 y, uchar16 z);
ushort __builtin_spirv_OpenCL_bitselect_i16_i16_i16( ushort a, ushort b, ushort c );
ushort2 __builtin_spirv_OpenCL_bitselect_v2i16_v2i16_v2i16(ushort2 x, ushort2 y, ushort2 z);
ushort3 __builtin_spirv_OpenCL_bitselect_v3i16_v3i16_v3i16(ushort3 x, ushort3 y, ushort3 z);
ushort4 __builtin_spirv_OpenCL_bitselect_v4i16_v4i16_v4i16(ushort4 x, ushort4 y, ushort4 z);
ushort8 __builtin_spirv_OpenCL_bitselect_v8i16_v8i16_v8i16(ushort8 x, ushort8 y, ushort8 z);
ushort16 __builtin_spirv_OpenCL_bitselect_v16i16_v16i16_v16i16(ushort16 x, ushort16 y, ushort16 z);
uint __builtin_spirv_OpenCL_bitselect_i32_i32_i32( uint a, uint b, uint c );
uint2 __builtin_spirv_OpenCL_bitselect_v2i32_v2i32_v2i32(uint2 x, uint2 y, uint2 z);
uint3 __builtin_spirv_OpenCL_bitselect_v3i32_v3i32_v3i32(uint3 x, uint3 y, uint3 z);
uint4 __builtin_spirv_OpenCL_bitselect_v4i32_v4i32_v4i32(uint4 x, uint4 y, uint4 z);
uint8 __builtin_spirv_OpenCL_bitselect_v8i32_v8i32_v8i32(uint8 x, uint8 y, uint8 z);
uint16 __builtin_spirv_OpenCL_bitselect_v16i32_v16i32_v16i32(uint16 x, uint16 y, uint16 z);
ulong __builtin_spirv_OpenCL_bitselect_i64_i64_i64( ulong a, ulong b, ulong c );
ulong2 __builtin_spirv_OpenCL_bitselect_v2i64_v2i64_v2i64(ulong2 x, ulong2 y, ulong2 z);
ulong3 __builtin_spirv_OpenCL_bitselect_v3i64_v3i64_v3i64(ulong3 x, ulong3 y, ulong3 z);
ulong4 __builtin_spirv_OpenCL_bitselect_v4i64_v4i64_v4i64(ulong4 x, ulong4 y, ulong4 z);
ulong8 __builtin_spirv_OpenCL_bitselect_v8i64_v8i64_v8i64(ulong8 x, ulong8 y, ulong8 z);
ulong16 __builtin_spirv_OpenCL_bitselect_v16i64_v16i64_v16i64(ulong16 x, ulong16 y, ulong16 z);
float __builtin_spirv_OpenCL_bitselect_f32_f32_f32( float a, float b, float c );
float2 __builtin_spirv_OpenCL_bitselect_v2f32_v2f32_v2f32(float2 x, float2 y, float2 z);
float3 __builtin_spirv_OpenCL_bitselect_v3f32_v3f32_v3f32(float3 x, float3 y, float3 z);
float4 __builtin_spirv_OpenCL_bitselect_v4f32_v4f32_v4f32(float4 x, float4 y, float4 z);
float8 __builtin_spirv_OpenCL_bitselect_v8f32_v8f32_v8f32(float8 x, float8 y, float8 z);
float16 __builtin_spirv_OpenCL_bitselect_v16f32_v16f32_v16f32(float16 x, float16 y, float16 z);
#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_bitselect_f64_f64_f64( double a, double b, double c );
double2 __builtin_spirv_OpenCL_bitselect_v2f64_v2f64_v2f64(double2 x, double2 y, double2 z);
double3 __builtin_spirv_OpenCL_bitselect_v3f64_v3f64_v3f64(double3 x, double3 y, double3 z);
double4 __builtin_spirv_OpenCL_bitselect_v4f64_v4f64_v4f64(double4 x, double4 y, double4 z);
double8 __builtin_spirv_OpenCL_bitselect_v8f64_v8f64_v8f64(double8 x, double8 y, double8 z);
double16 __builtin_spirv_OpenCL_bitselect_v16f64_v16f64_v16f64(double16 x, double16 y, double16 z);
#endif // defined(cl_khr_fp64)
half __builtin_spirv_OpenCL_bitselect_f16_f16_f16( half a, half b, half c );
half2 __builtin_spirv_OpenCL_bitselect_v2f16_v2f16_v2f16(half2 x, half2 y, half2 z);
half3 __builtin_spirv_OpenCL_bitselect_v3f16_v3f16_v3f16(half3 x, half3 y, half3 z);
half4 __builtin_spirv_OpenCL_bitselect_v4f16_v4f16_v4f16(half4 x, half4 y, half4 z);
half8 __builtin_spirv_OpenCL_bitselect_v8f16_v8f16_v8f16(half8 x, half8 y, half8 z);
half16 __builtin_spirv_OpenCL_bitselect_v16f16_v16f16_v16f16(half16 x, half16 y, half16 z);

uchar __builtin_spirv_OpenCL_select_i8_i8_i8( uchar a, uchar b, uchar c );
ushort __builtin_spirv_OpenCL_select_i16_i16_i16( ushort a, ushort b, ushort c );
uint __builtin_spirv_OpenCL_select_i32_i32_i32( uint a, uint b, uint c );
ulong __builtin_spirv_OpenCL_select_i64_i64_i64( ulong a, ulong b, ulong c );

float __builtin_spirv_OpenCL_select_f32_f32_i32( float a, float b, uint c );
float2 __builtin_spirv_OpenCL_select_v2f32_v2f32_v2i32(float2 a, float2 b, uint2 c);
float3 __builtin_spirv_OpenCL_select_v3f32_v3f32_v3i32(float3 a, float3 b, uint3 c);
float4 __builtin_spirv_OpenCL_select_v4f32_v4f32_v4i32(float4 a, float4 b, uint4 c);
float8 __builtin_spirv_OpenCL_select_v8f32_v8f32_v8i32(float8 a, float8 b, uint8 c);
float16 __builtin_spirv_OpenCL_select_v16f32_v16f32_v16i32(float16 a, float16 b, uint16 c);

#if defined(cl_khr_fp64)
double __builtin_spirv_OpenCL_select_f64_f64_i64( double a, double b, ulong c );
double2 __builtin_spirv_OpenCL_select_v2f64_v2f64_v2i64(double2 a, double2 b, ulong2 c);
double3 __builtin_spirv_OpenCL_select_v3f64_v3f64_v3i64(double3 a, double3 b, ulong3 c);
double4 __builtin_spirv_OpenCL_select_v4f64_v4f64_v4i64(double4 a, double4 b, ulong4 c);
double8 __builtin_spirv_OpenCL_select_v8f64_v8f64_v8i64(double8 a, double8 b, ulong8 c);
double16 __builtin_spirv_OpenCL_select_v16f64_v16f64_v16i64(double16 a, double16 b, ulong16 c);

#endif // defined(cl_khr_fp64)

#if defined(cl_khr_fp16)
half __builtin_spirv_OpenCL_select_f16_f16_i16( half a, half b, ushort c );
half2 __builtin_spirv_OpenCL_select_v2f16_v2f16_v2i16(half2 a, half2 b, ushort2 c);
half3 __builtin_spirv_OpenCL_select_v3f16_v3f16_v3i16(half3 a, half3 b, ushort3 c);
half4 __builtin_spirv_OpenCL_select_v4f16_v4f16_v4i16(half4 a, half4 b, ushort4 c);
half8 __builtin_spirv_OpenCL_select_v8f16_v8f16_v8i16(half8 a, half8 b, ushort8 c);
half16 __builtin_spirv_OpenCL_select_v16f16_v16f16_v16i16(half16 a, half16 b, ushort16 c);

#endif // defined(cl_khr_fp16)


/******************************************* End of Math*******************************************************/





uchar2 __builtin_spirv_OpenCL_shuffle_v2i8_v2i8(uchar2 v, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle_v4i8_v2i8(uchar4 v, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle_v8i8_v2i8(uchar8 v, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle_v16i8_v2i8(uchar16 v, uchar2 m);
uchar4 __builtin_spirv_OpenCL_shuffle_v2i8_v4i8(uchar2 v, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle_v4i8_v4i8(uchar4 v, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle_v8i8_v4i8(uchar8 v, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle_v16i8_v4i8(uchar16 v, uchar4 m);
uchar8 __builtin_spirv_OpenCL_shuffle_v2i8_v8i8(uchar2 v, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle_v4i8_v8i8(uchar4 v, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle_v8i8_v8i8(uchar8 v, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle_v16i8_v8i8(uchar16 v, uchar8 m);
uchar16 __builtin_spirv_OpenCL_shuffle_v2i8_v16i8(uchar2 v, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle_v4i8_v16i8(uchar4 v, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle_v8i8_v16i8(uchar8 v, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle_v16i8_v16i8(uchar16 v, uchar16 m);
ushort2 __builtin_spirv_OpenCL_shuffle_v2i16_v2i16(ushort2 v, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle_v4i16_v2i16(ushort4 v, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle_v8i16_v2i16(ushort8 v, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle_v16i16_v2i16(ushort16 v, ushort2 m);
ushort4 __builtin_spirv_OpenCL_shuffle_v2i16_v4i16(ushort2 v, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle_v4i16_v4i16(ushort4 v, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle_v8i16_v4i16(ushort8 v, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle_v16i16_v4i16(ushort16 v, ushort4 m);
ushort8 __builtin_spirv_OpenCL_shuffle_v2i16_v8i16(ushort2 v, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle_v4i16_v8i16(ushort4 v, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle_v8i16_v8i16(ushort8 v, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle_v16i16_v8i16(ushort16 v, ushort8 m);
ushort16 __builtin_spirv_OpenCL_shuffle_v2i16_v16i16(ushort2 v, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle_v4i16_v16i16(ushort4 v, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle_v8i16_v16i16(ushort8 v, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle_v16i16_v16i16(ushort16 v, ushort16 m);
uint2 __builtin_spirv_OpenCL_shuffle_v2i32_v2i32(uint2 v, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle_v4i32_v2i32(uint4 v, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle_v8i32_v2i32(uint8 v, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle_v16i32_v2i32(uint16 v, uint2 m);
uint4 __builtin_spirv_OpenCL_shuffle_v2i32_v4i32(uint2 v, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle_v4i32_v4i32(uint4 v, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle_v8i32_v4i32(uint8 v, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle_v16i32_v4i32(uint16 v, uint4 m);
uint8 __builtin_spirv_OpenCL_shuffle_v2i32_v8i32(uint2 v, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle_v4i32_v8i32(uint4 v, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle_v8i32_v8i32(uint8 v, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle_v16i32_v8i32(uint16 v, uint8 m);
uint16 __builtin_spirv_OpenCL_shuffle_v2i32_v16i32(uint2 v, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle_v4i32_v16i32(uint4 v, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle_v8i32_v16i32(uint8 v, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle_v16i32_v16i32(uint16 v, uint16 m);
ulong2 __builtin_spirv_OpenCL_shuffle_v2i64_v2i64(ulong2 v, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle_v4i64_v2i64(ulong4 v, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle_v8i64_v2i64(ulong8 v, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle_v16i64_v2i64(ulong16 v, ulong2 m);
ulong4 __builtin_spirv_OpenCL_shuffle_v2i64_v4i64(ulong2 v, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle_v4i64_v4i64(ulong4 v, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle_v8i64_v4i64(ulong8 v, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle_v16i64_v4i64(ulong16 v, ulong4 m);
ulong8 __builtin_spirv_OpenCL_shuffle_v2i64_v8i64(ulong2 v, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle_v4i64_v8i64(ulong4 v, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle_v8i64_v8i64(ulong8 v, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle_v16i64_v8i64(ulong16 v, ulong8 m);
ulong16 __builtin_spirv_OpenCL_shuffle_v2i64_v16i64(ulong2 v, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle_v4i64_v16i64(ulong4 v, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle_v8i64_v16i64(ulong8 v, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle_v16i64_v16i64(ulong16 v, ulong16 m);
float2 __builtin_spirv_OpenCL_shuffle_v2f32_v2i32(float2 v, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle_v4f32_v2i32(float4 v, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle_v8f32_v2i32(float8 v, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle_v16f32_v2i32(float16 v, uint2 m);
float4 __builtin_spirv_OpenCL_shuffle_v2f32_v4i32(float2 v, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle_v4f32_v4i32(float4 v, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle_v8f32_v4i32(float8 v, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle_v16f32_v4i32(float16 v, uint4 m);
float8 __builtin_spirv_OpenCL_shuffle_v2f32_v8i32(float2 v, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle_v4f32_v8i32(float4 v, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle_v8f32_v8i32(float8 v, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle_v16f32_v8i32(float16 v, uint8 m);
float16 __builtin_spirv_OpenCL_shuffle_v2f32_v16i32(float2 v, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle_v4f32_v16i32(float4 v, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle_v8f32_v16i32(float8 v, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle_v16f32_v16i32(float16 v, uint16 m);

uchar2 __builtin_spirv_OpenCL_shuffle2_v2i8_v2i8_v2i8(uchar2 v0, uchar2 v1, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle2_v4i8_v4i8_v2i8(uchar4 v0, uchar4 v1, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle2_v8i8_v8i8_v2i8(uchar8 v0, uchar8 v1, uchar2 m);
uchar2 __builtin_spirv_OpenCL_shuffle2_v16i8_v16i8_v2i8(uchar16 v0, uchar16 v1, uchar2 m);
uchar4 __builtin_spirv_OpenCL_shuffle2_v2i8_v2i8_v4i8(uchar2 v0, uchar2 v1, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle2_v4i8_v4i8_v4i8(uchar4 v0, uchar4 v1, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle2_v8i8_v8i8_v4i8(uchar8 v0, uchar8 v1, uchar4 m);
uchar4 __builtin_spirv_OpenCL_shuffle2_v16i8_v16i8_v4i8(uchar16 v0, uchar16 v1, uchar4 m);
uchar8 __builtin_spirv_OpenCL_shuffle2_v2i8_v2i8_v8i8(uchar2 v0, uchar2 v1, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle2_v4i8_v4i8_v8i8(uchar4 v0, uchar4 v1, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle2_v8i8_v8i8_v8i8(uchar8 v0, uchar8 v1, uchar8 m);
uchar8 __builtin_spirv_OpenCL_shuffle2_v16i8_v16i8_v8i8(uchar16 v0, uchar16 v1, uchar8 m);
uchar16 __builtin_spirv_OpenCL_shuffle2_v2i8_v2i8_v16i8(uchar2 v0, uchar2 v1, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle2_v4i8_v4i8_v16i8(uchar4 v0, uchar4 v1, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle2_v8i8_v8i8_v16i8(uchar8 v0, uchar8 v1, uchar16 m);
uchar16 __builtin_spirv_OpenCL_shuffle2_v16i8_v16i8_v16i8(uchar16 v0, uchar16 v1, uchar16 m);
ushort2 __builtin_spirv_OpenCL_shuffle2_v2i16_v2i16_v2i16(ushort2 v0, ushort2 v1, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle2_v4i16_v4i16_v2i16(ushort4 v0, ushort4 v1, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle2_v8i16_v8i16_v2i16(ushort8 v0, ushort8 v1, ushort2 m);
ushort2 __builtin_spirv_OpenCL_shuffle2_v16i16_v16i16_v2i16(ushort16 v0, ushort16 v1, ushort2 m);
ushort4 __builtin_spirv_OpenCL_shuffle2_v2i16_v2i16_v4i16(ushort2 v0, ushort2 v1, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle2_v4i16_v4i16_v4i16(ushort4 v0, ushort4 v1, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle2_v8i16_v8i16_v4i16(ushort8 v0, ushort8 v1, ushort4 m);
ushort4 __builtin_spirv_OpenCL_shuffle2_v16i16_v16i16_v4i16(ushort16 v0, ushort16 v1, ushort4 m);
ushort8 __builtin_spirv_OpenCL_shuffle2_v2i16_v2i16_v8i16(ushort2 v0, ushort2 v1, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle2_v4i16_v4i16_v8i16(ushort4 v0, ushort4 v1, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle2_v8i16_v8i16_v8i16(ushort8 v0, ushort8 v1, ushort8 m);
ushort8 __builtin_spirv_OpenCL_shuffle2_v16i16_v16i16_v8i16(ushort16 v0, ushort16 v1, ushort8 m);
ushort16 __builtin_spirv_OpenCL_shuffle2_v2i16_v2i16_v16i16(ushort2 v0, ushort2 v1, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle2_v4i16_v4i16_v16i16(ushort4 v0, ushort4 v1, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle2_v8i16_v8i16_v16i16(ushort8 v0, ushort8 v1, ushort16 m);
ushort16 __builtin_spirv_OpenCL_shuffle2_v16i16_v16i16_v16i16(ushort16 v0, ushort16 v1, ushort16 m);
uint2 __builtin_spirv_OpenCL_shuffle2_v2i32_v2i32_v2i32(uint2 v0, uint2 v1, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle2_v4i32_v4i32_v2i32(uint4 v0, uint4 v1, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle2_v8i32_v8i32_v2i32(uint8 v0, uint8 v1, uint2 m);
uint2 __builtin_spirv_OpenCL_shuffle2_v16i32_v16i32_v2i32(uint16 v0, uint16 v1, uint2 m);
uint4 __builtin_spirv_OpenCL_shuffle2_v2i32_v2i32_v4i32(uint2 v0, uint2 v1, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle2_v4i32_v4i32_v4i32(uint4 v0, uint4 v1, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle2_v8i32_v8i32_v4i32(uint8 v0, uint8 v1, uint4 m);
uint4 __builtin_spirv_OpenCL_shuffle2_v16i32_v16i32_v4i32(uint16 v0, uint16 v1, uint4 m);
uint8 __builtin_spirv_OpenCL_shuffle2_v2i32_v2i32_v8i32(uint2 v0, uint2 v1, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle2_v4i32_v4i32_v8i32(uint4 v0, uint4 v1, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle2_v8i32_v8i32_v8i32(uint8 v0, uint8 v1, uint8 m);
uint8 __builtin_spirv_OpenCL_shuffle2_v16i32_v16i32_v8i32(uint16 v0, uint16 v1, uint8 m);
uint16 __builtin_spirv_OpenCL_shuffle2_v2i32_v2i32_v16i32(uint2 v0, uint2 v1, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle2_v4i32_v4i32_v16i32(uint4 v0, uint4 v1, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle2_v8i32_v8i32_v16i32(uint8 v0, uint8 v1, uint16 m);
uint16 __builtin_spirv_OpenCL_shuffle2_v16i32_v16i32_v16i32(uint16 v0, uint16 v1, uint16 m);
ulong2 __builtin_spirv_OpenCL_shuffle2_v2i64_v2i64_v2i64(ulong2 v0, ulong2 v1, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle2_v4i64_v4i64_v2i64(ulong4 v0, ulong4 v1, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle2_v8i64_v8i64_v2i64(ulong8 v0, ulong8 v1, ulong2 m);
ulong2 __builtin_spirv_OpenCL_shuffle2_v16i64_v16i64_v2i64(ulong16 v0, ulong16 v1, ulong2 m);
ulong4 __builtin_spirv_OpenCL_shuffle2_v2i64_v2i64_v4i64(ulong2 v0, ulong2 v1, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle2_v4i64_v4i64_v4i64(ulong4 v0, ulong4 v1, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle2_v8i64_v8i64_v4i64(ulong8 v0, ulong8 v1, ulong4 m);
ulong4 __builtin_spirv_OpenCL_shuffle2_v16i64_v16i64_v4i64(ulong16 v0, ulong16 v1, ulong4 m);
ulong8 __builtin_spirv_OpenCL_shuffle2_v2i64_v2i64_v8i64(ulong2 v0, ulong2 v1, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle2_v4i64_v4i64_v8i64(ulong4 v0, ulong4 v1, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle2_v8i64_v8i64_v8i64(ulong8 v0, ulong8 v1, ulong8 m);
ulong8 __builtin_spirv_OpenCL_shuffle2_v16i64_v16i64_v8i64(ulong16 v0, ulong16 v1, ulong8 m);
ulong16 __builtin_spirv_OpenCL_shuffle2_v2i64_v2i64_v16i64(ulong2 v0, ulong2 v1, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle2_v4i64_v4i64_v16i64(ulong4 v0, ulong4 v1, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle2_v8i64_v8i64_v16i64(ulong8 v0, ulong8 v1, ulong16 m);
ulong16 __builtin_spirv_OpenCL_shuffle2_v16i64_v16i64_v16i64(ulong16 v0, ulong16 v1, ulong16 m);
float2 __builtin_spirv_OpenCL_shuffle2_v2f32_v2f32_v2i32(float2 v0, float2 v1, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle2_v4f32_v4f32_v2i32(float4 v0, float4 v1, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle2_v8f32_v8f32_v2i32(float8 v0, float8 v1, uint2 m);
float2 __builtin_spirv_OpenCL_shuffle2_v16f32_v16f32_v2i32(float16 v0, float16 v1, uint2 m);
float4 __builtin_spirv_OpenCL_shuffle2_v2f32_v2f32_v4i32(float2 v0, float2 v1, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle2_v4f32_v4f32_v4i32(float4 v0, float4 v1, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle2_v8f32_v8f32_v4i32(float8 v0, float8 v1, uint4 m);
float4 __builtin_spirv_OpenCL_shuffle2_v16f32_v16f32_v4i32(float16 v0, float16 v1, uint4 m);
float8 __builtin_spirv_OpenCL_shuffle2_v2f32_v2f32_v8i32(float2 v0, float2 v1, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle2_v4f32_v4f32_v8i32(float4 v0, float4 v1, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle2_v8f32_v8f32_v8i32(float8 v0, float8 v1, uint8 m);
float8 __builtin_spirv_OpenCL_shuffle2_v16f32_v16f32_v8i32(float16 v0, float16 v1, uint8 m);
float16 __builtin_spirv_OpenCL_shuffle2_v2f32_v2f32_v16i32(float2 v0, float2 v1, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle2_v4f32_v4f32_v16i32(float4 v0, float4 v1, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle2_v8f32_v8f32_v16i32(float8 v0, float8 v1, uint16 m);
float16 __builtin_spirv_OpenCL_shuffle2_v16f32_v16f32_v16i32(float16 v0, float16 v1, uint16 m);

half2 __builtin_spirv_OpenCL_shuffle_v2f16_v2i16(half2 v, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle_v4f16_v2i16(half4 v, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle_v8f16_v2i16(half8 v, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle_v16f16_v2i16(half16 v, ushort2 m);
half4 __builtin_spirv_OpenCL_shuffle_v2f16_v4i16(half2 v, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle_v4f16_v4i16(half4 v, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle_v8f16_v4i16(half8 v, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle_v16f16_v4i16(half16 v, ushort4 m);
half8 __builtin_spirv_OpenCL_shuffle_v2f16_v8i16(half2 v, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle_v4f16_v8i16(half4 v, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle_v8f16_v8i16(half8 v, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle_v16f16_v8i16(half16 v, ushort8 m);
half16 __builtin_spirv_OpenCL_shuffle_v2f16_v16i16(half2 v, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle_v4f16_v16i16(half4 v, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle_v8f16_v16i16(half8 v, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle_v16f16_v16i16(half16 v, ushort16 m);

half2 __builtin_spirv_OpenCL_shuffle2_v2f16_v2f16_v2i16(half2 v0, half2 v1, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle2_v4f16_v4f16_v2i16(half4 v0, half4 v1, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle2_v8f16_v8f16_v2i16(half8 v0, half8 v1, ushort2 m);
half2 __builtin_spirv_OpenCL_shuffle2_v16f16_v16f16_v2i16(half16 v0, half16 v1, ushort2 m);
half4 __builtin_spirv_OpenCL_shuffle2_v2f16_v2f16_v4i16(half2 v0, half2 v1, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle2_v4f16_v4f16_v4i16(half4 v0, half4 v1, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle2_v8f16_v8f16_v4i16(half8 v0, half8 v1, ushort4 m);
half4 __builtin_spirv_OpenCL_shuffle2_v16f16_v16f16_v4i16(half16 v0, half16 v1, ushort4 m);
half8 __builtin_spirv_OpenCL_shuffle2_v2f16_v2f16_v8i16(half2 v0, half2 v1, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle2_v4f16_v4f16_v8i16(half4 v0, half4 v1, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle2_v8f16_v8f16_v8i16(half8 v0, half8 v1, ushort8 m);
half8 __builtin_spirv_OpenCL_shuffle2_v16f16_v16f16_v8i16(half16 v0, half16 v1, ushort8 m);
half16 __builtin_spirv_OpenCL_shuffle2_v2f16_v2f16_v16i16(half2 v0, half2 v1, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle2_v4f16_v4f16_v16i16(half4 v0, half4 v1, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle2_v8f16_v8f16_v16i16(half8 v0, half8 v1, ushort16 m);
half16 __builtin_spirv_OpenCL_shuffle2_v16f16_v16f16_v16i16(half16 v0, half16 v1, ushort16 m);

#if defined(cl_khr_fp64)
double2 __builtin_spirv_OpenCL_shuffle_v2f64_v2i64(double2 v, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle_v4f64_v2i64(double4 v, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle_v8f64_v2i64(double8 v, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle_v16f64_v2i64(double16 v, ulong2 m);
double4 __builtin_spirv_OpenCL_shuffle_v2f64_v4i64(double2 v, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle_v4f64_v4i64(double4 v, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle_v8f64_v4i64(double8 v, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle_v16f64_v4i64(double16 v, ulong4 m);
double8 __builtin_spirv_OpenCL_shuffle_v2f64_v8i64(double2 v, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle_v4f64_v8i64(double4 v, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle_v8f64_v8i64(double8 v, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle_v16f64_v8i64(double16 v, ulong8 m);
double16 __builtin_spirv_OpenCL_shuffle_v2f64_v16i64(double2 v, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle_v4f64_v16i64(double4 v, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle_v8f64_v16i64(double8 v, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle_v16f64_v16i64(double16 v, ulong16 m);

double2 __builtin_spirv_OpenCL_shuffle2_v2f64_v2f64_v2i64(double2 v0, double2 v1, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle2_v4f64_v4f64_v2i64(double4 v0, double4 v1, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle2_v8f64_v8f64_v2i64(double8 v0, double8 v1, ulong2 m);
double2 __builtin_spirv_OpenCL_shuffle2_v16f64_v16f64_v2i64(double16 v0, double16 v1, ulong2 m);
double4 __builtin_spirv_OpenCL_shuffle2_v2f64_v2f64_v4i64(double2 v0, double2 v1, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle2_v4f64_v4f64_v4i64(double4 v0, double4 v1, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle2_v8f64_v8f64_v4i64(double8 v0, double8 v1, ulong4 m);
double4 __builtin_spirv_OpenCL_shuffle2_v16f64_v16f64_v4i64(double16 v0, double16 v1, ulong4 m);
double8 __builtin_spirv_OpenCL_shuffle2_v2f64_v2f64_v8i64(double2 v0, double2 v1, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle2_v4f64_v4f64_v8i64(double4 v0, double4 v1, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle2_v8f64_v8f64_v8i64(double8 v0, double8 v1, ulong8 m);
double8 __builtin_spirv_OpenCL_shuffle2_v16f64_v16f64_v8i64(double16 v0, double16 v1, ulong8 m);
double16 __builtin_spirv_OpenCL_shuffle2_v2f64_v2f64_v16i64(double2 v0, double2 v1, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle2_v4f64_v4f64_v16i64(double4 v0, double4 v1, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle2_v8f64_v8f64_v16i64(double8 v0, double8 v1, ulong16 m);
double16 __builtin_spirv_OpenCL_shuffle2_v16f64_v16f64_v16i64(double16 v0, double16 v1, ulong16 m);
#endif // defined(cl_khr_fp64)



uint __builtin_spirv_intel_sub_group_shuffle_i32_i32(uint x, uint c );
uchar __builtin_spirv_intel_sub_group_shuffle_i8_i32(uchar x, uint c );
ushort __builtin_spirv_intel_sub_group_shuffle_i16_i32(ushort x, uint c );
float __builtin_spirv_intel_sub_group_shuffle_f32_i32(float x, uint c );
float2 __builtin_spirv_intel_sub_group_shuffle_v2f32_i32(float2 x, uint y);
float3 __builtin_spirv_intel_sub_group_shuffle_v3f32_i32(float3 x, uint y);
float4 __builtin_spirv_intel_sub_group_shuffle_v4f32_i32(float4 x, uint y);
float8 __builtin_spirv_intel_sub_group_shuffle_v8f32_i32(float8 x, uint y);
float16 __builtin_spirv_intel_sub_group_shuffle_v16f32_i32(float16 x, uint y);
uint2 __builtin_spirv_intel_sub_group_shuffle_v2i32_i32(uint2 x, uint y);
uint3 __builtin_spirv_intel_sub_group_shuffle_v3i32_i32(uint3 x, uint y);
uint4 __builtin_spirv_intel_sub_group_shuffle_v4i32_i32(uint4 x, uint y);
uint8 __builtin_spirv_intel_sub_group_shuffle_v8i32_i32(uint8 x, uint y);
uint16 __builtin_spirv_intel_sub_group_shuffle_v16i32_i32(uint16 x, uint y);
ulong __builtin_spirv_intel_sub_group_shuffle_i64_i32(ulong x, uint c );

uint __builtin_spirv_intel_sub_group_shuffle_down_i32_i32_i32(uint cur, uint next, uint c );
uchar __builtin_spirv_intel_sub_group_shuffle_down_i8_i8_i32(uchar cur, uchar next, uint c );
ushort __builtin_spirv_intel_sub_group_shuffle_down_i16_i16_i32(ushort cur, ushort next, uint c );
float __builtin_spirv_intel_sub_group_shuffle_down_f32_f32_i32(float cur, float next, uint c );
float2 __builtin_spirv_intel_sub_group_shuffle_down_v2f32_v2f32_i32(float2 x, float2 y, uint z);
float3 __builtin_spirv_intel_sub_group_shuffle_down_v3f32_v3f32_i32(float3 x, float3 y, uint z);
float4 __builtin_spirv_intel_sub_group_shuffle_down_v4f32_v4f32_i32(float4 x, float4 y, uint z);
float8 __builtin_spirv_intel_sub_group_shuffle_down_v8f32_v8f32_i32(float8 x, float8 y, uint z);
float16 __builtin_spirv_intel_sub_group_shuffle_down_v16f32_v16f32_i32(float16 x, float16 y, uint z);
uint2 __builtin_spirv_intel_sub_group_shuffle_down_v2i32_v2i32_i32(uint2 x, uint2 y, uint z);
uint3 __builtin_spirv_intel_sub_group_shuffle_down_v3i32_v3i32_i32(uint3 x, uint3 y, uint z);
uint4 __builtin_spirv_intel_sub_group_shuffle_down_v4i32_v4i32_i32(uint4 x, uint4 y, uint z);
uint8 __builtin_spirv_intel_sub_group_shuffle_down_v8i32_v8i32_i32(uint8 x, uint8 y, uint z);
uint16 __builtin_spirv_intel_sub_group_shuffle_down_v16i32_v16i32_i32(uint16 x, uint16 y, uint z);
ulong __builtin_spirv_intel_sub_group_shuffle_down_i64_i64_i32(ulong cur, ulong next, uint c );

uchar __builtin_spirv_intel_sub_group_shuffle_up_i8_i8_i32(uchar prev, uchar cur, uint c );
ushort __builtin_spirv_intel_sub_group_shuffle_up_i16_i16_i32(ushort prev, ushort cur, uint c );
uint __builtin_spirv_intel_sub_group_shuffle_up_i32_i32_i32(uint prev, uint cur, uint c );
float __builtin_spirv_intel_sub_group_shuffle_up_f32_f32_i32(float prev, float cur, uint c );
ulong __builtin_spirv_intel_sub_group_shuffle_up_i64_i64_i32(ulong prev, ulong cur, uint c );
uint2 __builtin_spirv_intel_sub_group_shuffle_up_v2i32_v2i32_i32(uint2 x, uint2 y, uint z);
uint3 __builtin_spirv_intel_sub_group_shuffle_up_v3i32_v3i32_i32(uint3 x, uint3 y, uint z);
uint4 __builtin_spirv_intel_sub_group_shuffle_up_v4i32_v4i32_i32(uint4 x, uint4 y, uint z);
uint8 __builtin_spirv_intel_sub_group_shuffle_up_v8i32_v8i32_i32(uint8 x, uint8 y, uint z);
uint16 __builtin_spirv_intel_sub_group_shuffle_up_v16i32_v16i32_i32(uint16 x, uint16 y, uint z);
float2 __builtin_spirv_intel_sub_group_shuffle_up_v2f32_v2f32_i32(float2 x, float2 y, uint z);
float3 __builtin_spirv_intel_sub_group_shuffle_up_v3f32_v3f32_i32(float3 x, float3 y, uint z);
float4 __builtin_spirv_intel_sub_group_shuffle_up_v4f32_v4f32_i32(float4 x, float4 y, uint z);
float8 __builtin_spirv_intel_sub_group_shuffle_up_v8f32_v8f32_i32(float8 x, float8 y, uint z);
float16 __builtin_spirv_intel_sub_group_shuffle_up_v16f32_v16f32_i32(float16 x, float16 y, uint z);

uchar __builtin_spirv_intel_sub_group_shuffle_xor_i8_i32(uchar x, uint c );
ushort __builtin_spirv_intel_sub_group_shuffle_xor_i16_i32(ushort x, uint c );
uint __builtin_spirv_intel_sub_group_shuffle_xor_i32_i32(uint x, uint c );
float __builtin_spirv_intel_sub_group_shuffle_xor_f32_i32(float x, uint c );
ulong __builtin_spirv_intel_sub_group_shuffle_xor_i64_i32(ulong x, uint c );
uint2 __builtin_spirv_intel_sub_group_shuffle_xor_v2i32_i32(uint2 x, uint y);
uint3 __builtin_spirv_intel_sub_group_shuffle_xor_v3i32_i32(uint3 x, uint y);
uint4 __builtin_spirv_intel_sub_group_shuffle_xor_v4i32_i32(uint4 x, uint y);
uint8 __builtin_spirv_intel_sub_group_shuffle_xor_v8i32_i32(uint8 x, uint y);
uint16 __builtin_spirv_intel_sub_group_shuffle_xor_v16i32_i32(uint16 x, uint y);
float2 __builtin_spirv_intel_sub_group_shuffle_xor_v2f32_i32(float2 x, uint y);
float3 __builtin_spirv_intel_sub_group_shuffle_xor_v3f32_i32(float3 x, uint y);
float4 __builtin_spirv_intel_sub_group_shuffle_xor_v4f32_i32(float4 x, uint y);
float8 __builtin_spirv_intel_sub_group_shuffle_xor_v8f32_i32(float8 x, uint y);
float16 __builtin_spirv_intel_sub_group_shuffle_xor_v16f32_i32(float16 x, uint y);

#if defined(cl_khr_fp64)
double __builtin_spirv_intel_sub_group_shuffle_f64_i32(double x, uint c );
double __builtin_spirv_intel_sub_group_shuffle_down_f64_f64_i32(double cur, double next, uint c );
double __builtin_spirv_intel_sub_group_shuffle_up_f64_f64_i32(double prev, double cur, uint c );
double __builtin_spirv_intel_sub_group_shuffle_xor_f64_i32(double x, uint c );
#endif // defined(cl_khr_fp64)

// TODO: how do we want to handle extensions?
#if 0
uint __builtin_spirv_intel_sub_group_half2_add_i32_i32(uint a, uint b );
uint __builtin_spirv_intel_sub_group_half2_sub_i32_i32(uint a, uint b );
uint __builtin_spirv_intel_sub_group_half2_mul_i32_i32(uint a, uint b );
uint __builtin_spirv_intel_sub_group_half2_mad_i32_i32_i32(uint a, uint b, uint c );
short2 __builtin_spirv_intel_sub_group_half2_isequal_i32_i32(uint a, uint b );
short2 __builtin_spirv_intel_sub_group_half2_isnotequal_i32_i32(uint a, uint b );
short2 __builtin_spirv_intel_sub_group_half2_isgreater_i32_i32(uint a, uint b );
short2 __builtin_spirv_intel_sub_group_half2_isgreaterequal_i32_i32(uint a, uint b );
short2 __builtin_spirv_intel_sub_group_half2_isless_i32_i32(uint a, uint b );
short2 __builtin_spirv_intel_sub_group_half2_islessequal_i32_i32(uint a, uint b );
#endif

char __builtin_spirv_OpenCL_s_min_i8_i8(char x, char y);
char2 __builtin_spirv_OpenCL_s_min_v2i8_v2i8(char2 x, char2 y);
char3 __builtin_spirv_OpenCL_s_min_v3i8_v3i8(char3 x, char3 y);
char4 __builtin_spirv_OpenCL_s_min_v4i8_v4i8(char4 x, char4 y);
char8 __builtin_spirv_OpenCL_s_min_v8i8_v8i8(char8 x, char8 y);
char16 __builtin_spirv_OpenCL_s_min_v16i8_v16i8(char16 x, char16 y);
uchar __builtin_spirv_OpenCL_u_min_i8_i8(uchar x, uchar y);
uchar2 __builtin_spirv_OpenCL_u_min_v2i8_v2i8(uchar2 x, uchar2 y);
uchar3 __builtin_spirv_OpenCL_u_min_v3i8_v3i8(uchar3 x, uchar3 y);
uchar4 __builtin_spirv_OpenCL_u_min_v4i8_v4i8(uchar4 x, uchar4 y);
uchar8 __builtin_spirv_OpenCL_u_min_v8i8_v8i8(uchar8 x, uchar8 y);
uchar16 __builtin_spirv_OpenCL_u_min_v16i8_v16i8(uchar16 x, uchar16 y);
short __builtin_spirv_OpenCL_s_min_i16_i16(short x, short y);
short2 __builtin_spirv_OpenCL_s_min_v2i16_v2i16(short2 x, short2 y);
short3 __builtin_spirv_OpenCL_s_min_v3i16_v3i16(short3 x, short3 y);
short4 __builtin_spirv_OpenCL_s_min_v4i16_v4i16(short4 x, short4 y);
short8 __builtin_spirv_OpenCL_s_min_v8i16_v8i16(short8 x, short8 y);
short16 __builtin_spirv_OpenCL_s_min_v16i16_v16i16(short16 x, short16 y);
ushort __builtin_spirv_OpenCL_u_min_i16_i16(ushort x, ushort y);
ushort2 __builtin_spirv_OpenCL_u_min_v2i16_v2i16(ushort2 x, ushort2 y);
ushort3 __builtin_spirv_OpenCL_u_min_v3i16_v3i16(ushort3 x, ushort3 y);
ushort4 __builtin_spirv_OpenCL_u_min_v4i16_v4i16(ushort4 x, ushort4 y);
ushort8 __builtin_spirv_OpenCL_u_min_v8i16_v8i16(ushort8 x, ushort8 y);
ushort16 __builtin_spirv_OpenCL_u_min_v16i16_v16i16(ushort16 x, ushort16 y);
int __builtin_spirv_OpenCL_s_min_i32_i32(int x, int y);
int2 __builtin_spirv_OpenCL_s_min_v2i32_v2i32(int2 x, int2 y);
int3 __builtin_spirv_OpenCL_s_min_v3i32_v3i32(int3 x, int3 y);
int4 __builtin_spirv_OpenCL_s_min_v4i32_v4i32(int4 x, int4 y);
int8 __builtin_spirv_OpenCL_s_min_v8i32_v8i32(int8 x, int8 y);
int16 __builtin_spirv_OpenCL_s_min_v16i32_v16i32(int16 x, int16 y);
uint __builtin_spirv_OpenCL_u_min_i32_i32(uint x, uint y);
uint2 __builtin_spirv_OpenCL_u_min_v2i32_v2i32(uint2 x, uint2 y);
uint3 __builtin_spirv_OpenCL_u_min_v3i32_v3i32(uint3 x, uint3 y);
uint4 __builtin_spirv_OpenCL_u_min_v4i32_v4i32(uint4 x, uint4 y);
uint8 __builtin_spirv_OpenCL_u_min_v8i32_v8i32(uint8 x, uint8 y);
uint16 __builtin_spirv_OpenCL_u_min_v16i32_v16i32(uint16 x, uint16 y);
long __builtin_spirv_OpenCL_s_min_i64_i64(long x, long y);
long2 __builtin_spirv_OpenCL_s_min_v2i64_v2i64(long2 x, long2 y);
long3 __builtin_spirv_OpenCL_s_min_v3i64_v3i64(long3 x, long3 y);
long4 __builtin_spirv_OpenCL_s_min_v4i64_v4i64(long4 x, long4 y);
long8 __builtin_spirv_OpenCL_s_min_v8i64_v8i64(long8 x, long8 y);
long16 __builtin_spirv_OpenCL_s_min_v16i64_v16i64(long16 x, long16 y);
ulong __builtin_spirv_OpenCL_u_min_i64_i64(ulong x, ulong y);
ulong2 __builtin_spirv_OpenCL_u_min_v2i64_v2i64(ulong2 x, ulong2 y);
ulong3 __builtin_spirv_OpenCL_u_min_v3i64_v3i64(ulong3 x, ulong3 y);
ulong4 __builtin_spirv_OpenCL_u_min_v4i64_v4i64(ulong4 x, ulong4 y);
ulong8 __builtin_spirv_OpenCL_u_min_v8i64_v8i64(ulong8 x, ulong8 y);
ulong16 __builtin_spirv_OpenCL_u_min_v16i64_v16i64(ulong16 x, ulong16 y);

// Misc Instructions

void __builtin_spirv_OpenCL_prefetch_p1i8_i32(const global uchar* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i8_i32(const global uchar2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i8_i32(const global uchar3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i8_i32(const global uchar4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i8_i32(const global uchar8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i8_i32(const global uchar16* p, uint num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i16_i32(const global ushort* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i16_i32(const global ushort2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i16_i32(const global ushort3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i16_i32(const global ushort4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i16_i32(const global ushort8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i16_i32(const global ushort16* p, uint num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i32_i32(const global uint* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i32_i32(const global uint2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i32_i32(const global uint3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i32_i32(const global uint4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i32_i32(const global uint8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i32_i32(const global uint16* p, uint num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i64_i32(const global ulong* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i64_i32(const global ulong2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i64_i32(const global ulong3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i64_i32(const global ulong4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i64_i32(const global ulong8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i64_i32(const global ulong16* p, uint num_elements);

void __builtin_spirv_OpenCL_prefetch_p1f32_i32(const global float* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f32_i32(const global float2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f32_i32(const global float3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f32_i32(const global float4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f32_i32(const global float8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f32_i32(const global float16* p, uint num_elements);

void __builtin_spirv_OpenCL_prefetch_p1f16_i32(const global half* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f16_i32(const global half2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f16_i32(const global half3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f16_i32(const global half4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f16_i32(const global half8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f16_i32(const global half16* p, uint num_elements);

#if defined(cl_khr_fp64)
void __builtin_spirv_OpenCL_prefetch_p1f64_i32(const global double* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f64_i32(const global double2* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f64_i32(const global double3* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f64_i32(const global double4* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f64_i32(const global double8* p, uint num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f64_i32(const global double16* p, uint num_elements);
#endif // defined(cl_khr_fp64)

void __builtin_spirv_OpenCL_prefetch_p1i8_i64(const global uchar* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i8_i64(const global uchar2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i8_i64(const global uchar3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i8_i64(const global uchar4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i8_i64(const global uchar8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i8_i64(const global uchar16* p, ulong num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i16_i64(const global ushort* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i16_i64(const global ushort2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i16_i64(const global ushort3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i16_i64(const global ushort4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i16_i64(const global ushort8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i16_i64(const global ushort16* p, ulong num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i32_i64(const global uint* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i32_i64(const global uint2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i32_i64(const global uint3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i32_i64(const global uint4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i32_i64(const global uint8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i32_i64(const global uint16* p, ulong num_elements);

void __builtin_spirv_OpenCL_prefetch_p1i64_i64(const global ulong* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2i64_i64(const global ulong2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3i64_i64(const global ulong3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4i64_i64(const global ulong4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8i64_i64(const global ulong8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16i64_i64(const global ulong16* p, ulong num_elements);

void __builtin_spirv_OpenCL_prefetch_p1f32_i64(const global float* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f32_i64(const global float2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f32_i64(const global float3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f32_i64(const global float4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f32_i64(const global float8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f32_i64(const global float16* p, ulong num_elements);

void __builtin_spirv_OpenCL_prefetch_p1f16_i64(const global half* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f16_i64(const global half2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f16_i64(const global half3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f16_i64(const global half4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f16_i64(const global half8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f16_i64(const global half16* p, ulong num_elements);

#if defined(cl_khr_fp64)
void __builtin_spirv_OpenCL_prefetch_p1f64_i64(const global double* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v2f64_i64(const global double2* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v3f64_i64(const global double3* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v4f64_i64(const global double4* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v8f64_i64(const global double8* p, ulong num_elements);
void __builtin_spirv_OpenCL_prefetch_p1v16f64_i64(const global double16* p, ulong num_elements);
#endif // defined(cl_khr_fp64)

uint  __builtin_spirv_OpReadClockKHR_i32(uint scope);
ulong __builtin_spirv_OpReadClockKHR_i64(uint scope);

#endif // __SPIRV_H__

