Home
last modified time | relevance | path

Searched refs:branch_depth (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
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 …ic 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 … void rc_print_pair_instruction(FILE * f, struct rc_instruction * fullinst, unsigned *branch_depth) in rc_print_pair_instruction() argument
[all …]
Dradeon_dataflow.c640 unsigned int * branch_depth) in push_branch_mask() argument
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() argument
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
713 push_branch_mask(d, &branch_depth); in get_readers_for_single_write()
721 pop_branch_mask(d, &branch_depth); in get_readers_for_single_write()
[all …]