GCC Middle and Back End API Reference
omp-low.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tree omp_reduction_init_op (location_t, enum tree_code, tree)
 
tree omp_reduction_init (tree, tree)
 
tree omp_member_access_dummy_var (tree)
 
tree omp_find_combined_for (gimple_stmt_iterator *gsi_p, bool *handled_ops_p, struct walk_stmt_info *wi)
 

Function Documentation

◆ omp_find_combined_for()

tree omp_find_combined_for ( gimple_stmt_iterator * gsi_p,
bool * handled_ops_p,
struct walk_stmt_info * wi )
extern
Callback for walk_gimple_seq.  Check if combined parallel
contains gimple_omp_for_combined_into_p OMP_FOR.   

References ggc_alloc(), gimple_omp_for_combined_into_p(), gimple_omp_for_kind(), gsi_stmt(), integer_zero_node, NULL, and WALK_SUBSTMTS.

Referenced by add_taskreg_looptemp_clauses().

◆ omp_member_access_dummy_var()

◆ omp_reduction_init()

tree omp_reduction_init ( tree clause,
tree type )
extern
Construct the initialization value for reduction CLAUSE.   

References ggc_alloc(), OMP_CLAUSE_LOCATION, OMP_CLAUSE_REDUCTION_CODE, and omp_reduction_init_op().

Referenced by lower_omp_for_scan(), lower_omp_scan(), and lower_rec_input_clauses().

◆ omp_reduction_init_op()

tree omp_reduction_init_op ( location_t loc,
enum tree_code op,
tree type )
extern
Header file for openMP lowering directives.
   Copyright (C) 2013-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/>.   
Construct the initialization value for reduction operation OP.   

References build_real(), build_zero_cst(), dconstinf, fold_convert_loc(), gcc_assert, gcc_unreachable, ggc_alloc(), HONOR_INFINITIES(), integer_minus_one_node, integer_one_node, INTEGRAL_TYPE_P, wi::max_value(), wi::min_value(), NULL, POINTER_TYPE_P, real_arithmetic(), real_maxval(), REAL_VALUE_TYPE, SCALAR_FLOAT_TYPE_P, TYPE_MAX_VALUE, TYPE_MIN_VALUE, TYPE_MODE, TYPE_PRECISION, TYPE_SIGN, and wide_int_to_tree().

Referenced by initialize_reductions(), lower_oacc_reductions(), and omp_reduction_init().