clang  12.0.0git
Typedefs | Functions | Variables
__clang_hip_libdevice_declares.h File Reference

Go to the source code of this file.

Typedefs

typedef _Float16 __2f16 __attribute__((ext_vector_type(2)))
 Zeroes the upper 128 bits (bits 255:128) of all YMM registers. More...
 

Functions

__device__ __attribute__ ((const)) float __ocml_acos_f32(float)
 
__device__ __attribute__ ((pure)) float __ocml_acosh_f32(float)
 
__device__ float __ocml_cos_f32 (float)
 
__device__ float __ocml_native_cos_f32 (float)
 
__device__ float __ocml_cospi_f32 (float)
 
__device__ float __ocml_i0_f32 (float)
 
__device__ float __ocml_i1_f32 (float)
 
__device__ float __ocml_frexp_f32 (float, __attribute__((address_space(5))) int *)
 
__device__ float __ocml_j0_f32 (float)
 
__device__ float __ocml_j1_f32 (float)
 
__device__ float __ocml_lgamma_f32 (float)
 
__device__ float __ocml_modf_f32 (float, __attribute__((address_space(5))) float *)
 
__device__ float __ocml_remquo_f32 (float, float, __attribute__((address_space(5))) int *)
 
__device__ float __ocml_sincos_f32 (float, __attribute__((address_space(5))) float *)
 
__device__ float __ocml_sincospi_f32 (float, __attribute__((address_space(5))) float *)
 
__device__ float __ocml_sin_f32 (float)
 
__device__ float __ocml_native_sin_f32 (float)
 
__device__ float __ocml_sinpi_f32 (float)
 
__device__ float __ocml_tan_f32 (float)
 
__device__ float __ocml_tgamma_f32 (float)
 
__device__ float __ocml_y0_f32 (float)
 
__device__ float __ocml_y1_f32 (float)
 
__device__ double __ocml_cos_f64 (double)
 
__device__ double __ocml_cospi_f64 (double)
 
__device__ double __ocml_i0_f64 (double)
 
__device__ double __ocml_i1_f64 (double)
 
__device__ double __ocml_frexp_f64 (double, __attribute__((address_space(5))) int *)
 
__device__ double __ocml_j0_f64 (double)
 
__device__ double __ocml_j1_f64 (double)
 
__device__ double __ocml_lgamma_f64 (double)
 
__device__ double __ocml_modf_f64 (double, __attribute__((address_space(5))) double *)
 
__device__ double __ocml_remquo_f64 (double, double, __attribute__((address_space(5))) int *)
 
__device__ double __ocml_sincos_f64 (double, __attribute__((address_space(5))) double *)
 
__device__ double __ocml_sincospi_f64 (double, __attribute__((address_space(5))) double *)
 
__device__ double __ocml_sin_f64 (double)
 
__device__ double __ocml_sinpi_f64 (double)
 
__device__ double __ocml_tan_f64 (double)
 
__device__ double __ocml_tgamma_f64 (double)
 
__device__ double __ocml_y0_f64 (double)
 
__device__ double __ocml_y1_f64 (double)
 
__device__ _Float16 __ocml_cos_f16 (_Float16)
 
__device__ _Float16 __ocml_sin_f16 (_Float16)
 
__device__ __2f16 __ocml_cos_2f16 (__2f16)
 
__device__ __2f16 __llvm_amdgcn_rcp_2f16 (__2f16 __x)
 
__device__ __2f16 __ocml_sin_2f16 (__2f16)
 

Variables

__device__ float
 
__device__ int
 
__device__ double
 
__device__ _Float16
 
__device__ __2f16 b
 
__device__ __2f16 float c
 
__device__ __2f16 float bool s
 
__device__ __2f16
 
__device__ __2i16
 

Typedef Documentation

◆ __attribute__

typedef unsigned int __v4su __attribute__((__vector_size__(16)))

Zeroes the upper 128 bits (bits 255:128) of all YMM registers.

Loads a memory sequence containing the specified memory address into the L1 data cache and sets the cache-coherency to modified.

This intrinsic corresponds to the VZEROUPPER instruction.

This provides a hint to the processor that the cache line will be modified. It is intended for use when the cache line will be written to shortly after the prefetch is performed.

Note that the effect of this intrinsic is dependent on the processor implementation.

This intrinsic corresponds to the PREFETCHW instruction.

Parameters
__PA pointer specifying the memory address to be prefetched.

Definition at line 299 of file __clang_hip_libdevice_declares.h.

Function Documentation

◆ __attribute__() [1/2]

__device__ __attribute__ ( (const)  )

◆ __attribute__() [2/2]

__device__ __attribute__ ( (pure)  )

◆ __llvm_amdgcn_rcp_2f16()

__device__ __2f16 __llvm_amdgcn_rcp_2f16 ( __2f16  __x)
inline

Definition at line 319 of file __clang_hip_libdevice_declares.h.

References __2f16, and __ocml_sin_2f16().

◆ __ocml_cos_2f16()

__device__ __2f16 __ocml_cos_2f16 ( __2f16  )

◆ __ocml_cos_f16()

__device__ _Float16 __ocml_cos_f16 ( _Float16  )

◆ __ocml_cos_f32()

__device__ float __ocml_cos_f32 ( float  )

Referenced by cosf().

◆ __ocml_cos_f64()

__device__ double __ocml_cos_f64 ( double  )

Referenced by cos().

◆ __ocml_cospi_f32()

__device__ float __ocml_cospi_f32 ( float  )

Referenced by cospif().

◆ __ocml_cospi_f64()

__device__ double __ocml_cospi_f64 ( double  )

Referenced by cospi().

◆ __ocml_frexp_f32()

__device__ float __ocml_frexp_f32 ( float  ,
__attribute__((address_space(5))) int  
)

