Searched refs:barrier (Results 26 - 49 of 49) sorted by relevance

12

/freebsd-11-stable/contrib/gcc/
H A Dbb-reorder.c1280 rtx barrier;
1311 barrier = emit_barrier_after (new_jump);
1314 src->il.rtl->footer = unlink_insn_chain (barrier, barrier);
1347 rtx barrier;
1449 /* Add barrier after new jump */
1453 barrier = emit_barrier_after (BB_END (new_bb));
1454 new_bb->il.rtl->footer = unlink_insn_chain (barrier,
1455 barrier);
1459 barrier
1279 rtx barrier; local
1346 rtx barrier; local
1536 rtx barrier; local
[all...]
H A Dcfgcleanup.c629 rtx barrier;
645 barrier = next_nonnote_insn (BB_END (a));
646 gcc_assert (BARRIER_P (barrier));
647 delete_insn (barrier);
684 rtx barrier, real_b_end;
711 /* There had better have been a barrier there. Delete it. */
712 barrier = NEXT_INSN (BB_END (b));
713 if (barrier && BARRIER_P (barrier))
714 delete_insn (barrier);
624 rtx barrier; local
679 rtx barrier, real_b_end; local
[all...]
H A Dcfgrtl.c804 rtx barrier, label, table;
822 barrier = next_nonnote_insn (BB_END (src));
823 if (!barrier || !BARRIER_P (barrier))
827 if (barrier != NEXT_INSN (BB_END (src)))
829 /* Move the jump before barrier so that the notes
835 for (tmp = NEXT_INSN (BB_END (src)); tmp != barrier;
842 NEXT_INSN (new_insn) = barrier;
843 NEXT_INSN (PREV_INSN (barrier)) = new_insn;
845 PREV_INSN (new_insn) = PREV_INSN (barrier);
797 rtx barrier, label, table; local
[all...]
H A Dfinal.c1887 rtx barrier = prev_nonnote_insn (insn);
1894 if (barrier && BARRIER_P (barrier)
1878 rtx barrier = prev_nonnote_insn (insn); local
H A Demit-rtl.c4482 rtx barrier = rtx_alloc (BARRIER);
4483 INSN_UID (barrier) = cur_insn_uid++;
4484 add_insn (barrier);
4485 return barrier;
4460 rtx barrier = rtx_alloc (BARRIER); local
H A Dexcept.c1547 rtx barrier;
1586 barrier automatically added after it. If the last insn in
1587 the libcall sequence isn't the barrier, it's because the
1590 optimized away). The barrier is inserted exactly after the
1592 it, because below we need the barrier to be the last insn in
1599 barrier = emit_insn_before (seq, region->resume);
1600 /* Avoid duplicate barrier. */
1601 gcc_assert (BARRIER_P (barrier));
1602 delete_insn (barrier);
1537 rtx barrier; local
H A Dhaifa-sched.c3679 rtx barrier;
3687 barrier = get_last_bb_insn (before_recovery);
3688 gcc_assert (BARRIER_P (barrier));
3690 label = emit_label_after (gen_label_rtx (), barrier);
3674 rtx barrier; local
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_dispatch_hier.h189 * In the barrier implementations, num_active is the number of threads that are
191 * bdata is the shared barrier data that resides on the kmp_hier_top_unit_t
195 * The reset_shared() method is used to initialize the barrier data on the
198 * The reset_private() method is used to initialize the barrier data on the
201 * The barrier() method takes an id, which is that thread's id for the
202 * kmp_hier_top_unit_t structure, and implements the barrier. All threads wait
203 * inside barrier() until all fellow threads who are attached to that
207 // Core barrier implementation
246 static void barrier(kmp_int32 id, kmp_hier_shared_bdata_t<T> *bdata,
264 void core_barrier_impl<T>::barrier(kmp_int3
[all...]
/freebsd-11-stable/contrib/gcclibs/libgomp/
H A DMakefile.am32 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
H A DMakefile.in83 am_libgomp_la_OBJECTS = alloc.lo barrier.lo critical.lo env.lo \
277 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
409 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/barrier.Plo@am__quote@
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp45 // The non-barrier versions of OSAtomic* functions are semantically mo_relaxed,
49 // conservative and treat the non-barrier versions as mo_acq_rel.
314 dispatch_block_t barrier) {
315 SCOPED_TSAN_INTERCEPTOR(xpc_connection_send_barrier, connection, barrier);
322 barrier();
313 TSAN_INTERCEPTOR(void, xpc_connection_send_barrier, xpc_connection_t connection, dispatch_block_t barrier) argument
H A Dtsan_interceptors_posix.cpp2816 // Invisible barrier for tests.
2830 void __tsan_testonly_barrier_init(u64 *barrier, u32 count) { argument
2836 *barrier = count;
2840 void __tsan_testonly_barrier_wait(u64 *barrier) { argument
2841 unsigned old = __atomic_fetch_add(barrier, 1 << 8, __ATOMIC_RELAXED);
2844 unsigned cur = __atomic_load_n(barrier, __ATOMIC_RELAXED);
/freebsd-11-stable/tests/sys/kern/
H A Dptrace_test.c1992 pthread_barrier_t barrier; local
2005 CHILD_REQUIRE(pthread_barrier_init(&barrier, NULL, 2) == 0);
2008 (void*)&barrier) == 0);
2030 pthread_barrier_wait(&barrier);
2091 pthread_barrier_t barrier; local
2111 CHILD_REQUIRE(pthread_barrier_init(&barrier, NULL, 2) == 0);
2114 (void*)&barrier) == 0);
2136 pthread_barrier_wait(&barrier);
2903 /* Free our companion thread from the barrier. */
3078 pthread_barrier_t barrier; local
3418 pthread_barrier_t barrier; local
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_ringbuffer.h180 barrier();
H A Dintel_hdmi.c39 #define mmiowb() barrier()
/freebsd-11-stable/contrib/serf/
H A Dserf_bucket_types.h666 #define SERF_BUCKET_IS_BARRIER(b) SERF_BUCKET_CHECK((b), barrier)
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dio.h106 #define mmiowb() barrier()
/freebsd-11-stable/sys/arm/arm/
H A Dcpufunc_asm_armv7.S197 dsb /* data synchronization barrier */
213 dsb /* data synchronization barrier */
233 dsb /* data synchronization barrier */
250 dsb /* data synchronization barrier */
251 isb /* instruction synchronization barrier */
268 dsb /* data synchronization barrier */
269 isb /* instruction synchronization barrier */
274 dsb /* data synchronization barrier */
348 isb @ instruction sync barrier
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h168 #define barrier() __compiler_membar() macro
/freebsd-11-stable/contrib/gcc/config/s390/
H A Ds390.c5955 rtx label, jump, barrier;
5957 /* We can insert the barrier only after a 'real' insn. */
5970 barrier = emit_barrier_after (jump);
5971 insn = emit_label_after (label, barrier);
5976 INSN_ADDRESSES_NEW (barrier, -1);
5979 s390_end_pool (curr_pool, barrier);
6171 /* Did we insert an extra barrier? Remove it. */ local
6172 rtx barrier = PREV_INSN (curr_pool->pool_insn);
6173 rtx jump = barrier? PREV_INSN (barrier)
5954 rtx label, jump, barrier; local
[all...]
/freebsd-11-stable/contrib/gcc/config/mips/
H A Dmips.c8589 rtx insn, barrier;
8591 barrier = 0;
8610 if (barrier == 0 && pool.insn_address + 4 > pool.highest_address)
8619 barrier = emit_barrier_after (jump);
8621 emit_label_after (label, barrier);
8626 user. If so, output the constants after the previous barrier.
8631 dump_constants (pool.first, barrier);
8633 barrier = 0;
8636 barrier = insn;
8543 rtx insn, barrier; local
/freebsd-11-stable/contrib/gcc/config/arm/
H A Darm.c7287 barrier that is within range of all the instructions in the group.
7288 If a group does not contain a barrier, then we forcibly create one
7782 assign_minipool_offsets (Mfix *barrier)
7787 minipool_barrier = barrier;
7877 /* Return the cost of forcibly inserting a barrier after INSN. */
7910 (FIX->address,MAX_ADDRESS) to forcibly insert a minipool barrier.
7911 Create the barrier by inserting a jump and add a new fix entry for
7917 rtx barrier;
7936 /* This code shouldn't have been called if there was a natural barrier
7983 /* Create a new JUMP_INSN that branches around a barrier
7768 assign_minipool_offsets(Mfix *barrier) argument
7903 rtx barrier; local
[all...]
/freebsd-11-stable/contrib/binutils/gas/config/
H A Dtc-arm.c5069 /* Parse an option for a barrier instruction. Returns the encoding for the
5482 OP_oBARRIER, /* Option argument for a barrier instruction. */
6629 "bad barrier type");
8857 "bad barrier type");
15406 TUF(dmb, 57ff050, f3bf8f50, 1, (oBARRIER), barrier, t_barrier),
15407 TUF(dsb, 57ff040, f3bf8f40, 1, (oBARRIER), barrier, t_barrier),
15408 TUF(isb, 57ff060, f3bf8f60, 1, (oBARRIER), barrier, t_barrier),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A Dopencl-c.h12506 * are allowed to continue execution beyond the barrier.
12509 * If barrier is inside a conditional statement, then all
12512 * barrier.
12514 * the barrier for each iteration of the loop before any are
12515 * allowed to continue execution beyond the barrier.
12516 * The barrier function also queues a memory fence
12522 * CLK_LOCAL_MEM_FENCE - The barrier function
12526 * CLK_GLOBAL_MEM_FENCE - The barrier function
12533 void __ovld __conv barrier(cl_mem_fence_flags flags);
12558 * Read memory barrier tha
[all...]

Completed in 304 milliseconds

12