LLVM OpenMP 20.0.0git
|
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | bounds_infoXX_template< T > |
Describes the structure for rectangular nested loops. More... | |
struct | bounds_info_t |
Interface struct for rectangular nested loops. More... | |
struct | bounds_info_internalXX_template< T > |
struct | bounds_info_internal_t |
Typedefs | |
typedef kmp_int32 | kmp_index_t |
typedef kmp_uint64 | kmp_loop_nest_iv_t |
typedef kmp_uint64 * | kmp_point_t |
typedef kmp_loop_nest_iv_t * | kmp_iterations_t |
Enumerations | |
enum | comparison_t : kmp_int32 { comp_less_or_eq = 0 , comp_greater_or_eq = 1 , comp_not_eq = 2 , comp_less = 3 , comp_greater = 4 } |
enum | loop_type_t : kmp_int32 { loop_type_uint8 = 0 , loop_type_int8 = 1 , loop_type_uint16 = 2 , loop_type_int16 = 3 , loop_type_uint32 = 4 , loop_type_int32 = 5 , loop_type_uint64 = 6 , loop_type_int64 = 7 } |
enum | nested_loop_type_t : kmp_int32 { nested_loop_type_unkown = 0 , nested_loop_type_lower_triangular_matrix = 1 , nested_loop_type_upper_triangular_matrix = 2 } |
Functions | |
kmp_loop_nest_iv_t | __kmpc_process_loop_nest_rectang (ident_t *loc, kmp_int32 gtid, bounds_info_t *original_bounds_nest, kmp_index_t n) |
void | __kmpc_calc_original_ivs_rectang (ident_t *loc, kmp_loop_nest_iv_t new_iv, const bounds_info_t *original_bounds_nest, kmp_uint64 *original_ivs, kmp_index_t n) |
kmp_int32 | __kmpc_for_collapsed_init (ident_t *loc, kmp_int32 gtid, bounds_info_t *original_bounds_nest, bounds_info_t *chunk_bounds_nest, kmp_index_t n, kmp_int32 *plastiter) |
typedef kmp_int32 kmp_index_t |
Definition at line 20 of file kmp_collapse.h.
typedef kmp_loop_nest_iv_t* kmp_iterations_t |
Definition at line 141 of file kmp_collapse.h.
typedef kmp_uint64 kmp_loop_nest_iv_t |
Definition at line 23 of file kmp_collapse.h.
typedef kmp_uint64* kmp_point_t |
Definition at line 134 of file kmp_collapse.h.
enum comparison_t : kmp_int32 |
Enumerator | |
---|---|
comp_less_or_eq | |
comp_greater_or_eq | |
comp_not_eq | |
comp_less | |
comp_greater |
Definition at line 26 of file kmp_collapse.h.
enum loop_type_t : kmp_int32 |
Enumerator | |
---|---|
loop_type_uint8 | |
loop_type_int8 | |
loop_type_uint16 | |
loop_type_int16 | |
loop_type_uint32 | |
loop_type_int32 | |
loop_type_uint64 | |
loop_type_int64 |
Definition at line 37 of file kmp_collapse.h.
enum nested_loop_type_t : kmp_int32 |
Enumerator | |
---|---|
nested_loop_type_unkown | |
nested_loop_type_lower_triangular_matrix | |
nested_loop_type_upper_triangular_matrix |
Definition at line 49 of file kmp_collapse.h.
void __kmpc_calc_original_ivs_rectang | ( | ident_t * | loc, |
kmp_loop_nest_iv_t | new_iv, | ||
const bounds_info_t * | original_bounds_nest, | ||
kmp_uint64 * | original_ivs, | ||
kmp_index_t | n | ||
) |
Definition at line 488 of file kmp_collapse.cpp.
References KMP_ASSERT, and kmp_calc_one_iv_rectang().
kmp_int32 __kmpc_for_collapsed_init | ( | ident_t * | loc, |
kmp_int32 | gtid, | ||
bounds_info_t * | original_bounds_nest, | ||
bounds_info_t * | chunk_bounds_nest, | ||
kmp_index_t | n, | ||
kmp_int32 * | plastiter | ||
) |
Definition at line 1588 of file kmp_collapse.cpp.
References __kmp_assert_valid_gtid(), __kmp_env_consistency_check, __kmp_push_workshare(), __kmp_threads, __kmp_tid_from_gtid(), chunk_size, ct_pdo, FALSE, i, KE_TRACE, kmp_calc_new_iv_from_original_ivs(), kmp_calc_next_original_ivs(), kmp_calc_original_ivs_for_chunk_end(), kmp_calc_original_ivs_for_end(), kmp_calc_original_ivs_for_start(), kmp_canonicalize_loop_nest(), KMP_DEBUG_ASSERT, kmp_handle_lower_triangle_matrix(), kmp_handle_upper_triangle_matrix(), kmp_identify_nested_loop_structure(), kmp_process_loop_nest(), bounds_info_t::lb0_u64, bounds_info_t::lb1_u64, loc, nested_loop_type_lower_triangular_matrix, nested_loop_type_upper_triangular_matrix, kmp_team::t, TRUE, bounds_info_t::ub0_u64, and bounds_info_t::ub1_u64.
kmp_loop_nest_iv_t __kmpc_process_loop_nest_rectang | ( | ident_t * | loc, |
kmp_int32 | gtid, | ||
bounds_info_t * | original_bounds_nest, | ||
kmp_index_t | n | ||
) |
Definition at line 460 of file kmp_collapse.cpp.
References kmp_calculate_trip_count(), kmp_canonicalize_loop_nest(), and loc.