Referenced by frexpf().

◆ __ocml_frexp_f64()

__device__ double __ocml_frexp_f64 ( double  ,
__attribute__((address_space(5))) int  
)

Referenced by frexp().

◆ __ocml_i0_f32()

__device__ float __ocml_i0_f32 ( float  )

Referenced by cyl_bessel_i0f().

◆ __ocml_i0_f64()

__device__ double __ocml_i0_f64 ( double  )

Referenced by cyl_bessel_i0().

◆ __ocml_i1_f32()

__device__ float __ocml_i1_f32 ( float  )

Referenced by cyl_bessel_i1f().

◆ __ocml_i1_f64()

__device__ double __ocml_i1_f64 ( double  )

Referenced by cyl_bessel_i1().

◆ __ocml_j0_f32()

__device__ float __ocml_j0_f32 ( float  )

Referenced by j0f().

◆ __ocml_j0_f64()

__device__ double __ocml_j0_f64 ( double  )

Referenced by j0().

◆ __ocml_j1_f32()

__device__ float __ocml_j1_f32 ( float  )

Referenced by j1f().

◆ __ocml_j1_f64()

__device__ double __ocml_j1_f64 ( double  )

Referenced by j1().

◆ __ocml_lgamma_f32()

__device__ float __ocml_lgamma_f32 ( float  )

Referenced by lgammaf().

◆ __ocml_lgamma_f64()

__device__ double __ocml_lgamma_f64 ( double  )

Referenced by lgamma().

◆ __ocml_modf_f32()

__device__ float __ocml_modf_f32 ( float  ,
__attribute__((address_space(5))) float  
)

Referenced by modff().

◆ __ocml_modf_f64()

__device__ double __ocml_modf_f64 ( double  ,
__attribute__((address_space(5))) double  
)

Referenced by modf().

◆ __ocml_native_cos_f32()

__device__ float __ocml_native_cos_f32 ( float  )

Referenced by __cosf(), and __sincosf().

◆ __ocml_native_sin_f32()

__device__ float __ocml_native_sin_f32 ( float  )

Referenced by __sincosf(), and __sinf().

◆ __ocml_remquo_f32()

__device__ float __ocml_remquo_f32 ( float  ,
float  ,
__attribute__((address_space(5))) int  
)

Referenced by remquof().

◆ __ocml_remquo_f64()

__device__ double __ocml_remquo_f64 ( double  ,
double  ,
__attribute__((address_space(5))) int  
)

Referenced by remquo().

◆ __ocml_sin_2f16()

__device__ __2f16 __ocml_sin_2f16 ( __2f16  )

Referenced by __llvm_amdgcn_rcp_2f16().

◆ __ocml_sin_f16()

__device__ _Float16 __ocml_sin_f16 ( _Float16  )

◆ __ocml_sin_f32()

__device__ float __ocml_sin_f32 ( float  )

Referenced by sinf().

◆ __ocml_sin_f64()

__device__ double __ocml_sin_f64 ( double  )

Referenced by sin().

◆ __ocml_sincos_f32()

__device__ float __ocml_sincos_f32 ( float  ,
__attribute__((address_space(5))) float  
)

Referenced by sincosf().

◆ __ocml_sincos_f64()

__device__ double __ocml_sincos_f64 ( double  ,
__attribute__((address_space(5))) double  
)

Referenced by sincos().

◆ __ocml_sincospi_f32()

__device__ float __ocml_sincospi_f32 ( float  ,
__attribute__((address_space(5))) float  
)

Referenced by sincospif().

◆ __ocml_sincospi_f64()

__device__ double __ocml_sincospi_f64 ( double  ,
__attribute__((address_space(5))) double  
)

Referenced by sincospi().

◆ __ocml_sinpi_f32()

__device__ float __ocml_sinpi_f32 ( float  )

Referenced by sinpif().

◆ __ocml_sinpi_f64()

__device__ double __ocml_sinpi_f64 ( double  )

Referenced by sinpi().

◆ __ocml_tan_f32()

__device__ float __ocml_tan_f32 ( float  )

Referenced by __tanf(), and tanf().

◆ __ocml_tan_f64()

__device__ double __ocml_tan_f64 ( double  )

Referenced by tan().

◆ __ocml_tgamma_f32()

__device__ float __ocml_tgamma_f32 ( float  )

Referenced by tgammaf().

◆ __ocml_tgamma_f64()

__device__ double __ocml_tgamma_f64 ( double  )

Referenced by tgamma().

◆ __ocml_y0_f32()

__device__ float __ocml_y0_f32 ( float  )

Referenced by y0f().

◆ __ocml_y0_f64()

__device__ double __ocml_y0_f64 ( double  )

Referenced by y0().

◆ __ocml_y1_f32()

__device__ float __ocml_y1_f32 ( float  )

Referenced by y1f().

◆ __ocml_y1_f64()

__device__ double __ocml_y1_f64 ( double  )

Referenced by y1().

Variable Documentation

◆ __2f16

__device__ __2f16

Definition at line 312 of file __clang_hip_libdevice_declares.h.

Referenced by __llvm_amdgcn_rcp_2f16().

◆ __2i16

__device__ __2i16

Definition at line 328 of file __clang_hip_libdevice_declares.h.

◆ _Float16

__device__ _Float16

Definition at line 283 of file __clang_hip_libdevice_declares.h.

◆ b

__device__ __2f16 b

◆ c

__device__ __2f16 float c

◆ double

__device__ double

◆ float

__device__ float

Definition at line 22 of file __clang_hip_libdevice_declares.h.

Referenced by clang::ASTReader::PrintStats(), and vec_promote().

◆ int

__device__ int

◆ s

__device__ __2f16 float bool s