Home
last modified time | relevance | path

Searched refs:switch_pc (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_ir_common.h80 unsigned switch_pc; member
86 unsigned switch_pc; /* when used points to default or endswitch-1 */ member
Dlp_bld_ir_common.c447 if(break_always && ctx->switch_pc) { in lp_exec_break()
449 *pc = ctx->switch_pc; in lp_exec_break()
Dlp_bld_tgsi_soa.c160 ctx->switch_stack[ctx->switch_stack_size].switch_pc = ctx->switch_pc; in lp_exec_switch()
167 ctx->switch_pc = 0; in lp_exec_switch()
184 if (ctx->switch_pc && !ctx->switch_in_default) { in lp_exec_endswitch()
194 assert(bld_base->instructions[ctx->switch_pc - 1].Instruction.Opcode == in lp_exec_endswitch()
198 bld_base->pc = ctx->switch_pc; in lp_exec_endswitch()
203 ctx->switch_pc = tmp_pc - 1; in lp_exec_endswitch()
208 else if (ctx->switch_pc && ctx->switch_in_default) { in lp_exec_endswitch()
209 assert(bld_base->pc == ctx->switch_pc + 1); in lp_exec_endswitch()
217 ctx->switch_pc = ctx->switch_stack[ctx->switch_stack_size].switch_pc; in lp_exec_endswitch()
361 ctx->switch_pc = bld_base->pc; in lp_exec_default()