ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
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
 

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.

Adds the unsigned integer operand to the CRC-32C checksum of the second unsigned integer operand.

Adds the unsigned integer operand to the CRC-32C checksum of the unsigned short operand.

Cast a 64-bit unsigned integer value to a 64-bit float value.

Cast a 32-bit unsigned integer value to a 32-bit float value.

Cast a 64-bit float value to a 64-bit unsigned integer value.

Counts the number of bits in the source operand having a value of 1.

Swaps the bytes in the input.

Find the first set bit starting from the msb.

This intrinsic corresponds to the VZEROUPPER instruction.

Result is undefined if input is 0.

This intrinsic corresponds to the BSR instruction or the LZCNT instruction and an XOR .

Parameters
__AA 32-bit integer operand.
Returns
A 32-bit integer containing the bit number.

Converting little endian to big endian or vice versa.

This intrinsic corresponds to the BSWAP instruction.

Parameters
__AA 32-bit integer operand.
Returns
A 32-bit integer containing the swapped bytes.

This intrinsic corresponds to the POPCNT instruction or a a sequence of arithmetic and logic ops to calculate it.

Parameters
__AAn unsigned 32-bit integer operand.
Returns
A 32-bit integer containing the number of bits with value 1 in the source operand.

This intrinsic corresponds to the VMOVQ / MOVQ instruction in x86_64, and corresponds to the VMOVL / MOVL instruction in ia32.

Parameters
__AA 64-bit float value.
Returns
a 64-bit unsigned integer containing the converted value.

This intrinsic corresponds to the VMOVQ / MOVQ instruction in x86_64, and corresponds to the FLDS instruction in ia32.

Parameters
__AA 32-bit unsigned integer value.
Returns
a 32-bit float value containing the converted value.

This intrinsic corresponds to the VMOVQ / MOVQ instruction in x86_64, and corresponds to the FLDL instruction in ia32.

Parameters
__AA 64-bit unsigned integer value.
Returns
a 64-bit float value containing the converted value.

This intrinsic corresponds to the CRC32W instruction.

Parameters
__CAn unsigned integer operand to add to the CRC-32C checksum of operand __D.
__DAn unsigned 16-bit integer operand used to compute the CRC-32C checksum.
Returns
The result of adding operand __C to the CRC-32C checksum of operand __D.

This intrinsic corresponds to the CRC32D instruction.

Parameters
__CAn unsigned integer operand to add to the CRC-32C checksum of operand __D.
__DAn unsigned 32-bit integer operand used to compute the CRC-32C checksum.
Returns
The result of adding operand __C to the CRC-32C checksum of operand __D.

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 294 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 314 of file __clang_hip_libdevice_declares.h.

References __2f16, and __x.

◆ __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().

Here is the caller graph for this function:

◆ __ocml_cos_f64()

__device__ double __ocml_cos_f64 ( double  )

Referenced by cos().

Here is the caller graph for this function:

◆ __ocml_cospi_f32()

__device__ float __ocml_cospi_f32 ( float  )

Referenced by cospif().

Here is the caller graph for this function:

◆ __ocml_cospi_f64()

__device__ double __ocml_cospi_f64 ( double  )

Referenced by cospi().

Here is the caller graph for this function:

◆ __ocml_frexp_f32()

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

Referenced by frexpf().

Here is the caller graph for this function:

◆ __ocml_frexp_f64()

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

Referenced by frexp().

Here is the caller graph for this function:

◆ __ocml_i0_f32()

__device__ float __ocml_i0_f32 ( float  )

Referenced by cyl_bessel_i0f().

Here is the caller graph for this function:

◆ __ocml_i0_f64()

__device__ double __ocml_i0_f64 ( double  )

Referenced by cyl_bessel_i0().

Here is the caller graph for this function:

◆ __ocml_i1_f32()

__device__ float __ocml_i1_f32 ( float  )

Referenced by cyl_bessel_i1f().

Here is the caller graph for this function:

◆ __ocml_i1_f64()

__device__ double __ocml_i1_f64 ( double  )

Referenced by cyl_bessel_i1().

Here is the caller graph for this function:

◆ __ocml_j0_f32()

__device__ float __ocml_j0_f32 ( float  )

Referenced by j0f().

Here is the caller graph for this function:

◆ __ocml_j0_f64()

__device__ double __ocml_j0_f64 ( double  )

Referenced by j0().

Here is the caller graph for this function:

◆ __ocml_j1_f32()

__device__ float __ocml_j1_f32 ( float  )

Referenced by j1f().

Here is the caller graph for this function:

