Home
last modified time | relevance | path

Searched refs:num_comp (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_copy_propagate.c38 unsigned num_comp = instr->dest.dest.ssa.num_components; in is_swizzleless_move() local
40 if (instr->src[0].src.ssa->num_components != num_comp) in is_swizzleless_move()
44 for (unsigned i = 0; i < num_comp; i++) { in is_swizzleless_move()
49 for (unsigned i = 0; i < num_comp; i++) { in is_swizzleless_move()
69 unsigned num_comp = mov->dest.dest.ssa.num_components; in rewrite_to_vec() local
70 nir_alu_instr *new_vec = nir_alu_instr_create(b.shader, nir_op_vec(num_comp)); in rewrite_to_vec()
71 for (unsigned i = 0; i < num_comp; i++) in rewrite_to_vec()
90 unsigned num_comp = nir_ssa_alu_instr_src_components(user, src_idx); in copy_propagate_alu() local
95 for (unsigned i = 0; i < num_comp; i++) in copy_propagate_alu()
100 for (unsigned i = 1; i < num_comp; i++) { in copy_propagate_alu()
[all …]
Dnir_lower_wrmasks.c106 unsigned num_comp = nir_intrinsic_src_components(intr, value_idx); in split_wrmask() local
113 nir_ssa_def *value = nir_ssa_for_src(b, intr->src[value_idx], num_comp); in split_wrmask()
Dnir_opt_phi_precision.c415 unsigned num_comp = nir_dest_num_components(alu->dest.dest); in try_move_widening_src() local
416 new_src = nir_mov_alu(b, alu->src[0], num_comp); in try_move_widening_src()
/third_party/boost/libs/graph/example/
Droget_components.cpp72 int num_comp = strong_components(g, in main() local
78 std::vector< std::vector< vertex_t > > strong_comp(num_comp); in main()
95 for (c = 0; c < num_comp; ++c) in main()
121 std::vector< int > mark(num_comp, (std::numeric_limits< int >::max)()); in main()
125 for (c = num_comp - 1; c >= 0; --c) in main()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_print.c123 unsigned num_comp = util_bitcount(comp_mask); in mir_print_embedded_constant() local
129 if (num_comp > 1) in mir_print_embedded_constant()
130 printf("vec%d(", num_comp); in mir_print_embedded_constant()
146 if (num_comp > 1) in mir_print_embedded_constant()
Ddisassemble.c558 unsigned comp_mask, num_comp = 0; in print_vector_constants() local
564 num_comp = util_bitcount(comp_mask); in print_vector_constants()
637 if (num_comp > 1) in print_vector_constants()
855 unsigned num_comp = util_bitcount(comp_mask); in print_vector_field() local
856 if (num_comp != 1) in print_vector_field()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_fs_out_to_vector.cpp108 int first_comp, int num_comp);
433 int first_comp, int num_comp) in create_combined_vector() argument
436 switch (num_comp) { in create_combined_vector()
448 while (i < num_comp) { in create_combined_vector()
450 for(uint8_t kk = 0; kk < s->num_components && i < num_comp; ++kk) { in create_combined_vector()
458 nir_ssa_dest_init(&instr->instr, &instr->dest.dest, num_comp, 32, NULL); in create_combined_vector()
459 instr->dest.write_mask = (1 << num_comp) - 1; in create_combined_vector()
/third_party/boost/boost/graph/distributed/
Dconnected_components.hpp173 std::size_t num_comp = connected_components(mg, mg_component); in build_local_metagraph() local
176 std::vector<meta_vertex_descriptor> roots(num_comp, graph_traits<metaGraph>::null_vertex()); in build_local_metagraph()
344 std::size_t num_comp = connected_components(ls, ls_component); in parallel_connected_components() local
347 roots(num_comp, graph_traits<DistributedGraph>::null_vertex()); in parallel_connected_components()
Dstrong_components.hpp229 int num_comp = boost::strong_components(ls, ls_component); in fleischer_hendrickson_pinar_strong_components() local
243 for( std::size_t i = 0; i < num_comp; ++i ) { in fleischer_hendrickson_pinar_strong_components()