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 char * compare_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 (rtx_def *&)
 
static void mark_empty (rtx_def *&)
 
static bool is_deleted (rtx_def *)
 
static bool is_empty (rtx_def *)
 
static void remove (rtx_def *&)
 

Static Public Attributes

static const bool empty_zero_p
 

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]

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

References XSTR, and y.

◆ equal() [2/2]

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

◆ hash() [1/2]

hashval_t insn_hasher::hash ( rtx x)
inlinestatic

References XSTR.

◆ hash() [2/2]

hashval_t pointer_hash< rtx_def >::hash ( const value_type & candidate)
inlinestaticinherited

◆ is_deleted()

bool pointer_hash< rtx_def >::is_deleted ( rtx_def * e)
inlinestaticinherited

◆ is_empty()

bool pointer_hash< rtx_def >::is_empty ( rtx_def * e)
inlinestaticinherited

◆ mark_deleted()

void pointer_hash< rtx_def >::mark_deleted ( rtx_def *& e)
inlinestaticinherited

◆ mark_empty()

void pointer_hash< rtx_def >::mark_empty ( rtx_def *& e)
inlinestaticinherited

◆ remove()

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

Field Documentation

◆ empty_zero_p

const bool pointer_hash< rtx_def >::empty_zero_p
staticinherited

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