◆ __ocml_j1_f64()

__device__ double __ocml_j1_f64 ( double  )

Referenced by j1().

Here is the caller graph for this function:

◆ __ocml_lgamma_f32()

__device__ float __ocml_lgamma_f32 ( float  )

Referenced by lgammaf().

Here is the caller graph for this function:

◆ __ocml_lgamma_f64()

__device__ double __ocml_lgamma_f64 ( double  )

Referenced by lgamma().

Here is the caller graph for this function:

◆ __ocml_modf_f32()

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

Referenced by modff().

Here is the caller graph for this function:

◆ __ocml_modf_f64()

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

Referenced by modf().

Here is the caller graph for this function:

◆ __ocml_native_cos_f32()

__device__ float __ocml_native_cos_f32 ( float  )

Referenced by __cosf(), and __sincosf().

Here is the caller graph for this function:

◆ __ocml_native_sin_f32()

__device__ float __ocml_native_sin_f32 ( float  )

Referenced by __sincosf(), and __sinf().

Here is the caller graph for this function:

◆ __ocml_remquo_f32()

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

Referenced by remquof().

Here is the caller graph for this function:

◆ __ocml_remquo_f64()

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

Referenced by remquo().

Here is the caller graph for this function:

◆ __ocml_sin_2f16()

__device__ __2f16 __ocml_sin_2f16 ( __2f16  )

◆ __ocml_sin_f16()

__device__ _Float16 __ocml_sin_f16 ( _Float16  )

◆ __ocml_sin_f32()

__device__ float __ocml_sin_f32 ( float  )

Referenced by sinf().

Here is the caller graph for this function:

◆ __ocml_sin_f64()

__device__ double __ocml_sin_f64 ( double  )

Referenced by sin().

Here is the caller graph for this function:

◆ __ocml_sincos_f32()

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

Referenced by sincosf().

Here is the caller graph for this function:

◆ __ocml_sincos_f64()

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

Referenced by sincos().

Here is the caller graph for this function:

◆ __ocml_sincospi_f32()

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

Referenced by sincospif().

Here is the caller graph for this function:

◆ __ocml_sincospi_f64()

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

Referenced by sincospi().

Here is the caller graph for this function:

◆ __ocml_sinpi_f32()

__device__ float __ocml_sinpi_f32 ( float  )

Referenced by sinpif().

Here is the caller graph for this function:

◆ __ocml_sinpi_f64()

__device__ double __ocml_sinpi_f64 ( double  )

Referenced by sinpi().

Here is the caller graph for this function:

◆ __ocml_tan_f32()

__device__ float __ocml_tan_f32 ( float  )

Referenced by __tanf(), and tanf().

Here is the caller graph for this function:

◆ __ocml_tan_f64()

__device__ double __ocml_tan_f64 ( double  )

Referenced by tan().

Here is the caller graph for this function:

◆ __ocml_tgamma_f32()

__device__ float __ocml_tgamma_f32 ( float  )

Referenced by tgammaf().

Here is the caller graph for this function:

◆ __ocml_tgamma_f64()

__device__ double __ocml_tgamma_f64 ( double  )

Referenced by tgamma().

Here is the caller graph for this function:

◆ __ocml_y0_f32()

__device__ float __ocml_y0_f32 ( float  )

Referenced by y0f().

Here is the caller graph for this function:

◆ __ocml_y0_f64()

__device__ double __ocml_y0_f64 ( double  )

Referenced by y0().

Here is the caller graph for this function:

◆ __ocml_y1_f32()

__device__ float __ocml_y1_f32 ( float  )

Referenced by y1f().

Here is the caller graph for this function:

◆ __ocml_y1_f64()

__device__ double __ocml_y1_f64 ( double  )

Referenced by y1().

Here is the caller graph for this function:

Variable Documentation

◆ __2f16

__device__ __2f16

Definition at line 307 of file __clang_hip_libdevice_declares.h.

Referenced by __llvm_amdgcn_rcp_2f16().

◆ _Float16

__device__ _Float16

Definition at line 279 of file __clang_hip_libdevice_declares.h.

◆ b

__device__ __2f16 b

◆ c

__device__ __2f16 float c

◆ double

__device__ double

Definition at line 154 of file __clang_hip_libdevice_declares.h.

Referenced by etiss::CPUCore::execute().

◆ float

__device__ float

Definition at line 20 of file __clang_hip_libdevice_declares.h.

Referenced by etiss::CPUCore::execute(), gen_nan(), and vec_promote().

◆ int

static __inline__ int

◆ s

__device__ __2f16 float bool s