GCC Middle and Back End API Reference
insn_hasher Struct Reference
Inheritance diagram for insn_hasher:
Collaboration diagram for insn_hasher:

Public Types

typedef rtx value_type
 
typedef const charcompare_type
 

Static Public Member Functions

static hashval_t hash (rtx)
 
static bool equal (rtx, const char *)
 
static hashval_t hash (const value_type &)
 
static bool equal (const value_type &existing, const compare_type &candidate)
 
static void mark_deleted (Type *&)
 
static void mark_empty (Type *&)
 
static bool is_deleted (Type *)
 
static bool is_empty (Type *)
 
static void remove (Type &)
 

Static Public Attributes

static const bool empty_zero_p = true
 

Detailed Description

Generate insn-target-def.h, an automatically-generated part of targetm.
   Copyright (C) 1987-2024 Free Software Foundation, Inc.

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/>.   
This class hashes define_insns and define_expands by name.   

Member Typedef Documentation

◆ compare_type

◆ value_type

Member Function Documentation

◆ equal() [1/2]

template<typename Type >
bool pointer_hash< Type >::equal ( const value_type & existing,
const compare_type & candidate )
inlinestaticinherited

References candidate(), and ggc_alloc().

◆ equal() [2/2]

bool insn_hasher::equal ( rtx x,
const char * y )
inlinestatic

References ggc_alloc(), XSTR, and y.

◆ hash() [1/2]

template<typename Type >
hashval_t pointer_hash< Type >::hash ( const value_type & candidate)
inlinestaticinherited

References candidate(), and ggc_alloc().

◆ hash() [2/2]

hashval_t insn_hasher::hash ( rtx x)
inlinestatic

References ggc_alloc(), and XSTR.

◆ is_deleted()

template<typename Type >
bool pointer_hash< Type >::is_deleted ( Type * e)
inlinestaticinherited

References ggc_alloc().

◆ is_empty()

template<typename Type >
bool pointer_hash< Type >::is_empty ( Type * e)
inlinestaticinherited

References NULL.

◆ mark_deleted()

template<typename Type >
void pointer_hash< Type >::mark_deleted ( Type *& e)
inlinestaticinherited

References ggc_alloc().

◆ mark_empty()

template<typename Type >
void pointer_hash< Type >::mark_empty ( Type *& e)
inlinestaticinherited

References NULL.

◆ remove()

template<typename Type >
void typed_noop_remove< Type >::remove ( Type & )
inlinestaticinherited
Remove doing nothing.   

Field Documentation

◆ empty_zero_p

template<typename Type >
const bool pointer_hash< Type >::empty_zero_p = true
staticinherited

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