GCC Middle and Back End API Reference
bst_traits Struct Reference

Public Types

typedef vec< stmt_vec_infovalue_type
 
typedef vec< stmt_vec_infocompare_type
 

Static Public Member Functions

static hashval_t hash (value_type)
 
static bool equal (value_type existing, value_type candidate)
 
static bool is_empty (value_type x)
 
static bool is_deleted (value_type x)
 
static void mark_empty (value_type &x)
 
static void mark_deleted (value_type &x)
 
static void remove (value_type &x)
 

Static Public Attributes

static const bool empty_zero_p = true
 

Detailed Description

Traits for the hash_set to record failed SLP builds for a stmt set.
Note we never remove apart from at destruction time so we do not
need a special value for deleted that differs from empty.   

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal()

bool bst_traits::equal ( value_type existing,
value_type candidate )
inlinestatic

References candidate(), and i.

◆ hash()

hashval_t bst_traits::hash ( value_type x)
inlinestatic

◆ is_deleted()

static bool bst_traits::is_deleted ( value_type x)
inlinestatic

◆ is_empty()

static bool bst_traits::is_empty ( value_type x)
inlinestatic

◆ mark_deleted()

static void bst_traits::mark_deleted ( value_type & x)
inlinestatic

◆ mark_empty()

static void bst_traits::mark_empty ( value_type & x)
inlinestatic

◆ remove()

static void bst_traits::remove ( value_type & x)
inlinestatic

Field Documentation

◆ empty_zero_p

const bool bst_traits::empty_zero_p = true
static

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