GCC Middle and Back End API Reference
simd_array_to_simduid Struct Reference
Inheritance diagram for simd_array_to_simduid:
Collaboration diagram for simd_array_to_simduid:

Public Types

typedef Typevalue_type
 
typedef Typecompare_type
 

Static Public Member Functions

static hashval_t hash (const simd_array_to_simduid *)
 
static int equal (const simd_array_to_simduid *, const simd_array_to_simduid *)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (Type *&)
 
static void mark_empty (Type *&)
 
static bool is_deleted (Type *)
 
static bool is_empty (Type *)
 
static void remove (Type *p)
 

Data Fields

tree decl
 
unsigned int simduid
 

Static Public Attributes

static const bool empty_zero_p = true
 

Detailed Description

This hash maps the OMP simd array to the corresponding simduid used
to index into it.  Like thus,

     _7 = GOMP_SIMD_LANE (simduid.0)
     ...
     ...
     D.1737[_7] = stuff;


This hash maps from the OMP simd array (D.1737[]) to DECL_UID of
simduid.0.   

Member Typedef Documentation

◆ compare_type

template<typename Type >
typedef Type* pointer_hash< Type >::compare_type
inherited

◆ value_type

template<typename Type >
typedef Type* pointer_hash< Type >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

int simd_array_to_simduid::equal ( const simd_array_to_simduid * p1,
const simd_array_to_simduid * p2 )
inlinestatic

References ggc_alloc().

◆ equal() [2/2]

template<typename Type >
bool pointer_hash< Type >::equal ( const value_type & existing,
const compare_type & candidate )
inlinestaticinherited

References candidate(), and ggc_alloc().

◆ hash() [1/2]

hashval_t simd_array_to_simduid::hash ( const simd_array_to_simduid * p)
inlinestatic

References decl, and DECL_UID.

◆ hash() [2/2]

template<typename Type >
hashval_t pointer_hash< Type >::hash ( const value_type & candidate)
inlinestaticinherited

References candidate(), and ggc_alloc().

◆ is_deleted()

template<typename Type >
bool pointer_hash< Type >::is_deleted ( Type * e)
inlinestaticinherited

References ggc_alloc().

◆ is_empty()

template<typename Type >
bool pointer_hash< Type >::is_empty ( Type * e)
inlinestaticinherited

References NULL.

◆ mark_deleted()

template<typename Type >
void pointer_hash< Type >::mark_deleted ( Type *& e)
inlinestaticinherited

References ggc_alloc().

◆ mark_empty()

template<typename Type >
void pointer_hash< Type >::mark_empty ( Type *& e)
inlinestaticinherited

References NULL.

◆ remove()

template<typename Type >
void typed_free_remove< Type >::remove ( Type * p)
inlinestaticinherited
Remove with free.   

References free().

Field Documentation

◆ decl

tree simd_array_to_simduid::decl

Referenced by hash().

◆ empty_zero_p

template<typename Type >
const bool pointer_hash< Type >::empty_zero_p = true
staticinherited

◆ simduid

unsigned int simd_array_to_simduid::simduid

Referenced by note_simd_array_uses_cb().


The documentation for this struct was generated from the following file: