Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_gcm.c50 unsigned loop_depth; member
134 nir_loop *loop, unsigned loop_depth, unsigned if_depth, in gcm_build_block_info() argument
142 state->blocks[block->index].loop_depth = loop_depth; in gcm_build_block_info()
149 gcm_build_block_info(&if_stmt->then_list, state, loop, loop_depth, in gcm_build_block_info()
151 gcm_build_block_info(&if_stmt->else_list, state, loop, loop_depth, in gcm_build_block_info()
157 gcm_build_block_info(&loop->body, state, loop, loop_depth + 1, if_depth, in gcm_build_block_info()
566 if (state->blocks[block->index].loop_depth > in gcm_choose_block_for_instr()
567 state->blocks[instr->block->index].loop_depth) in gcm_choose_block_for_instr()
597 if (state->blocks[block->index].loop_depth < in gcm_choose_block_for_instr()
598 state->blocks[best->index].loop_depth) { in gcm_choose_block_for_instr()
/third_party/node/deps/v8/src/compiler/
Dscheduler.cc947 int32_t loop_depth = entry->loop_depth(); in ComputeAndInsertSpecialRPO() local
948 if (entry->IsLoopHeader()) --loop_depth; // Entry might be a loop header. in ComputeAndInsertSpecialRPO()
963 --loop_depth; in ComputeAndInsertSpecialRPO()
969 ++loop_depth; in ComputeAndInsertSpecialRPO()
976 current->id().ToInt(), loop_depth); in ComputeAndInsertSpecialRPO()
979 current->set_loop_depth(loop_depth); in ComputeAndInsertSpecialRPO()
983 current->loop_depth()); in ComputeAndInsertSpecialRPO()
987 current->loop_depth()); in ComputeAndInsertSpecialRPO()
1074 if (block->loop_depth() > 0) { in PrintRPO()
1075 os << " depth: " << block->loop_depth(); in PrintRPO()
[all …]
Dschedule.h150 int32_t loop_depth() const { return loop_depth_; } in NON_EXPORTED_BASE()
151 void set_loop_depth(int32_t loop_depth); in NON_EXPORTED_BASE()
Dschedule.cc68 void BasicBlock::set_loop_depth(int32_t loop_depth) { in set_loop_depth() argument
69 loop_depth_ = loop_depth; in set_loop_depth()
Dgraph-visualizer.cc602 PrintIntProperty("loop_depth", current->loop_depth()); in PrintSchedule()
911 int indent = current->loop_depth(); in PrintScheduledGraph()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c213 reg->loop_depth = ctx->loop_depth; in update_range()
216 if (ctx->loop_depth > reg->loop_depth) { in update_range()
217 reg->block_idx_free = ctx->loop_last_block[reg->loop_depth + 1]; in update_range()
219 reg->loop_depth = ctx->loop_depth; in update_range()
226 if (reg->loop_depth) in update_range()
227 reg->block_idx_free = ctx->loop_last_block[reg->loop_depth]; in update_range()
1022 ctx->loop_last_block[++ctx->loop_depth] = loop_last_block(&nloop->body); in emit_loop()
1024 ctx->loop_depth--; in emit_loop()
Dir2_private.h69 uint8_t loop_depth; member
155 unsigned loop_depth; member
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr3xx_vertprog.c373 unsigned loop_depth = 0; in translate_vertex_program() local
440 && loop_depth >= R300_VS_MAX_LOOP_DEPTH) in translate_vertex_program()
441 || loop_depth >= R500_PVS_MAX_LOOP_DEPTH) { in translate_vertex_program()
446 loops[loop_depth++] = ((compiler->code->length)/ 4) + 1; in translate_vertex_program()
455 if (loop_depth == 1 && last_input_read_at_loop_end) { in translate_vertex_program()
459 if (loop_depth == 1 && last_pos_write_at_loop_end) { in translate_vertex_program()
464 ret_addr = loops[--loop_depth]; in translate_vertex_program()
468 if (loop_depth >= R300_VS_MAX_FC_OPS) { in translate_vertex_program()
555 if (loop_depth == 0) in translate_vertex_program()
566 if (loop_depth == 0) in translate_vertex_program()
Dradeon_compiler.c149 unsigned loop_depth = 0; in rc_copy_output() local
157 loop_depth++; in rc_copy_output()
160 if ((inst->U.I.Opcode == RC_OPCODE_ENDLOOP && loop_depth--) || in rc_copy_output()
162 if (emit_after_control_flow && loop_depth == 0 && branch_depth == 0) { in rc_copy_output()
174 if (loop_depth != 0 && branch_depth != 0) in rc_copy_output()
/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/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/node/deps/v8/src/interpreter/
Dcontrol-flow-builders.cc69 void LoopBuilder::JumpToHeader(int loop_depth, LoopBuilder* const parent_loop) { in JumpToHeader() argument
87 std::min(loop_depth, BytecodeArray::kMaxOsrUrgency - 1), in JumpToHeader()
Dbytecode-array-builder.h431 int loop_depth, int position);
598 int loop_depth);
Dbytecode-array-builder.cc381 int loop_depth) { in BYTECODE_LIST()
382 BytecodeNode node(CreateJumpLoopNode(0, loop_depth)); in BYTECODE_LIST()
1260 BytecodeLoopHeader* loop_header, int loop_depth, int position) { in JumpLoop() argument
1273 OutputJumpLoop(loop_header, loop_depth); in JumpLoop()
Dcontrol-flow-builders.h116 void JumpToHeader(int loop_depth, LoopBuilder* const parent_loop);
Dinterpreter-generator.cc2172 TNode<Int32T> loop_depth = BytecodeOperandImm(1); in IGNITION_HANDLER() local
2181 Branch(Int32GreaterThanOrEqual(loop_depth, osr_urgency_and_install_target), in IGNITION_HANDLER()
2196 GotoIf(Int32GreaterThan(osr_urgency, loop_depth), &osr); in IGNITION_HANDLER()
/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/node/deps/v8/src/execution/
Dtiering-manager.cc163 int loop_depth = iterator.GetImmediateOperand(1); in HaveCachedOSRCodeForCurrentBytecodeOffset() local
165 *osr_urgency_out = loop_depth + 1; in HaveCachedOSRCodeForCurrentBytecodeOffset()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h116 unsigned loop_depth; member
Dir3_compiler_nir.c3583 ctx->block->loop_depth = ctx->loop_depth; in emit_block()
3667 ctx->loop_depth++; in emit_loop()
3688 continue_blk->loop_depth = ctx->loop_depth; in emit_loop()
3693 ctx->loop_depth--; in emit_loop()
Dir3_spill.c264 bool loop_exit = pred->loop_depth < block->loop_depth; in compute_block_next_distance()
Dir3.h643 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 …]
/third_party/node/deps/v8/src/baseline/
Dbaseline-compiler.cc1939 int loop_depth = iterator().GetImmediateOperand(1); in VisitJumpLoop() local
1941 osr_urgency_and_install_target, loop_depth, in VisitJumpLoop()
1953 __ JumpIfImmediate(Condition::kUnsignedGreaterThan, scratch2, loop_depth, in VisitJumpLoop()