GCC Middle and Back End API Reference
|
#include <gimple-match.h>
Data Fields | |
gimple_match_cond | cond |
code_helper | code |
tree | type |
bool | reverse |
unsigned int | num_ops |
tree | ops [MAX_NUM_OPS] |
Static Public Attributes | |
static const unsigned int | MAX_NUM_OPS = 7 |
Represents an operation to be simplified, or the result of the simplification.
|
inline |
|
inline |
Constructor that takes the condition, code, type and number of operands, but leaves the caller to fill in the operands.
|
inline |
Constructors for various numbers of operands.
References ops.
|
inline |
References ops.
|
inline |
References ops.
|
inline |
References ggc_alloc(), and ops.
|
inline |
References ggc_alloc(), and ops.
|
inline |
References ggc_alloc(), and ops.
|
inline |
References ggc_alloc(), and ops.
bool gimple_match_op::resimplify | ( | gimple_seq * | seq, |
tree(*)(tree) | valueize ) |
Match and simplify the toplevel valueized operation THIS. Replaces THIS with a simplified and/or canonicalized result and returns whether any change was made.
References gcc_unreachable, ggc_alloc(), gimple_resimplify1(), gimple_resimplify2(), gimple_resimplify3(), gimple_resimplify4(), gimple_resimplify5(), gimple_resimplify6(), gimple_resimplify7(), and num_ops.
Referenced by gimple_simplify_phiopt(), and maybe_fold_comparisons_from_match_pd().
|
inline |
Functions for changing the operation performed, for various numbers of operands.
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, ops, and reverse.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
References code, ggc_alloc(), num_ops, and ops.
|
inline |
Change the operation performed to CODE_IN, the type of the result to TYPE_IN, and the number of operands to NUM_OPS_IN. The caller needs to set the operands itself.
References code, ggc_alloc(), and num_ops.
Referenced by set_value().
code_helper gimple_match_op::code |
Referenced by check_reduction_path(), gimple_simplified_result_is_gimple_val(), maybe_fold_comparisons_from_match_pd(), phiopt_early_allow(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), vect_is_simple_reduction(), vect_model_reduction_cost(), vect_transform_reduction(), and vectorizable_reduction().
gimple_match_cond gimple_match_op::cond |
Referenced by vn_nary_simplify().
unsigned int gimple_match_op::num_ops |
tree gimple_match_op::ops[MAX_NUM_OPS] |
Referenced by check_reduction_path(), gimple_match_op(), gimple_match_op(), gimple_match_op(), gimple_match_op(), gimple_match_op(), gimple_match_op(), gimple_match_op(), gimple_simplified_result_is_gimple_val(), maybe_fold_comparisons_from_match_pd(), op_or_null(), phiopt_early_allow(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), set_op(), vect_mark_pattern_stmts(), vect_transform_reduction(), vectorizable_reduction(), and vn_nary_simplify().
tree gimple_match_op::type |