GCC Middle and Back End API Reference
|
#include <tree.h>
Public Member Functions | |
code_helper () | |
code_helper (tree_code code) | |
code_helper (combined_fn fn) | |
code_helper (internal_fn fn) | |
operator tree_code () const | |
operator combined_fn () const | |
operator internal_fn () const | |
operator built_in_function () const | |
bool | is_tree_code () const |
bool | is_fn_code () const |
bool | is_internal_fn () const |
bool | is_builtin_fn () const |
int | get_rep () const |
tree_code | safe_as_tree_code () const |
combined_fn | safe_as_fn_code () const |
bool | operator== (const code_helper &other) |
bool | operator!= (const code_helper &other) |
bool | operator== (tree_code c) |
bool | operator!= (tree_code c) |
Private Attributes | |
int | rep |
Helper to transparently allow tree codes and builtin function codes exist in one storage entity.
|
inline |
Referenced by operator!=(), and operator==().
|
inline |
|
inline |
|
inline |
|
inline |
References rep.
|
inline |
References builtin_fn_p(), and is_fn_code().
|
inline |
References rep.
Referenced by canonicalize_code(), is_builtin_fn(), is_internal_fn(), replace_stmt_with_simplification(), safe_as_fn_code(), and widening_fn_p().
|
inline |
References internal_fn_p(), and is_fn_code().
Referenced by check_reduction_path(), gimple_simplify(), vect_gimple_build(), vect_transform_reduction(), and vectorizable_reduction().
|
inline |
References rep.
Referenced by associative_binary_op_p(), commutative_binary_op_p(), commutative_ternary_op_p(), convert_conditional_op(), directly_supported_p(), directly_supported_p(), first_commutative_argument(), get_conditional_internal_fn(), gimple_build(), gimple_build(), gimple_build(), gimple_resimplify1(), gimple_resimplify2(), gimple_resimplify3(), gimple_simplified_result_is_gimple_val(), gimple_simplify(), maybe_fold_comparisons_from_match_pd(), maybe_push_res_to_seq(), maybe_resimplify_conditional_op(), needs_fold_left_reduction_p(), neutral_op_for_reduction(), phiopt_early_allow(), predicate_bbs(), reduction_fn_for_scalar_code(), replace_stmt_with_simplification(), safe_as_tree_code(), supportable_narrowing_operation(), supportable_widening_operation(), use_mask_by_cond_expr_p(), vect_build_slp_tree_1(), vect_can_vectorize_without_simd_p(), vect_gimple_build(), vect_transform_reduction(), vectorizable_conversion(), vectorize_fold_left_reduction(), and vn_lookup_simplify_result().
|
inlineexplicit |
References as_builtin_fn().
|
inlineexplicit |
References rep.
|
inlineexplicit |
References as_internal_fn().
|
inline |
References rep.
References code_helper(), and rep.
|
inline |
References rep.
References code_helper(), and rep.
|
inline |
Helper function that returns the combined_fn representation of THIS code_helper if it is a fn_code and CFN_LAST otherwise. This is useful when passing a code_helper to a combined_fn only check.
References is_fn_code().
|
inline |
Helper function that returns the tree_code representation of THIS code_helper if it is a tree_code and MAX_TREE_CODES otherwise. This is useful when passing a code_helper to a tree_code only check.
References is_tree_code(), and MAX_TREE_CODES.
Referenced by supportable_widening_operation().
|
private |
Referenced by get_rep(), is_fn_code(), is_tree_code(), operator combined_fn(), operator tree_code(), operator!=(), operator!=(), operator==(), and operator==().