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 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-2025 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()

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

References candidate().

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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: