Home
last modified time | relevance | path

Searched refs:branch_depth (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_print.c259 static unsigned update_branch_depth(rc_opcode opcode, unsigned *branch_depth) in update_branch_depth() argument
264 return (*branch_depth)++ * 2; in update_branch_depth()
268 assert(*branch_depth > 0); in update_branch_depth()
269 return --(*branch_depth) * 2; in update_branch_depth()
272 assert(*branch_depth > 0); in update_branch_depth()
273 return (*branch_depth - 1) * 2; in update_branch_depth()
276 return *branch_depth * 2; in update_branch_depth()
280 static void rc_print_normal_instruction(FILE * f, struct rc_instruction * inst, unsigned *branch_depth) in rc_print_normal_instruction() argument
284 unsigned spaces = update_branch_depth(inst->U.I.Opcode, branch_depth); in rc_print_normal_instruction()
341 static void rc_print_pair_instruction(FILE * f, struct rc_instruction * fullinst, unsigned *branch_depth) in rc_print_pair_instruction() argument
469 unsigned branch_depth = 0; rc_print_program() local
[all...]
H A Dradeon_dataflow.c640 unsigned int * branch_depth) in push_branch_mask()
642 (*branch_depth)++; in push_branch_mask()
643 if (*branch_depth > R500_PFS_MAX_BRANCH_DEPTH_FULL) { in push_branch_mask()
647 d->BranchMasks[*branch_depth].IfWriteMask = in push_branch_mask()
653 unsigned int * branch_depth) in pop_branch_mask()
655 struct branch_write_mask * masks = &d->BranchMasks[*branch_depth]; in pop_branch_mask()
677 (*branch_depth)--; in pop_branch_mask()
688 unsigned int branch_depth = 0; in get_readers_for_single_write() local
715 push_branch_mask(d, &branch_depth); in get_readers_for_single_write()
723 pop_branch_mask(d, &branch_depth); in get_readers_for_single_write()
638 push_branch_mask( struct get_readers_callback_data * d, unsigned int * branch_depth) push_branch_mask() argument
651 pop_branch_mask( struct get_readers_callback_data * d, unsigned int * branch_depth) pop_branch_mask() argument
[all...]
H A Dradeon_compiler.c148 unsigned branch_depth = 0; in rc_copy_output() local
159 branch_depth++; in rc_copy_output()
161 (inst->U.I.Opcode == RC_OPCODE_ENDIF && branch_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/node/deps/v8/src/wasm/
H A Dfunction-body-decoder-impl.h4570 BranchDepthImmediate<validate> branch_depth(this, in DecodeGCOpcode()
4572 if (!this->Validate(this->pc_ + opcode_length, branch_depth, in DecodeGCOpcode()
4576 uint32_t pc_offset = opcode_length + branch_depth.length; in DecodeGCOpcode()
4602 Control* c = control_at(branch_depth.depth); in DecodeGCOpcode()
4632 CALL_INTERFACE(BrOnNonNull, obj, branch_depth.depth); in DecodeGCOpcode()
4634 CALL_INTERFACE(BrOrRet, branch_depth.depth, 0); in DecodeGCOpcode()
4642 branch_depth.depth); in DecodeGCOpcode()
4655 BranchDepthImmediate<validate> branch_depth(this, in DecodeGCOpcode()
4657 if (!this->Validate(this->pc_ + opcode_length, branch_depth, in DecodeGCOpcode()
4661 uint32_t pc_offset = opcode_length + branch_depth in DecodeGCOpcode()
[all...]

Completed in 10 milliseconds