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!=(), operator!=(), operator==(), and operator==().
|
inline |
References rep.
|
inline |
References as_combined_fn(), and rep.
|
inline |
References rep.
|
inline |
References builtin_fn_p(), and is_fn_code().
|
inline |
References rep.
Referenced by is_builtin_fn(), is_internal_fn(), replace_stmt_with_simplification(), and safe_as_fn_code().
|
inline |
References internal_fn_p(), and is_fn_code().
Referenced by check_reduction_path(), gimple_simplify(), vect_gimple_build(), and vectorizable_reduction().
|
inline |
References rep.
Referenced by convert_conditional_op(), gimple_resimplify1(), gimple_resimplify2(), gimple_resimplify3(), gimple_simplified_result_is_gimple_val(), maybe_fold_comparisons_from_match_pd(), maybe_push_res_to_seq(), maybe_resimplify_conditional_op(), phiopt_early_allow(), predicate_bbs(), replace_stmt_with_simplification(), safe_as_tree_code(), vect_build_slp_tree_1(), vect_gimple_build(), vectorizable_reduction(), vn_lookup_simplify_result(), and vn_nary_simplify().
|
inlineexplicit |
References as_builtin_fn().
|
inlineexplicit |
References rep.
|
inlineexplicit |
References as_internal_fn().
|
inline |
References code_helper(), and rep.
References code_helper(), and rep.
|
inline |
References code_helper(), and 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.
|
private |
Referenced by code_helper(), code_helper(), code_helper(), get_rep(), is_fn_code(), is_tree_code(), operator combined_fn(), operator tree_code(), operator!=(), operator!=(), operator==(), and operator==().