/external/llvm-project/openmp/runtime/src/ |
D | kmp_sched.cpp | 92 UT trip_count; in __kmp_for_static_init() local 269 trip_count = *pupper - *plower + 1; in __kmp_for_static_init() 271 trip_count = *plower - *pupper + 1; in __kmp_for_static_init() 274 trip_count = (UT)(*pupper - *plower) / incr + 1; in __kmp_for_static_init() 276 trip_count = (UT)(*plower - *pupper) / (-incr) + 1; in __kmp_for_static_init() 281 KMP_COUNT_VALUE(OMP_loop_static_total_iterations, trip_count); in __kmp_for_static_init() 287 if (trip_count == 0 && *pupper != *plower) { in __kmp_for_static_init() 296 if (trip_count < nth) { in __kmp_for_static_init() 301 if (tid < trip_count) { in __kmp_for_static_init() 307 *plastiter = (tid == trip_count - 1); in __kmp_for_static_init() [all …]
|
D | kmp_dispatch.cpp | 2170 UT trip_count; in __kmp_dist_get_bounds() local 2218 trip_count = *pupper - *plower + 1; in __kmp_dist_get_bounds() 2220 trip_count = *plower - *pupper + 1; in __kmp_dist_get_bounds() 2223 trip_count = (UT)(*pupper - *plower) / incr + 1; in __kmp_dist_get_bounds() 2225 trip_count = (UT)(*plower - *pupper) / (-incr) + 1; in __kmp_dist_get_bounds() 2228 if (trip_count <= nteams) { in __kmp_dist_get_bounds() 2234 if (team_id < trip_count) { in __kmp_dist_get_bounds() 2240 *plastiter = (team_id == trip_count - 1); in __kmp_dist_get_bounds() 2243 UT chunk = trip_count / nteams; in __kmp_dist_get_bounds() 2244 UT extras = trip_count % nteams; in __kmp_dist_get_bounds() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_loop_unroll.c | 582 unsigned trip_count) in is_access_out_of_bounds() argument 606 return length <= trip_count; in is_access_out_of_bounds() 621 unsigned trip_count) in remove_out_of_bounds_induction_use() argument 651 trip_count)) { in remove_out_of_bounds_induction_use() 666 trip_count)) { in remove_out_of_bounds_induction_use() 683 partial_unroll(nir_shader *shader, nir_loop *loop, unsigned trip_count) in partial_unroll() argument 707 remap_table, trip_count); in partial_unroll() 711 &lp_body, trip_count); in partial_unroll() 767 unsigned trip_count = in check_unrolling_restrictions() local 770 if (trip_count > max_iter) in check_unrolling_restrictions() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_trip_count_annotator.cc | 29 if (auto trip_count = ComputeWhileLoopTripCount(instr)) { in Run() local 31 config.mutable_known_trip_count()->set_n(*trip_count); in Run()
|
D | while_loop_analysis.cc | 500 if (auto trip_count = PatternMatchLoopTripCount(while_op, *indvar_tuple_idx, in ComputeWhileLoopTripCount() local 502 return trip_count; in ComputeWhileLoopTripCount() 515 for (int64 trip_count = 0; trip_count != max_brute_force_iters + 1; in ComputeWhileLoopTripCount() local 516 ++trip_count) { in ComputeWhileLoopTripCount() 524 VLOG(2) << "Loop has static trip count of " << trip_count; in ComputeWhileLoopTripCount() 525 return trip_count; in ComputeWhileLoopTripCount()
|
D | while_util.cc | 155 int32 trip_count) { in MakeCountedLoopConditionComputation() argument 163 HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(trip_count))); in MakeCountedLoopConditionComputation() 240 HloComputation* computation, int32 trip_count, in MakeCountedLoop() argument 244 CHECK_GE(trip_count, 0); in MakeCountedLoop() 252 MakeCountedLoopConditionComputation(loop_state_shape, trip_count)); in MakeCountedLoop()
|
D | gather_expander.cc | 279 int64 trip_count = 1; in GatherLoopTripCount() local 282 trip_count *= start_indices_shape.dimensions(i); in GatherLoopTripCount() 285 return trip_count; in GatherLoopTripCount()
|
D | while_util.h | 84 HloComputation* computation, int32 trip_count,
|
D | while_loop_simplifier.cc | 659 optional<int64> trip_count = in TryRemoveWhileLoop() local 661 if (trip_count && *trip_count == 0) { in TryRemoveWhileLoop() 676 if (trip_count && *trip_count == 1) { in TryRemoveWhileLoop()
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/ |
D | canonicalize.cc | 60 uint64_t trip_count = (upper_bound - lower_bound).sdiv(step).getZExtValue(); in matchAndRewrite() local 61 if (trip_count <= 0) return failure(); in matchAndRewrite() 73 for (auto i = 0; i < trip_count; ++i) { in matchAndRewrite()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | loop_dependence_helpers.cpp | 310 SENode* trip_count = in GetFinalTripInductionNode() local 316 scalar_evolution_.CreateMultiplyNode(trip_count, induction_coefficient))); in GetFinalTripInductionNode()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | loop_dependence_helpers.cpp | 310 SENode* trip_count = in GetFinalTripInductionNode() local 316 scalar_evolution_.CreateMultiplyNode(trip_count, induction_coefficient))); in GetFinalTripInductionNode()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | loop_dependence_helpers.cpp | 310 SENode* trip_count = in GetFinalTripInductionNode() local 316 scalar_evolution_.CreateMultiplyNode(trip_count, induction_coefficient))); in GetFinalTripInductionNode()
|
/external/llvm-project/llvm/test/Transforms/LoopVectorize/ |
D | tripcount.ll | 36 ; trip_count per invocation and not worth to vectorize.
|