Home
last modified time | relevance | path

Searched refs:latch (Results 1 – 25 of 222) sorted by relevance

123456789

/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dlatch2 //===--------------------------- latch -----------------------------------===//
14 latch synopsis
19 class latch
24 constexpr explicit latch(ptrdiff_t __expected);
25 ~latch();
27 latch(const latch&) = delete;
28 latch& operator=(const latch&) = delete;
52 # error <latch> is not supported on this single threaded system
62 class latch
72 constexpr explicit latch(ptrdiff_t __expected) : __a(__expected) { }
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dcfgloop.cc125 if (loop->latch) in flow_loop_dump()
126 fprintf (file, "latch %d\n", loop->latch->index); in flow_loop_dump()
141 if (loop->latch) in flow_loop_dump()
236 edge latch; in flow_loop_nodes_find() local
241 FOR_EACH_EDGE (latch, latch_ei, loop->header->preds) in flow_loop_nodes_find()
243 if (latch->src->loop_father == loop in flow_loop_nodes_find()
244 || !dominated_by_p (CDI_DOMINATORS, latch->src, loop->header)) in flow_loop_nodes_find()
248 stack.safe_push (latch->src); in flow_loop_nodes_find()
249 latch->src->loop_father = loop; in flow_loop_nodes_find()
376 root->latch = EXIT_BLOCK_PTR_FOR_FN (fn); in init_loops_structure()
[all …]
H A Dcfgloopmanip.cc339 if (dominated_by_p (CDI_DOMINATORS, l->latch, e->dest)) in remove_path()
572 && other_e->dest != loop->latch in scale_loop_profile()
601 if (loop->latch && loop->latch != e->src) in scale_loop_profile()
602 loop->latch->count += count_delta; in scale_loop_profile()
608 if (loop->latch && loop->latch != e->src) in scale_loop_profile()
609 loop->latch->count -= count_delta; in scale_loop_profile()
800 loop->latch = loop_latch; in create_empty_loop_on_edge()
866 basic_block latch = loop->latch; in unloop() local
898 remove_edge (single_succ_edge (latch)); in unloop()
903 fix_bb_placements (latch, &dummy, loop_closed_ssa_invalidated); in unloop()
[all …]
H A Dcfghooks.cc560 if (e->dest->loop_father->latch == bb) in split_block_1()
561 e->dest->loop_father->latch = new_bb; in split_block_1()
627 if (loop->latch == bb in delete_basic_block()
724 if (loop->latch == src in split_edge()
726 loop->latch = ret; in split_edge()
841 if (b->loop_father->latch in merge_blocks()
842 && b->loop_father->latch == b) in merge_blocks()
843 b->loop_father->latch = a; in merge_blocks()
862 if (e->dest->loop_father->latch == b) in merge_blocks()
863 e->dest->loop_father->latch = a; in merge_blocks()
[all …]
H A Dgimple-loop-jam.cc198 if (!empty_block_p (loop->latch)) in unroll_jam_possible_p()
219 if (!dominated_by_p (CDI_DOMINATORS, outer->latch, loop->header)) in unroll_jam_possible_p()
318 remove_branch (single_pred_edge (loop->latch)); in fuse_loops()
320 basic_block oldlatch = loop->latch; in fuse_loops()
321 loop->latch = NULL; in fuse_loops()
325 loop->latch = e->src; in fuse_loops()
H A Dgimple-ssa-split-paths.cc45 find_block_to_duplicate_for_splitting_paths (basic_block latch) in find_block_to_duplicate_for_splitting_paths() argument
52 if (single_succ_p (latch) && single_pred_p (latch)) in find_block_to_duplicate_for_splitting_paths()
54 basic_block bb = get_immediate_dominator (CDI_DOMINATORS, latch); in find_block_to_duplicate_for_splitting_paths()
55 gcc_assert (single_pred_edge (latch)->src == bb); in find_block_to_duplicate_for_splitting_paths()
490 = find_block_to_duplicate_for_splitting_paths (loop->latch); in split_paths()
H A Dtree-ssa-loop-manip.cc838 return loop->latch; in ip_end_pos()
851 if (!single_pred_p (loop->latch)) in ip_normal_pos()
854 bb = single_pred (loop->latch); in ip_normal_pos()
861 if (exit->dest == loop->latch) in ip_normal_pos()
879 basic_block bb = ip_normal_pos (loop), latch = ip_end_pos (loop); in standard_iv_increment_position() local
880 gimple *last = last_stmt (latch); in standard_iv_increment_position()
885 *bsi = gsi_last_bb (latch); in standard_iv_increment_position()
1299 basic_block exit_bb = single_pred (loop->latch); in tree_transform_and_unroll_loop()
1326 edge new_nonexit = single_pred_edge (loop->latch); in tree_transform_and_unroll_loop()
1330 scale_bbs_frequencies (&loop->latch, 1, new_nonexit->probability); in tree_transform_and_unroll_loop()
[all …]
H A Dtree-if-conv.cc522 if (dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in add_to_predicate_list()
587 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, e->dest)) in add_to_dst_predicate_list()
1161 if (bb != loop->latch) in if_convertible_bb_p()
1173 else if (bb == loop->latch in if_convertible_bb_p()
1226 gcc_assert (loop->latch != EXIT_BLOCK_PTR_FOR_FN (cfun)); in get_loop_body_in_if_conv_order()
1303 if (bb == loop->latch in predicate_bbs()
1358 && bb_predicate_gimplified_stmts (loop->latch) == NULL); in predicate_bbs()
1435 = bb_with_exit_edge_p (loop, bb) || bb == loop->latch; in if_convertible_loop_p_1()
1515 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in if_convertible_loop_p_1()
2659 || bb == loop->latch) in remove_conditions_and_labels()
[all …]
H A Dtree-ssa-loop-split.cc207 edge latch = loop_latch_edge (loop); in easy_exit_values() local
216 tree next = PHI_ARG_DEF_FROM_EDGE (phi, latch); in easy_exit_values()
502 if (bbs1[j] == loop1->latch in fix_loop_bb_probability()
513 if (bbs2[j] == loop2->latch in fix_loop_bb_probability()
544 || !empty_block_p (loop1->latch) in split_loop()
768 const edge latch = loop_latch_edge (loop); in find_vdef_in_loop() local
770 const tree last = PHI_ARG_DEF_FROM_EDGE (vphi, latch); in find_vdef_in_loop()
1040 const_edge latch = loop_latch_edge (loop); in loop_iter_phi_semi_invariant_p() local
1042 tree from = PHI_ARG_DEF_FROM_EDGE (loop_phi, latch); in loop_iter_phi_semi_invariant_p()
1351 if (dominated_by_p (CDI_DOMINATORS, loop->latch, targ_bb[i])) in get_cond_invariant_branch()
[all …]
H A Dcfgloopanal.cc48 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in just_once_each_iteration_p()
263 else if (loop->latch && (loop->latch->count.initialized_p () in expected_loop_iterations_unbounded()
270 if (e->src == loop->latch) in expected_loop_iterations_unbounded()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcfgloop.c123 if (loop->latch) in flow_loop_dump()
124 fprintf (file, "latch %d\n", loop->latch->index); in flow_loop_dump()
139 if (loop->latch) in flow_loop_dump()
236 edge latch; in flow_loop_nodes_find() local
241 FOR_EACH_EDGE (latch, latch_ei, loop->header->preds) in flow_loop_nodes_find()
243 if (latch->src->loop_father == loop in flow_loop_nodes_find()
244 || !dominated_by_p (CDI_DOMINATORS, latch->src, loop->header)) in flow_loop_nodes_find()
248 stack.safe_push (latch->src); in flow_loop_nodes_find()
249 latch->src->loop_father = loop; in flow_loop_nodes_find()
376 root->latch = EXIT_BLOCK_PTR_FOR_FN (fn); in init_loops_structure()
[all …]
H A Dcfgloopmanip.c340 if (dominated_by_p (CDI_DOMINATORS, l->latch, e->dest)) in remove_path()
573 && other_e->dest != loop->latch in scale_loop_profile()
602 if (loop->latch && loop->latch != e->src) in scale_loop_profile()
603 loop->latch->count += count_delta; in scale_loop_profile()
609 if (loop->latch && loop->latch != e->src) in scale_loop_profile()
610 loop->latch->count -= count_delta; in scale_loop_profile()
801 loop->latch = loop_latch; in create_empty_loop_on_edge()
873 loop->latch = latch_edge->src; in loopify()
932 basic_block latch = loop->latch; in unloop() local
964 remove_edge (single_succ_edge (latch)); in unloop()
[all …]
H A Dcfghooks.c544 if (e->dest->loop_father->latch == bb) in split_block_1()
545 e->dest->loop_father->latch = new_bb; in split_block_1()
611 if (loop->latch == bb in delete_basic_block()
702 if (loop->latch == src in split_edge()
704 loop->latch = ret; in split_edge()
819 if (b->loop_father->latch in merge_blocks()
820 && b->loop_father->latch == b) in merge_blocks()
821 b->loop_father->latch = a; in merge_blocks()
840 if (e->dest->loop_father->latch == b) in merge_blocks()
841 e->dest->loop_father->latch = a; in merge_blocks()
[all …]
H A Dgimple-ssa-split-paths.c44 find_block_to_duplicate_for_splitting_paths (basic_block latch) in find_block_to_duplicate_for_splitting_paths() argument
51 if (single_succ_p (latch) && single_pred_p (latch)) in find_block_to_duplicate_for_splitting_paths()
53 basic_block bb = get_immediate_dominator (CDI_DOMINATORS, latch); in find_block_to_duplicate_for_splitting_paths()
54 gcc_assert (single_pred_edge (latch)->src == bb); in find_block_to_duplicate_for_splitting_paths()
452 = find_block_to_duplicate_for_splitting_paths (loop->latch); in split_paths()
H A Dgimple-loop-jam.c197 if (!empty_block_p (loop->latch)) in unroll_jam_possible_p()
217 if (!dominated_by_p (CDI_DOMINATORS, outer->latch, loop->header)) in unroll_jam_possible_p()
311 remove_branch (single_pred_edge (loop->latch)); in fuse_loops()
313 basic_block oldlatch = loop->latch; in fuse_loops()
314 loop->latch = NULL; in fuse_loops()
318 loop->latch = e->src; in fuse_loops()
H A Dtree-ssa-loop-manip.c840 return loop->latch; in ip_end_pos()
853 if (!single_pred_p (loop->latch)) in ip_normal_pos()
856 bb = single_pred (loop->latch); in ip_normal_pos()
863 if (exit->dest == loop->latch) in ip_normal_pos()
881 basic_block bb = ip_normal_pos (loop), latch = ip_end_pos (loop); in standard_iv_increment_position() local
882 gimple *last = last_stmt (latch); in standard_iv_increment_position()
887 *bsi = gsi_last_bb (latch); in standard_iv_increment_position()
1296 exit_bb = single_pred (loop->latch); in tree_transform_and_unroll_loop()
1323 new_nonexit = single_pred_edge (loop->latch); in tree_transform_and_unroll_loop()
1327 scale_bbs_frequencies (&loop->latch, 1, new_nonexit->probability); in tree_transform_and_unroll_loop()
[all …]
H A Dcfgloopanal.c48 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in just_once_each_iteration_p()
116 && e->dest->loop_father->latch == act) in mark_irreducible_loops()
263 else if (loop->latch && (loop->latch->count.initialized_p () in expected_loop_iterations_unbounded()
270 if (e->src == loop->latch) in expected_loop_iterations_unbounded()
H A Dtree-if-conv.c515 if (dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in add_to_predicate_list()
580 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, e->dest)) in add_to_dst_predicate_list()
1149 if (bb != loop->latch) in if_convertible_bb_p()
1161 else if (bb == loop->latch in if_convertible_bb_p()
1214 gcc_assert (loop->latch != EXIT_BLOCK_PTR_FOR_FN (cfun)); in get_loop_body_in_if_conv_order()
1291 if (bb == loop->latch in predicate_bbs()
1346 && bb_predicate_gimplified_stmts (loop->latch) == NULL); in predicate_bbs()
1493 if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb)) in if_convertible_loop_p_1()
2501 || bb == loop->latch) in remove_conditions_and_labels()
2562 gcc_assert (exit_bb != loop->latch); in combine_blocks()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dlatch1 // <latch> -*- C++ -*-
25 /** @file include/latch
46 class latch
53 constexpr explicit latch(ptrdiff_t __expected) noexcept
56 ~latch() = default;
57 latch(const latch&) = delete;
58 latch& operator=(const latch&) = delete;
/netbsd-src/sys/arch/hppa/dev/
H A Dgftfb.c1444 uint32_t buffer[128], latch, tmp; in gftfb_do_cursor()
1455 latch = 0; in gftfb_do_cursor()
1457 latch |= tmp >> 7; in gftfb_do_cursor()
1459 latch |= tmp >> 5; in gftfb_do_cursor()
1461 latch |= tmp >> 3; in gftfb_do_cursor()
1463 latch |= tmp >> 1; in gftfb_do_cursor()
1465 latch |= tmp << 1; in gftfb_do_cursor()
1467 latch |= tmp << 3; in gftfb_do_cursor()
1469 latch |= tmp << 5; in gftfb_do_cursor()
1471 latch | in gftfb_do_cursor()
1407 uint32_t buffer[128], latch, tmp; gftfb_do_cursor() local
[all...]
/netbsd-src/sys/arch/sparc/dev/
H A Dcgfourteen.c1223 uint32_t buffer[32], latch, tmp; in cg14_do_cursor()
1228 latch = 0; in cg14_do_cursor()
1230 latch |= tmp >> 7; in cg14_do_cursor()
1232 latch |= tmp >> 5; in cg14_do_cursor()
1234 latch |= tmp >> 3; in cg14_do_cursor()
1236 latch |= tmp >> 1; in cg14_do_cursor()
1238 latch |= tmp << 1; in cg14_do_cursor()
1240 latch |= tmp << 3; in cg14_do_cursor()
1242 latch |= tmp << 5; in cg14_do_cursor()
1244 latch | in cg14_do_cursor()
1211 uint32_t buffer[32], latch, tmp; cg14_do_cursor() local
[all...]
/netbsd-src/sys/dev/ic/
H A Dct65550.c602 uint32_t bg, latch = 0, bg8, fg8, pixel, dst, stride, size; in chipsfb_putchar_aa() local
671 latch = 0; in chipsfb_putchar_aa()
686 latch |= pixel << off; in chipsfb_putchar_aa()
691 CT_OFF_DATA - CT_OFF_BITBLT, latch); in chipsfb_putchar_aa()
692 latch = 0; in chipsfb_putchar_aa()
699 chipsfb_write32(sc, CT_OFF_DATA - CT_OFF_BITBLT, latch); in chipsfb_putchar_aa()
776 uint32_t latch = 0, bork; in chipsfb_feed() local
781 latch |= (bork << shift); in chipsfb_feed()
783 chipsfb_write32(sc, CT_OFF_DATA - CT_OFF_BITBLT, latch); in chipsfb_feed()
784 latch = 0; in chipsfb_feed()
[all …]
/netbsd-src/sys/dev/pci/voyager/
H A Dvoyagerfb.c1086 uint32_t pixel = 0, latch = 0, bg8, fg8; in voyagerfb_putchar_aa8() local
1161 latch = (latch << 8) | pixel; in voyagerfb_putchar_aa8()
1165 SM502_DATAPORT, be32toh(latch)); in voyagerfb_putchar_aa8()
1166 latch = 0; in voyagerfb_putchar_aa8()
1171 latch = latch << ((4 - (i & 3)) << 3); in voyagerfb_putchar_aa8()
1173 SM502_DATAPORT, be32toh(latch)); in voyagerfb_putchar_aa8()
1446 uint32_t latch = 0, omask; in voyagerfb_scursor() local
1455 latch |= omask; in voyagerfb_scursor()
1458 latch |= omask; in voyagerfb_scursor()
1467 latch |= omask; in voyagerfb_scursor()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DLoopTerminology.rst49 * A **latch** is a loop node that has an edge to the header.
51 * A **backedge** is an edge from a latch to the header.
77 itself. In this case that block is the header, latch (and exiting
85 In this case, the role of header, exiting block and latch fall to the
91 Loop at depth 1 containing: %for.body<header><latch><exiting>
162 loop (i.e. to a latch or header) is not considered part of the loop.
281 * A single backedge (which implies that there is a single latch).
545 %i = phi i32 [ 0, %entry ], [ %i.next, %latch ]
551 br label %latch
553 latch:
[all …]
/netbsd-src/sys/dev/sbus/
H A Dp9100.c849 uint32_t latch = 0, bork; in p9100_feed_line() local
857 latch |= (bork << shift); in p9100_feed_line()
863 (PIXEL_1 + (31 << 2)), latch); in p9100_feed_line()
869 (PIXEL_1 + ((to_go - 1) << 2)), latch); in p9100_feed_line()
872 latch = 0; in p9100_feed_line()
878 p9100_ctl_write_4(sc, (PIXEL_1 + ((to_go - 1) << 2)), latch); in p9100_feed_line()
1164 uint32_t bg, latch = 0, bg8, fg8, pixel; in p9100_putchar_aa() local
1237 latch = (latch << 8) | pixel; in p9100_putchar_aa()
1241 COMMAND_PIXEL8, latch); in p9100_putchar_aa()
1242 latch = 0; in p9100_putchar_aa()
[all …]

123456789