GCC Middle and Back End API Reference
default_hash_traits< scalar_cond_masked_key > Struct Reference

#include <tree-vectorizer.h>

Inheritance diagram for default_hash_traits< scalar_cond_masked_key >:
Collaboration diagram for default_hash_traits< scalar_cond_masked_key >:

Public Types

typedef scalar_cond_masked_key compare_type
 
typedef scalar_cond_masked_key value_type
 

Public Member Functions

void get_cond_ops_from_tree (tree)
 

Static Public Member Functions

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

Data Fields

unsigned ncopies
 
bool inverted_p
 
tree_code code
 
tree op0
 
tree op1
 

Static Public Attributes

static const bool empty_zero_p = true
 

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal()

◆ get_cond_ops_from_tree()

void scalar_cond_masked_key::get_cond_ops_from_tree ( tree t)
inherited
If the condition represented by T is a comparison or the SSA name
result of a comparison, extract the comparison's operands.  Represent
T as NE_EXPR <T, 0> otherwise.   

References build_zero_cst(), code, dyn_cast(), gimple_assign_rhs1(), gimple_assign_rhs2(), gimple_assign_rhs_code(), inverted_p, op0, op1, SSA_NAME_DEF_STMT, tcc_comparison, TREE_CODE, TREE_CODE_CLASS, TREE_OPERAND, and TREE_TYPE.

Referenced by scalar_cond_masked_key().

◆ hash()

◆ is_deleted()

static bool default_hash_traits< scalar_cond_masked_key >::is_deleted ( const value_type & )
inlinestatic

◆ is_empty()

◆ mark_deleted()

static void default_hash_traits< scalar_cond_masked_key >::mark_deleted ( value_type & )
inlinestatic

◆ mark_empty()

◆ remove()

static void default_hash_traits< scalar_cond_masked_key >::remove ( value_type & )
inlinestatic

Field Documentation

◆ code

◆ empty_zero_p

const bool default_hash_traits< scalar_cond_masked_key >::empty_zero_p = true
static

◆ inverted_p

◆ ncopies

◆ op0

◆ op1


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