GCC Middle and Back End API Reference
gimple_match_cond Class Reference

#include <gimple-match.h>

Public Types

enum  uncond { UNCOND }
 

Public Member Functions

 gimple_match_cond (uncond)
 
 gimple_match_cond (tree, tree)
 
 gimple_match_cond (tree, tree, tree, tree)
 
gimple_match_cond any_else () const
 

Data Fields

tree cond
 
tree else_value
 
tree len
 
tree bias
 

Detailed Description

Gimple simplify definitions.

   Copyright (C) 2011-2024 Free Software Foundation, Inc.
   Contributed by Richard Guenther <rguenther@suse.de>

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/>.   
Represents the condition under which an operation should happen,
and the value to use otherwise.  The condition applies elementwise
(as for VEC_COND_EXPR) if the values are vectors.   

Member Enumeration Documentation

◆ uncond

Enumerator
UNCOND 

Constructor & Destructor Documentation

◆ gimple_match_cond() [1/3]

gimple_match_cond::gimple_match_cond ( uncond )
inline

Referenced by any_else().

◆ gimple_match_cond() [2/3]

gimple_match_cond::gimple_match_cond ( tree cond_in,
tree else_value_in )
inline

◆ gimple_match_cond() [3/3]

gimple_match_cond::gimple_match_cond ( tree cond_in,
tree else_value_in,
tree len_in,
tree bias_in )
inline

Member Function Documentation

◆ any_else()

gimple_match_cond gimple_match_cond::any_else ( ) const
inline
Return a gimple_match_cond with the same condition but with an
arbitrary ELSE_VALUE.   

References cond, gimple_match_cond(), and NULL_TREE.

Field Documentation

◆ bias

tree gimple_match_cond::bias

◆ cond

◆ else_value

tree gimple_match_cond::else_value

◆ len

tree gimple_match_cond::len

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