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

#include <state-purge.h>

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

Public Types

typedef function_point value_type
 
typedef function_point compare_type
 

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static const bool empty_zero_p = false
 

Detailed Description

Classes for purging state at function_points.
   Copyright (C) 2019-2024 Free Software Foundation, Inc.
   Contributed by David Malcolm <dmalcolm@redhat.com>.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

GCC is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Hash traits for function_point.   

Member Typedef Documentation

◆ compare_type

typedef function_point pod_hash_traits< function_point >::compare_type
inherited

◆ value_type

typedef function_point pod_hash_traits< function_point >::value_type
inherited

Member Function Documentation

◆ equal() [1/2]

static bool pod_hash_traits< function_point >::equal ( const value_type & existing,
const value_type & candidate )
inlinestaticinherited

◆ equal() [2/2]

bool pod_hash_traits< function_point >::equal ( const value_type & existing,
const value_type & candidate )
inlineinherited

◆ hash() [1/2]

hashval_t pod_hash_traits< function_point >::hash ( value_type v)
inlineinherited

◆ hash() [2/2]

static hashval_t pod_hash_traits< function_point >::hash ( value_type )
inlinestaticinherited

◆ is_deleted() [1/2]

static bool pod_hash_traits< function_point >::is_deleted ( function_point )
inlinestaticinherited

◆ is_deleted() [2/2]

bool pod_hash_traits< function_point >::is_deleted ( value_type v)
inlineinherited

◆ is_empty() [1/2]

static bool pod_hash_traits< function_point >::is_empty ( function_point )
inlinestaticinherited

◆ is_empty() [2/2]

bool pod_hash_traits< function_point >::is_empty ( value_type v)
inlineinherited

◆ mark_deleted() [1/2]

static void pod_hash_traits< function_point >::mark_deleted ( function_point & )
inlinestaticinherited

◆ mark_deleted() [2/2]

void pod_hash_traits< function_point >::mark_deleted ( value_type & v)
inlineinherited

◆ mark_empty() [1/2]

static void pod_hash_traits< function_point >::mark_empty ( function_point & )
inlinestaticinherited

◆ mark_empty() [2/2]

void pod_hash_traits< function_point >::mark_empty ( value_type & v)
inlineinherited

◆ remove()

void typed_noop_remove< function_point >::remove ( function_point & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

const bool default_hash_traits< function_point >::empty_zero_p = false
static

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