|
GCC Middle and Back End API Reference
|
Public Member Functions | |
| slp_oprnds (stmt_vec_info) | |
| tree | get_op_for_slp_child (stmt_vec_info, unsigned) |
Data Fields | |
| const int * | opmap |
| const unsigned int | num_slp_children |
Helper class for mapping of GIMPLE operands to SLP children.
??? Add vect_slp_child_index_for_operand here and amend opmaps with the full reverse mapping and indicating the position of the first commutative operand index, eliding the swap_p argument from vect_get_operand_map. Adjust all consumers.
| slp_oprnds::slp_oprnds | ( | stmt_vec_info | stmt_info | ) |
References gimple_num_args(), num_slp_children, opmap, and vect_get_operand_map().
| tree slp_oprnds::get_op_for_slp_child | ( | stmt_vec_info | stmt_info, |
| unsigned | n ) |
For SLP child number N get the corresponding tree operand from GIMPLE statement described by STMT_INFO.
References GATHER_SCATTER_OFFSET, gcc_assert, gcc_unreachable, gimple_arg(), num_slp_children, opmap, and TREE_OPERAND.
Referenced by vect_bb_slp_mark_stmts_vectorized(), and vect_bb_slp_scalar_cost().
| const unsigned int slp_oprnds::num_slp_children |
Referenced by get_op_for_slp_child(), slp_oprnds(), vect_bb_slp_mark_stmts_vectorized(), and vect_bb_slp_scalar_cost().
| const int* slp_oprnds::opmap |
Referenced by get_op_for_slp_child(), and slp_oprnds().