• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/

Lines Matching refs:KMP_DEBUG_ASSERT

58   KMP_DEBUG_ASSERT(stack_top != NULL);
59 KMP_DEBUG_ASSERT(entries > 0);
62 KMP_DEBUG_ASSERT(stack_top != &task_stack->ts_first_block.sb_block[0]);
77 KMP_DEBUG_ASSERT(tied_task != NULL);
78 KMP_DEBUG_ASSERT(tied_task->td_flags.tasktype == TASK_TIED);
85 KMP_DEBUG_ASSERT(stack_top == &task_stack->ts_first_block.sb_block[0]);
124 KMP_DEBUG_ASSERT(task_stack->ts_entries == TASK_STACK_EMPTY);
159 KMP_DEBUG_ASSERT(tied_task->td_flags.tasktype == TASK_TIED);
160 KMP_DEBUG_ASSERT(task_stack->ts_top != NULL);
220 KMP_DEBUG_ASSERT(task_stack->ts_top != NULL);
221 KMP_DEBUG_ASSERT(task_stack->ts_entries > 0);
240 KMP_DEBUG_ASSERT(tied_task != NULL);
241 KMP_DEBUG_ASSERT(tied_task->td_flags.tasktype == TASK_TIED);
242 KMP_DEBUG_ASSERT(tied_task == ending_task); // If we built the stack correctly
261 KMP_DEBUG_ASSERT(current != NULL);
270 KMP_DEBUG_ASSERT(parent != NULL);
280 KMP_DEBUG_ASSERT(node->dn.mtx_locks[i] != NULL);
355 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
359 KMP_DEBUG_ASSERT(TCR_4(task_team->tt.tt_found_tasks) == TRUE);
360 KMP_DEBUG_ASSERT(TCR_PTR(task_team->tt.tt_threads_data) != NULL);
409 KMP_DEBUG_ASSERT(TCR_4(thread_data->td.td_deque_ntasks) <
466 KMP_DEBUG_ASSERT(this_thr != NULL);
501 KMP_DEBUG_ASSERT(taskdata->td_flags.tasktype == TASK_EXPLICIT);
505 // KMP_DEBUG_ASSERT( current_task -> td_flags.executing == 1 );
518 KMP_DEBUG_ASSERT(taskdata->td_flags.started == 0 ||
520 KMP_DEBUG_ASSERT(taskdata->td_flags.executing == 0 ||
524 KMP_DEBUG_ASSERT(taskdata->td_flags.complete == 0);
525 KMP_DEBUG_ASSERT(taskdata->td_flags.freed == 0);
709 KMP_DEBUG_ASSERT(taskdata->td_flags.tasktype == TASK_EXPLICIT);
710 KMP_DEBUG_ASSERT(taskdata->td_flags.executing == 0);
711 KMP_DEBUG_ASSERT(taskdata->td_flags.complete == 1);
712 KMP_DEBUG_ASSERT(taskdata->td_flags.freed == 0);
713 KMP_DEBUG_ASSERT(taskdata->td_allocated_child_tasks == 0 ||
715 KMP_DEBUG_ASSERT(taskdata->td_incomplete_child_tasks == 0);
743 KMP_DEBUG_ASSERT(taskdata->td_flags.tasktype == TASK_EXPLICIT);
746 KMP_DEBUG_ASSERT(children >= 0);
788 KMP_DEBUG_ASSERT(children >= 0);
815 KMP_DEBUG_ASSERT(taskdata->td_flags.tasktype == TASK_EXPLICIT);
836 KMP_DEBUG_ASSERT(taskdata->td_flags.task_serial);
859 KMP_DEBUG_ASSERT(node->dn.mtx_locks[i] != NULL);
864 KMP_DEBUG_ASSERT(taskdata->td_flags.complete == 0);
879 KMP_DEBUG_ASSERT(taskdata->td_flags.started == 1);
880 KMP_DEBUG_ASSERT(taskdata->td_flags.freed == 0);
891 KMP_DEBUG_ASSERT(children >= 0);
905 KMP_DEBUG_ASSERT(taskdata->td_flags.executing == 1);
926 KMP_DEBUG_ASSERT(
935 KMP_DEBUG_ASSERT(resumed_task !=
948 // KMP_DEBUG_ASSERT( resumed_task->td_flags.executing == 0 );
1078 KMP_DEBUG_ASSERT(task->td_incomplete_child_tasks == 0);
1079 KMP_DEBUG_ASSERT(task->td_allocated_child_tasks == 0);
1198 KMP_DEBUG_ASSERT(team->t.t_serialized);
1252 KMP_DEBUG_ASSERT((((kmp_uintptr_t)taskdata) & (sizeof(double) - 1)) == 0);
1253 KMP_DEBUG_ASSERT((((kmp_uintptr_t)task) & (sizeof(double) - 1)) == 0);
1255 KMP_DEBUG_ASSERT((((kmp_uintptr_t)taskdata) & (sizeof(_Quad) - 1)) == 0);
1256 KMP_DEBUG_ASSERT((((kmp_uintptr_t)task) & (sizeof(_Quad) - 1)) == 0);
1262 KMP_DEBUG_ASSERT((((kmp_uintptr_t)task->shareds) & (sizeof(void *) - 1)) ==
1280 KMP_DEBUG_ASSERT(taskdata->td_parent != NULL);
1423 KMP_DEBUG_ASSERT(task);
1496 KMP_DEBUG_ASSERT(taskdata->td_last_tied);
2258 KMP_DEBUG_ASSERT(nth > 1); // should not be called if nth == 1
2322 KMP_DEBUG_ASSERT(reduce_data == NULL);
2328 KMP_DEBUG_ASSERT(KMP_ATOMIC_LD_RLX(&team->t.t_tg_fini_counter[0]) == 0);
2329 KMP_DEBUG_ASSERT(KMP_ATOMIC_LD_RLX(&team->t.t_tg_fini_counter[1]) == 0);
2337 KMP_DEBUG_ASSERT(reduce_data > (void *)1); // should be valid pointer here
2454 KMP_DEBUG_ASSERT(taskgroup != NULL);
2504 KMP_DEBUG_ASSERT(taskgroup->count == 0);
2580 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
2581 KMP_DEBUG_ASSERT(task_team->tt.tt_threads_data !=
2656 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
2659 KMP_DEBUG_ASSERT(threads_data != NULL); // Caller should check this condition
2692 KMP_DEBUG_ASSERT(victim_td->td.td_deque != NULL);
2738 KMP_DEBUG_ASSERT(
2796 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
2797 KMP_DEBUG_ASSERT(thread == __kmp_threads[gtid]);
2808 KMP_DEBUG_ASSERT(threads_data != NULL);
2812 KMP_DEBUG_ASSERT(nthreads > 1 || task_team->tt.tt_found_proxy_tasks);
2813 KMP_DEBUG_ASSERT(*unfinished_threads >= 0);
3027 KMP_DEBUG_ASSERT(task_team != NULL);
3028 KMP_DEBUG_ASSERT(this_thr->th.th_team != NULL);
3031 KMP_DEBUG_ASSERT(nthreads > 0);
3032 KMP_DEBUG_ASSERT(nthreads == this_thr->th.th_team->t.t_nproc);
3046 KMP_DEBUG_ASSERT(threads_data != NULL);
3128 KMP_DEBUG_ASSERT(thread_data->td.td_deque == NULL);
3133 KMP_DEBUG_ASSERT(TCR_4(thread_data->td.td_deque_ntasks) == 0);
3134 KMP_DEBUG_ASSERT(thread_data->td.td_deque_head == 0);
3135 KMP_DEBUG_ASSERT(thread_data->td.td_deque_tail == 0);
3255 KMP_DEBUG_ASSERT(*threads_data_p != NULL);
3357 KMP_DEBUG_ASSERT(task_team->tt.tt_next == NULL);
3454 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
3516 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
3544 KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
3545 KMP_DEBUG_ASSERT(task_team == this_thr->th.th_task_team);
3567 KMP_DEBUG_ASSERT(task_team->tt.tt_nproc > 1 ||
3588 KMP_DEBUG_ASSERT(__kmp_tasking_mode == tskm_extra_barrier);
3627 KMP_DEBUG_ASSERT(task_team != NULL);
3711 KMP_DEBUG_ASSERT(taskdata->td_flags.tasktype == TASK_EXPLICIT);
3712 KMP_DEBUG_ASSERT(taskdata->td_flags.proxy == TASK_PROXY);
3713 KMP_DEBUG_ASSERT(taskdata->td_flags.complete == 0);
3714 KMP_DEBUG_ASSERT(taskdata->td_flags.freed == 0);
3732 KMP_DEBUG_ASSERT(children >= 0);
3742 KMP_DEBUG_ASSERT(taskdata->td_flags.proxy == TASK_PROXY);
3743 KMP_DEBUG_ASSERT(taskdata->td_flags.complete ==
3764 KMP_DEBUG_ASSERT(ptask != NULL);
3770 KMP_DEBUG_ASSERT(taskdata->td_flags.proxy == TASK_PROXY);
3789 KMP_DEBUG_ASSERT(ptask != NULL);
3797 KMP_DEBUG_ASSERT(taskdata->td_flags.proxy == TASK_PROXY);
3899 KMP_DEBUG_ASSERT(taskdata_src->td_flags.proxy ==
3901 KMP_DEBUG_ASSERT(taskdata_src->td_flags.tasktype == TASK_EXPLICIT);
3921 KMP_DEBUG_ASSERT((((kmp_uintptr_t)task->shareds) & (sizeof(void *) - 1)) ==
3974 KMP_DEBUG_ASSERT((char *)lb > (char *)_task);
3975 KMP_DEBUG_ASSERT((char *)ub > (char *)_task);
4101 KMP_DEBUG_ASSERT(tc == num_tasks * grainsize + extras);
4102 KMP_DEBUG_ASSERT(num_tasks > extras);
4103 KMP_DEBUG_ASSERT(num_tasks > 0);
4122 KMP_DEBUG_ASSERT(upper == *ub);
4126 KMP_DEBUG_ASSERT((kmp_uint64)st > *ub - upper);
4130 KMP_DEBUG_ASSERT(upper + st < *ub);
4218 KMP_DEBUG_ASSERT(task != NULL);
4224 KMP_DEBUG_ASSERT(num_tasks * 2 + 1 > num_t_min);
4272 KMP_DEBUG_ASSERT(task != NULL);
4273 KMP_DEBUG_ASSERT(num_tasks > num_t_min);
4289 KMP_DEBUG_ASSERT(tc == num_tasks * grainsize + extras);
4290 KMP_DEBUG_ASSERT(num_tasks > extras);
4291 KMP_DEBUG_ASSERT(num_tasks > 0);
4387 KMP_DEBUG_ASSERT(task != NULL);
4477 KMP_DEBUG_ASSERT(tc == num_tasks * grainsize + extras);
4478 KMP_DEBUG_ASSERT(num_tasks > extras);
4479 KMP_DEBUG_ASSERT(num_tasks > 0);