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
 

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 (Type &)
 

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

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

◆ hash()

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

◆ is_deleted()

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

◆ is_empty()

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

◆ mark_deleted()

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

◆ mark_empty()

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

◆ remove()

template<typename Type >
void typed_noop_remove< Type >::remove ( Type & )
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: