Home
last modified time | relevance | path

Searched refs:vec_info (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vectorizer.h416 class vec_info {
421 vec_info (vec_kind, vec_info_shared *);
422 ~vec_info ();
479 is_a_helper <_loop_vec_info *>::test (vec_info *i)
481 return i->kind == vec_info::loop;
487 is_a_helper <_bb_vec_info *>::test (vec_info *i)
489 return i->kind == vec_info::bb;
621 typedef class _loop_vec_info : public vec_info {
972 typedef class _bb_vec_info : public vec_info
1458 vector_costs (vec_info *, bool);
[all …]
H A Dtree-vectorizer.cc462 vec_info::vec_info (vec_info::vec_kind kind_in, vec_info_shared *shared_) in vec_info() function in vec_info
470 vec_info::~vec_info () in ~vec_info()
519 vec_info::add_stmt (gimple *stmt) in add_stmt()
531 vec_info::add_pattern_stmt (gimple *stmt, stmt_vec_info stmt_info) in add_pattern_stmt()
544 vec_info::lookup_stmt (gimple *stmt) in lookup_stmt()
561 vec_info::lookup_def (tree name) in lookup_def()
574 vec_info::lookup_single_use (tree lhs) in lookup_single_use()
586 vec_info::lookup_dr (data_reference *dr) in lookup_dr()
598 vec_info::move_dr (stmt_vec_info new_stmt_info, stmt_vec_info old_stmt_info) in move_dr()
613 vec_info::remove_stmt (stmt_vec_info stmt_info) in remove_stmt()
[all …]
H A Dtree-vect-patterns.cc108 vect_init_pattern_stmt (vec_info *vinfo, gimple *pattern_stmt, in vect_init_pattern_stmt()
136 vect_set_pattern_stmt (vec_info *vinfo, gimple *pattern_stmt, in vect_set_pattern_stmt()
151 append_pattern_def_seq (vec_info *vinfo, in append_pattern_def_seq()
177 vect_get_external_def_edge (vec_info *vinfo, tree var) in vect_get_external_def_edge()
210 vect_supportable_direct_optab_p (vec_info *vinfo, tree otype, tree_code code, in vect_supportable_direct_optab_p()
251 vect_get_internal_def (vec_info *vinfo, tree op) in vect_get_internal_def()
267 type_conversion_p (vec_info *vinfo, tree name, bool check_sign, in type_conversion_p()
386 vect_look_through_possible_promotion (vec_info *vinfo, tree op, in vect_look_through_possible_promotion()
553 vect_widened_op_tree (vec_info *vinfo, stmt_vec_info stmt_info, tree_code code, in vect_widened_op_tree()
689 vect_split_statement (vec_info *vinfo, stmt_vec_info stmt2_info, tree new_rhs, in vect_split_statement()
[all …]
H A Dtree-vect-slp-patterns.cc495 void build (vec_info *);
523 complex_pattern::build (vec_info *vinfo) in build()
598 void build (vec_info *);
618 complex_add_pattern::build (vec_info *vinfo) in build()
980 void build (vec_info *);
1143 complex_mul_pattern::build (vec_info *vinfo) in build()
1210 void build (vec_info *);
1343 complex_fms_pattern::build (vec_info *vinfo) in build()
1386 void build (vec_info *);
1438 complex_operations_pattern::build (vec_info * /* vinfo */) in build() argument
[all …]
H A Dtree-vect-slp.cc53 static bool vectorizable_slp_permutation (vec_info *, gimple_stmt_iterator *,
379 can_duplicate_and_interleave_p (vec_info *vinfo, unsigned int count, in can_duplicate_and_interleave_p()
520 vect_get_and_check_slp_defs (vec_info *vinfo, unsigned char swap, in vect_get_and_check_slp_defs()
861 vect_record_max_nunits (vec_info *vinfo, stmt_vec_info stmt_info, in vect_record_max_nunits()
908 vect_build_slp_tree_1 (vec_info *vinfo, unsigned char *swap, in vect_build_slp_tree_1()
1421 vect_slp_linearize_chain (vec_info *vinfo, in vect_slp_linearize_chain()
1492 vect_build_slp_tree_2 (vec_info *vinfo, slp_tree node,
1499 vect_build_slp_tree (vec_info *vinfo, in vect_build_slp_tree()
1635 vect_build_slp_tree_2 (vec_info *vinfo, slp_tree node, in vect_build_slp_tree_2()
2823 vec_info *vinfo, unsigned int group_size, in optimize_load_redistribution_1()
[all …]
H A Dtree-vect-stmts.cc73 stmt_in_inner_loop_p (vec_info *vinfo, class _stmt_vec_info *stmt_info) in stmt_in_inner_loop_p()
160 read_vector_array (vec_info *vinfo, in read_vector_array()
187 write_vector_array (vec_info *vinfo, in write_vector_array()
221 vect_clobber_variable (vec_info *vinfo, stmt_vec_info stmt_info, in vect_clobber_variable()
831 vect_model_simple_cost (vec_info *, in vect_model_simple_cost() argument
943 vect_model_store_cost (vec_info *vinfo, stmt_vec_info stmt_info, int ncopies, in vect_model_store_cost()
1060 vect_get_store_cost (vec_info *, stmt_vec_info stmt_info, int ncopies, in vect_get_store_cost() argument
1117 vect_model_load_cost (vec_info *vinfo, in vect_model_load_cost()
1258 vect_get_load_cost (vec_info *, stmt_vec_info stmt_info, int ncopies, in vect_get_load_cost() argument
1371 vect_init_vector_1 (vec_info *vinfo, stmt_vec_info stmt_vinfo, gimple *new_stmt, in vect_init_vector_1()
[all …]
H A Dtree-vect-data-refs.cc629 vect_slp_analyze_data_ref_dependence (vec_info *vinfo, in vect_slp_analyze_data_ref_dependence()
678 vect_slp_analyze_store_dependences (vec_info *vinfo, slp_tree node) in vect_slp_analyze_store_dependences()
736 vect_slp_analyze_load_dependences (vec_info *vinfo, slp_tree node, in vect_slp_analyze_load_dependences()
850 vect_slp_analyze_instance_dependence (vec_info *vinfo, slp_instance instance) in vect_slp_analyze_instance_dependence()
944 vect_record_base_alignment (vec_info *vinfo, stmt_vec_info stmt_info, in vect_record_base_alignment()
975 vect_record_base_alignments (vec_info *vinfo) in vect_record_base_alignments()
1010 vect_compute_data_ref_alignment (vec_info *vinfo, dr_vec_info *dr_info, in vect_compute_data_ref_alignment()
1399 vect_get_data_access_cost (vec_info *vinfo, dr_vec_info *dr_info, in vect_get_data_access_cost()
1440 vec_info *vinfo;
2559 vect_slp_analyze_node_alignment (vec_info *vinfo, slp_tree node) in vect_slp_analyze_node_alignment()
[all …]
H A Dtarget.h148 extern bool stmt_in_inner_loop_p (class vec_info *, class _stmt_vec_info *);
H A Dtree-vect-loop.cc167 vect_determine_vf_for_stmt_1 (vec_info *vinfo, stmt_vec_info stmt_info, in vect_determine_vf_for_stmt_1()
214 vect_determine_vf_for_stmt (vec_info *vinfo, in vect_determine_vf_for_stmt()
819 : vec_info (vec_info::loop, shared), in _loop_vec_info()
4902 info_for_reduction (vec_info *vinfo, stmt_vec_info stmt_info) in info_for_reduction()
7956 vectorizable_phi (vec_info *, in vectorizable_phi() argument
8743 vectorizable_live_operation (vec_info *vinfo, in vectorizable_live_operation()
H A DChangeLog-201814592 * tree-vectorizer.c (vec_info::set_vinfo_for_stmt): Likewise.
14593 (vec_info::free_stmt_vec_infos): Likewise.
14602 * tree-vectorizer.h (vec_info::new_vinfo_for_stmt)
14603 (vec_info::set_vinfo_for_stmt, vec_info::free_stmt_vec_infos)
14604 (vec_info::free_stmt_vec_info): New private member functions.
14613 * tree-vectorizer.c (vec_info::new_stmt_vec_info)
14614 (vec_info::set_vinfo_for_stmt, vec_info::free_stmt_vec_infos)
14615 (vec_info::free_stmt_vec_info): ...these new functions. Remove
14616 assignments in {vec_info::,}new_stmt_vec_info that are redundant
14619 (vec_info::vec_info): Don't call set_stmt_vec_info_vec.
[all …]
H A DChangeLog-20194426 * tree-vectorizer.h (vec_info::mode_set): New typedef.
4427 (vec_info::used_vector_mode): New member variable.
4430 chosen vector mode in vec_info::used_vector_mode.
4440 * tree-vectorizer.h (vec_info::vector_mode): Update comment.
4479 * tree-vectorizer.h (vec_info::vector_size): Replace with...
4480 (vec_info::vector_mode): ...this new field.
4606 vec_info parameter.
4607 (vect_halve_mask_nunits): Replace vec_info parameter with the
4617 * tree-vect-stmts.c (supportable_narrowing_operation): Remove vec_info
4620 (simple_integer_narrowing): Likewise. Remove vec_info parameter.
[all …]
H A DChangeLog-20215467 * tree-vectorizer.h (vec_info::target_cost_data): Replace with...
5470 * tree-vectorizer.c (vec_info::vec_info): Remove target_cost_data
5472 (vec_info::~vec_info): Remove corresponding delete.
7419 * tree-vectorizer.h (vec_info::vec_info): Remove target_cost_data
7421 (vec_info::target_cost_data): Change from a void * to a vector_costs *.
7423 (init_cost): Take a vec_info and return a vector_costs.
7431 (vec_info::vec_info): Remove the target_cost_data parameter and
7433 (vec_info::~vec_info): Delete target_cost_data instead of calling
7440 call to vec_info::vec_info.
7449 to vec_info::vec_info.
[all …]
H A DChangeLog-20201210 * tree-vectorizer.c (vec_info::add_pattern_stmt): New.
1211 (vec_info::set_vinfo_for_stmt): Optionally enforce read-only.
7770 * tree-vectorizer.c (vec_info::new_stmt_vec_info): Only
9493 * tree-vectorizer.c (vec_info::new_stmt_vec_info): Do not
9495 (vec_info::free_stmt_vec_info): Do not release
10104 * tree-vectorizer.c (vec_info::remove_stmt): Simplify again.
10105 (vec_info::insert_seq_on_entry): Adjust.
11909 * tree-vectorizer.h (vec_info::slp_loads): Remove.
13051 * tree-vectorizer.c (vec_info::~vec_info): Adjust.
13454 * tree-vectorizer.c (vec_info::remove_stmt): Adjust
[all …]
H A DChangeLog-201714506 with a vec_info *.
14509 * tree-vect-slp.c (vect_slp_analyze_node_operations): Add vec_info *
14512 (vect_slp_analyze_operations): Replace parameters with a vec_info *.
21387 (vec_info): Add a base_alignments field.
21413 * tree-vectorizer.h (vec_info): Add a constructor and destructor.
21423 (vec_info::vec_info): New function.
21424 (vec_info::~vec_info): Likewise.
21432 the stmt_vec_infos. Leave handling of vec_info information to its
21440 (_bb_vec_info::~_bb_vec_info): ...this. Leave handling of vec_info
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vectorizer.h301 class vec_info {
306 vec_info (vec_kind, void *, vec_info_shared *);
307 ~vec_info ();
362 is_a_helper <_loop_vec_info *>::test (vec_info *i)
364 return i->kind == vec_info::loop;
370 is_a_helper <_bb_vec_info *>::test (vec_info *i)
372 return i->kind == vec_info::bb;
477 typedef class _loop_vec_info : public vec_info {
758 typedef class _bb_vec_info : public vec_info
949 vec_info *vinfo;
[all …]
H A Dtree-vectorizer.c460 vec_info::vec_info (vec_info::vec_kind kind_in, void *target_cost_data_in, in vec_info() function
469 vec_info::~vec_info () in ~vec_info()
520 vec_info::add_stmt (gimple *stmt) in add_stmt()
532 vec_info::lookup_stmt (gimple *stmt) in lookup_stmt()
549 vec_info::lookup_def (tree name) in lookup_def()
562 vec_info::lookup_single_use (tree lhs) in lookup_single_use()
574 vec_info::lookup_dr (data_reference *dr) in lookup_dr()
586 vec_info::move_dr (stmt_vec_info new_stmt_info, stmt_vec_info old_stmt_info) in move_dr()
601 vec_info::remove_stmt (stmt_vec_info stmt_info) in remove_stmt()
617 vec_info::replace_stmt (gimple_stmt_iterator *gsi, stmt_vec_info stmt_info, in replace_stmt()
[all …]
H A Dtree-vect-patterns.c104 vec_info *vinfo = orig_stmt_info->vinfo; in vect_init_pattern_stmt()
150 vec_info *vinfo = stmt_info->vinfo;
170 vect_get_external_def_edge (vec_info *vinfo, tree var) in vect_get_external_def_edge()
203 vect_supportable_direct_optab_p (vec_info *vinfo, tree otype, tree_code code,
243 vect_get_internal_def (vec_info *vinfo, tree op) in vect_get_internal_def()
379 vect_look_through_possible_promotion (vec_info *vinfo, tree op,
547 vec_info *vinfo = stmt_info->vinfo; in vect_widened_op_tree()
651 vec_info *vinfo = stmt2_info->vinfo; in vect_split_statement()
732 vec_info *vinfo = stmt_info->vinfo; in vect_convert_input()
939 vec_info *vinfo = stmt_vinfo->vinfo; in vect_recog_dot_prod_pattern()
[all …]
H A Dtree-vect-slp.c274 can_duplicate_and_interleave_p (vec_info *vinfo, unsigned int count, in can_duplicate_and_interleave_p()
355 vect_get_and_check_slp_defs (vec_info *vinfo, unsigned char *swap, in vect_get_and_check_slp_defs()
792 vec_info *vinfo = stmt_info->vinfo; in vect_build_slp_tree_1()
1179 vect_build_slp_tree_2 (vec_info *vinfo,
1186 vect_build_slp_tree (vec_info *vinfo, in vect_build_slp_tree()
1227 vect_build_slp_tree_2 (vec_info *vinfo, in vect_build_slp_tree_2()
2135 vect_analyze_slp_instance (vec_info *vinfo, in vect_analyze_slp_instance()
2467 vect_analyze_slp (vec_info *vinfo, unsigned max_tree_size) in vect_analyze_slp()
2680 : vec_info (vec_info::bb, init_cost (NULL), shared), in _bb_vec_info()
2717 vect_slp_analyze_node_operations_1 (vec_info *vinfo, slp_tree node, in vect_slp_analyze_node_operations_1()
[all …]
H A Dtree-vect-stmts.c794 vec_info *vinfo = stmt_info->vinfo; in vect_prologue_cost_for_slp_op()
1677 vect_get_vec_def_for_stmt_copy (vec_info *vinfo, tree vec_oprnd) in vect_get_vec_def_for_stmt_copy()
1698 vect_get_vec_defs_for_stmt_copy (vec_info *vinfo, in vect_get_vec_defs_for_stmt_copy()
1756 vec_info *vinfo = stmt_info->vinfo; in vect_finish_stmt_generation_1()
2294 vec_info *vinfo = stmt_info->vinfo; in get_group_load_store_type()
2504 vec_info *vinfo = stmt_info->vinfo; in get_load_store_type()
2595 vec_info *vinfo = stmt_info->vinfo; in vect_check_scalar_mask()
3097 vec_info *vinfo = stmt_info->vinfo; in vectorizable_bswap()
3248 vec_info *vinfo = stmt_info->vinfo; in vectorizable_call()
3905 vec_info *vinfo = stmt_info->vinfo; in vectorizable_simd_clone_call()
[all …]
H A Dtree-vect-data-refs.c647 vect_slp_analyze_data_ref_dependence (vec_info *vinfo, in vect_slp_analyze_data_ref_dependence()
706 vec_info *vinfo = last_access_info->vinfo; in vect_slp_analyze_node_dependences()
837 vec_info *vinfo = stmt_info->vinfo; in vect_record_base_alignment()
866 vect_record_base_alignments (vec_info *vinfo) in vect_record_base_alignments()
2334 vect_find_same_alignment_drs (vec_info *vinfo, data_dependence_relation *ddr) in vect_find_same_alignment_drs()
2937 vect_analyze_data_ref_accesses (vec_info *vinfo) in vect_analyze_data_ref_accesses()
3694 vect_gather_scatter_fn_p (vec_info *vinfo, bool read_p, bool masked_p, in vect_gather_scatter_fn_p()
4205 vect_analyze_data_refs (vec_info *vinfo, poly_uint64 *min_vf, bool *fatal) in vect_analyze_data_refs()
6413 vec_info *vinfo = stmt_info->vinfo; in vect_record_grouped_load_vectors()
H A Dtree-vect-loop.c212 vec_info *vinfo = stmt_info->vinfo; in vect_determine_vf_for_stmt()
790 : vec_info (vec_info::loop, init_cost (loop_in), shared), in _loop_vec_info()
4327 vec_info *vinfo = stmt_vinfo->vinfo; in get_initial_defs_for_reduction()
7355 vect_worthwhile_without_simd_p (vec_info *vinfo, tree_code code) in vect_worthwhile_without_simd_p()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64.cc15771 aarch64_vector_costs (vec_info *, bool);
15874 aarch64_vector_costs::aarch64_vector_costs (vec_info *vinfo, in aarch64_vector_costs()
15894 aarch64_vectorize_create_costs (vec_info *vinfo, bool costing_for_scalar) in aarch64_vectorize_create_costs()
16154 aarch64_multiply_add_p (vec_info *vinfo, stmt_vec_info stmt_info, in aarch64_multiply_add_p()
16209 aarch64_sve_in_loop_reduction_latency (vec_info *vinfo, in aarch64_sve_in_loop_reduction_latency()
16253 aarch64_in_loop_reduction_latency (vec_info *vinfo, stmt_vec_info stmt_info, in aarch64_in_loop_reduction_latency()
16294 aarch64_detect_scalar_stmt_subtype (vec_info *vinfo, vect_cost_for_stmt kind, in aarch64_detect_scalar_stmt_subtype()
16313 aarch64_detect_vector_stmt_subtype (vec_info *vinfo, vect_cost_for_stmt kind, in aarch64_detect_vector_stmt_subtype()
16408 aarch64_sve_adjust_stmt_cost (class vec_info *vinfo, vect_cost_for_stmt kind, in aarch64_sve_adjust_stmt_cost()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000.c5203 loop_vec_info vec_info = loop_vec_info_for_loop (cost_data->loop_info); in rs6000_finish_cost() local
5205 && LOOP_VINFO_VECT_FACTOR (vec_info) == 2 in rs6000_finish_cost()
5206 && LOOP_REQUIRES_VERSIONING (vec_info)) in rs6000_finish_cost()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386.cc23151 ix86_vectorize_create_costs (vec_info *vinfo, bool costing_for_scalar) in ix86_vectorize_create_costs()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000.cc5304 rs6000_vectorize_create_costs (vec_info *vinfo, bool costing_for_scalar) in rs6000_vectorize_create_costs()

12