Searched refs:branch_depth (Results 1 – 4 of 4) sorted by relevance
259 static unsigned update_branch_depth(rc_opcode opcode, unsigned *branch_depth) in update_branch_depth() argument264 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() argument284 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 …]
640 unsigned int * branch_depth) in push_branch_mask() argument642 (*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() argument655 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() local713 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 …]
51 return ctx->branch_depth > 0 ? in get_current_branch()52 ctx->branch + (ctx->branch_depth - 1) : NULL; in get_current_branch()452 ctx->branch_depth--; in endif_emit()495 ctx->branch_depth++; in if_emit()496 ctx->branch[ctx->branch_depth - 1].endif_block = endif_block; in if_emit()497 ctx->branch[ctx->branch_depth - 1].if_block = if_block; in if_emit()498 ctx->branch[ctx->branch_depth - 1].else_block = else_block; in if_emit()499 ctx->branch[ctx->branch_depth - 1].has_else = 0; in if_emit()
106 unsigned branch_depth; member