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

Data Fields

struct linknext
int pos
int vecelt

Detailed Description

Generate code from machine description to perform peephole optimizations. Copyright (C) 1987-2025 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/>.
While tree-walking an instruction pattern, we keep a chain of these `struct link's to record how to get down to the current position. In each one, POS is the operand number, and if the operand is a vector VEC is the element number. VEC is -1 if the operand is not a vector.

Field Documentation

◆ next

◆ pos

int link::pos

Referenced by match_rtx().

◆ vecelt

int link::vecelt

Referenced by match_rtx().


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