GCC Middle and Back End API Reference
expr_eval_op Struct Reference

#include <ipa-predicate.h>

Data Fields

tree type
 
tree val [2]
 
unsigned index: 2
 
enum tree_code code: 16
 

Detailed Description

IPA predicates. Copyright (C) 2003-2025 Free Software Foundation, Inc. Contributed by Jan Hubicka 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/>.
Representation of inline parameters that do depend on context function is inlined into (i.e. known constant values of function parameters. Conditions that are interesting for function body are collected into CONDS vector. They are of simple as kind of a mathematical transformation on function parameter, T(function_param), in which the parameter occurs only once, and other operands are IPA invariant. The conditions are then referred by predicates.
A simplified representation of tree node, for unary, binary and ternary operation. Computations on parameter are decomposed to a series of this kind of structure.

Field Documentation

◆ code

◆ index

◆ type

◆ val


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