Home
last modified time | relevance | path

Searched refs:loop_depth (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_gcm.c50 unsigned loop_depth; member
131 nir_loop *loop, unsigned loop_depth, in gcm_build_block_info() argument
138 state->blocks[block->index].loop_depth = loop_depth; in gcm_build_block_info()
145 gcm_build_block_info(&if_stmt->then_list, state, loop, loop_depth, ~0u); in gcm_build_block_info()
146 gcm_build_block_info(&if_stmt->else_list, state, loop, loop_depth, ~0u); in gcm_build_block_info()
151 gcm_build_block_info(&loop->body, state, loop, loop_depth + 1, in gcm_build_block_info()
539 if (state->blocks[block->index].loop_depth < in gcm_choose_block_for_instr()
540 state->blocks[best->index].loop_depth && in gcm_choose_block_for_instr()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c210 reg->loop_depth = ctx->loop_depth; in update_range()
213 if (ctx->loop_depth > reg->loop_depth) { in update_range()
214 reg->block_idx_free = ctx->loop_last_block[reg->loop_depth + 1]; in update_range()
216 reg->loop_depth = ctx->loop_depth; in update_range()
223 if (reg->loop_depth) in update_range()
224 reg->block_idx_free = ctx->loop_last_block[reg->loop_depth]; in update_range()
1019 ctx->loop_last_block[++ctx->loop_depth] = loop_last_block(&nloop->body); in emit_loop()
1021 ctx->loop_depth--; in emit_loop()
Dir2_private.h69 uint8_t loop_depth; member
155 unsigned loop_depth; member
/third_party/spirv-tools/source/opt/
Dloop_fission.cpp308 const size_t loop_depth = loop_->GetDepth(); in CanPerformSplit() local
321 DistanceVector vec{loop_depth}; in CanPerformSplit()
339 DistanceVector vec{loop_depth}; in CanPerformSplit()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fission.cpp308 const size_t loop_depth = loop_->GetDepth(); in CanPerformSplit() local
321 DistanceVector vec{loop_depth}; in CanPerformSplit()
339 DistanceVector vec{loop_depth}; in CanPerformSplit()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_fission.cpp308 const size_t loop_depth = loop_->GetDepth(); in CanPerformSplit() local
321 DistanceVector vec{loop_depth}; in CanPerformSplit()
339 DistanceVector vec{loop_depth}; in CanPerformSplit()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c353 unsigned int loop_depth = 1; in build_loop_info() local
357 loop_depth++; in build_loop_info()
359 if (!--loop_depth) { in build_loop_info()
Dr3xx_vertprog.c374 unsigned loop_depth = 0; in translate_vertex_program() local
437 && loop_depth >= R300_VS_MAX_LOOP_DEPTH) in translate_vertex_program()
438 || loop_depth >= R500_PVS_MAX_LOOP_DEPTH) { in translate_vertex_program()
443 loops[loop_depth++] = ((compiler->code->length)/ 4) + 1; in translate_vertex_program()
452 ret_addr = loops[--loop_depth]; in translate_vertex_program()
456 if (loop_depth >= R300_VS_MAX_FC_OPS) { in translate_vertex_program()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_reg_allocate.cpp209 int loop_depth = 0; in calculate_payload_ranges() local
219 loop_depth++; in calculate_payload_ranges()
226 if (loop_depth == 1) in calculate_payload_ranges()
230 loop_depth--; in calculate_payload_ranges()
237 if (loop_depth > 0) in calculate_payload_ranges()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h117 unsigned loop_depth; member
Dir3_compiler_nir.c2996 ctx->block->loop_depth = ctx->loop_depth; in emit_block()
3072 ctx->loop_depth++; in emit_loop()
3093 continue_blk->loop_depth = ctx->loop_depth; in emit_loop()
3098 ctx->loop_depth--; in emit_loop()
Dir3_spill.c261 bool loop_exit = pred->loop_depth < block->loop_depth; in compute_block_next_distance()
Dir3.h596 uint32_t loop_depth; member
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c492 unsigned loop_depth; member
907 tx->loop_depth++; in tx_bgnloop()
908 if (tx->loop_depth_max < tx->loop_depth) in tx_bgnloop()
909 tx->loop_depth_max = tx->loop_depth; in tx_bgnloop()
910 assert(tx->loop_depth < NINE_MAX_LOOP_DEPTH); in tx_bgnloop()
911 return &tx->loop_labels[tx->loop_depth - 1]; in tx_bgnloop()
917 assert(tx->loop_depth); in tx_endloop()
918 tx->loop_depth--; in tx_endloop()
919 ureg_fixup_label(tx->ureg, tx->loop_labels[tx->loop_depth], in tx_endloop()
921 return &tx->loop_labels[tx->loop_depth]; in tx_endloop()
[all …]