Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/CodeGen/CGOpenMPRuntime.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
//===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===// | //===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===// | ||||
Lint: Lint: clang-format not found in user's PATH; not linting file. | |||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
▲ Show 20 Lines • Show All 6,623 Lines • ▼ Show 20 Lines | emitNumTeamsForTargetDirective(CodeGenFunction &CGF, | ||||
case OMPD_parallel_for_simd: | case OMPD_parallel_for_simd: | ||||
case OMPD_cancel: | case OMPD_cancel: | ||||
case OMPD_cancellation_point: | case OMPD_cancellation_point: | ||||
case OMPD_ordered: | case OMPD_ordered: | ||||
case OMPD_threadprivate: | case OMPD_threadprivate: | ||||
case OMPD_allocate: | case OMPD_allocate: | ||||
case OMPD_task: | case OMPD_task: | ||||
case OMPD_simd: | case OMPD_simd: | ||||
case OMPD_tile: | |||||
case OMPD_sections: | case OMPD_sections: | ||||
case OMPD_section: | case OMPD_section: | ||||
case OMPD_single: | case OMPD_single: | ||||
case OMPD_master: | case OMPD_master: | ||||
case OMPD_critical: | case OMPD_critical: | ||||
case OMPD_taskyield: | case OMPD_taskyield: | ||||
case OMPD_barrier: | case OMPD_barrier: | ||||
case OMPD_taskwait: | case OMPD_taskwait: | ||||
▲ Show 20 Lines • Show All 299 Lines • ▼ Show 20 Lines | emitNumThreadsForTargetDirective(CodeGenFunction &CGF, | ||||
case OMPD_parallel_for_simd: | case OMPD_parallel_for_simd: | ||||
case OMPD_cancel: | case OMPD_cancel: | ||||
case OMPD_cancellation_point: | case OMPD_cancellation_point: | ||||
case OMPD_ordered: | case OMPD_ordered: | ||||
case OMPD_threadprivate: | case OMPD_threadprivate: | ||||
case OMPD_allocate: | case OMPD_allocate: | ||||
case OMPD_task: | case OMPD_task: | ||||
case OMPD_simd: | case OMPD_simd: | ||||
case OMPD_tile: | |||||
case OMPD_sections: | case OMPD_sections: | ||||
case OMPD_section: | case OMPD_section: | ||||
case OMPD_single: | case OMPD_single: | ||||
case OMPD_master: | case OMPD_master: | ||||
case OMPD_critical: | case OMPD_critical: | ||||
case OMPD_taskyield: | case OMPD_taskyield: | ||||
case OMPD_barrier: | case OMPD_barrier: | ||||
case OMPD_taskwait: | case OMPD_taskwait: | ||||
▲ Show 20 Lines • Show All 1,904 Lines • ▼ Show 20 Lines | if (const auto *NestedDir = | ||||
case OMPD_parallel_for_simd: | case OMPD_parallel_for_simd: | ||||
case OMPD_cancel: | case OMPD_cancel: | ||||
case OMPD_cancellation_point: | case OMPD_cancellation_point: | ||||
case OMPD_ordered: | case OMPD_ordered: | ||||
case OMPD_threadprivate: | case OMPD_threadprivate: | ||||
case OMPD_allocate: | case OMPD_allocate: | ||||
case OMPD_task: | case OMPD_task: | ||||
case OMPD_simd: | case OMPD_simd: | ||||
case OMPD_tile: | |||||
case OMPD_sections: | case OMPD_sections: | ||||
case OMPD_section: | case OMPD_section: | ||||
case OMPD_single: | case OMPD_single: | ||||
case OMPD_master: | case OMPD_master: | ||||
case OMPD_critical: | case OMPD_critical: | ||||
case OMPD_taskyield: | case OMPD_taskyield: | ||||
case OMPD_barrier: | case OMPD_barrier: | ||||
case OMPD_taskwait: | case OMPD_taskwait: | ||||
▲ Show 20 Lines • Show All 774 Lines • ▼ Show 20 Lines | if (RequiresDeviceCodegen) { | ||||
case OMPD_parallel_for_simd: | case OMPD_parallel_for_simd: | ||||
case OMPD_cancel: | case OMPD_cancel: | ||||
case OMPD_cancellation_point: | case OMPD_cancellation_point: | ||||
case OMPD_ordered: | case OMPD_ordered: | ||||
case OMPD_threadprivate: | case OMPD_threadprivate: | ||||
case OMPD_allocate: | case OMPD_allocate: | ||||
case OMPD_task: | case OMPD_task: | ||||
case OMPD_simd: | case OMPD_simd: | ||||
case OMPD_tile: | |||||
case OMPD_sections: | case OMPD_sections: | ||||
case OMPD_section: | case OMPD_section: | ||||
case OMPD_single: | case OMPD_single: | ||||
case OMPD_master: | case OMPD_master: | ||||
case OMPD_critical: | case OMPD_critical: | ||||
case OMPD_taskyield: | case OMPD_taskyield: | ||||
case OMPD_barrier: | case OMPD_barrier: | ||||
case OMPD_taskwait: | case OMPD_taskwait: | ||||
▲ Show 20 Lines • Show All 635 Lines • ▼ Show 20 Lines | auto &&ThenGen = [this, &D, Device, &InputInfo, | ||||
case OMPD_parallel_for_simd: | case OMPD_parallel_for_simd: | ||||
case OMPD_cancel: | case OMPD_cancel: | ||||
case OMPD_cancellation_point: | case OMPD_cancellation_point: | ||||
case OMPD_ordered: | case OMPD_ordered: | ||||
case OMPD_threadprivate: | case OMPD_threadprivate: | ||||
case OMPD_allocate: | case OMPD_allocate: | ||||
case OMPD_task: | case OMPD_task: | ||||
case OMPD_simd: | case OMPD_simd: | ||||
case OMPD_tile: | |||||
case OMPD_sections: | case OMPD_sections: | ||||
case OMPD_section: | case OMPD_section: | ||||
case OMPD_single: | case OMPD_single: | ||||
case OMPD_master: | case OMPD_master: | ||||
case OMPD_critical: | case OMPD_critical: | ||||
case OMPD_taskyield: | case OMPD_taskyield: | ||||
case OMPD_barrier: | case OMPD_barrier: | ||||
case OMPD_taskwait: | case OMPD_taskwait: | ||||
▲ Show 20 Lines • Show All 1,696 Lines • Show Last 20 Lines |
clang-format not found in user's PATH; not linting file.