Searched refs:if_stack (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/xf86-video-intel/dist/src/sna/brw/
H A Dbrw_eu.c153 p->if_stack = NULL;
H A Dbrw_eu_emit.c686 p->if_stack[p->if_stack_depth] = inst;
691 p->if_stack = realloc(p->if_stack, sizeof(struct brw_instruction *)*p->if_stack_array_size);
934 if (p->if_stack[p->if_stack_depth]->header.opcode == BRW_OPCODE_ELSE) {
935 else_inst = p->if_stack[p->if_stack_depth];
938 if_inst = p->if_stack[p->if_stack_depth];
H A Dbrw_eu.h1181 * - if_stack contains IF and ELSE instructions which must be patched
1184 struct brw_instruction **if_stack; member in struct:brw_compile
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/brw/
H A Dbrw_eu.c153 p->if_stack = NULL;
H A Dbrw_eu_emit.c686 p->if_stack[p->if_stack_depth] = inst;
691 p->if_stack = realloc(p->if_stack, sizeof(struct brw_instruction *)*p->if_stack_array_size);
934 if (p->if_stack[p->if_stack_depth]->header.opcode == BRW_OPCODE_ELSE) {
935 else_inst = p->if_stack[p->if_stack_depth];
938 if_inst = p->if_stack[p->if_stack_depth];
H A Dbrw_eu.h1181 * - if_stack contains IF and ELSE instructions which must be patched
1184 struct brw_instruction **if_stack; member in struct:brw_compile
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_cfg.cpp170 exec_list if_stack, else_stack, do_stack, while_stack; local in function:cfg_t::cfg_t
188 if_stack.push_tail(link(mem_ctx, cur_if));
241 cur_if = pop_stack(&if_stack);
H A Dbrw_eu.c336 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size);
H A Dbrw_eu.h112 * - if_stack contains IF and ELSE instructions which must be patched
117 int *if_stack; member in struct:brw_codegen
H A Dbrw_eu_emit.c1247 p->if_stack[p->if_stack_depth] = inst - p->store;
1252 p->if_stack = reralloc(p->mem_ctx, p->if_stack, int,
1261 return &p->store[p->if_stack[p->if_stack_depth]];
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_cfg.cpp186 exec_list if_stack, else_stack, do_stack, while_stack; local in function:cfg_t::cfg_t
204 push_stack(&if_stack, mem_ctx, cur_if);
258 cur_if = pop_stack(&if_stack);
H A Dbrw_eu.cpp350 p->if_stack = rzalloc_array(mem_ctx, int, p->if_stack_array_size);
H A Dbrw_eu_emit.c1366 p->if_stack[p->if_stack_depth] = inst - p->store;
1371 p->if_stack = reralloc(p->mem_ctx, p->if_stack, int,
1380 return &p->store[p->if_stack[p->if_stack_depth]];
H A Dbrw_eu.h116 * - if_stack contains IF and ELSE instructions which must be patched
121 int *if_stack; member in struct:brw_codegen
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnvfx_fragprog.c43 struct util_dynarray if_stack; member in struct:nvfx_fpc
264 util_dynarray_append(&fpc->if_stack, unsigned, fpc->inst_offset);
774 assert(util_dynarray_contains(&fpc->if_stack, unsigned));
775 hw = &fpc->fp->insn[util_dynarray_top(&fpc->if_stack, unsigned)];
785 assert(util_dynarray_contains(&fpc->if_stack, unsigned));
786 hw = &fpc->fp->insn[util_dynarray_pop(&fpc->if_stack, unsigned)];
1160 util_dynarray_fini(&fpc->if_stack);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnvfx_fragprog.c43 struct util_dynarray if_stack; member in struct:nvfx_fpc
264 util_dynarray_append(&fpc->if_stack, unsigned, fpc->inst_offset);
774 assert(util_dynarray_contains(&fpc->if_stack, unsigned));
775 hw = &fpc->fp->insn[util_dynarray_top(&fpc->if_stack, unsigned)];
785 assert(util_dynarray_contains(&fpc->if_stack, unsigned));
786 hw = &fpc->fp->insn[util_dynarray_pop(&fpc->if_stack, unsigned)];
1160 util_dynarray_fini(&fpc->if_stack);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/nir/
H A Dtgsi_to_nir.c82 * For each IF/ELSE/ENDIF block, if_stack[if_stack_pos] has where the else
83 * instructions should be placed, and if_stack[if_stack_pos - 1] has where
86 nir_cursor *if_stack; member in struct:ttn_compile
1038 c->if_stack[c->if_stack_pos] = nir_after_cf_node(&if_stmt->cf_node);
1043 c->if_stack[c->if_stack_pos] = nir_after_cf_list(&if_stmt->else_list);
1052 b->cursor = c->if_stack[c->if_stack_pos - 1];
1061 b->cursor = c->if_stack[c->if_stack_pos];
2028 c->if_stack = rzalloc_array(c, nir_cursor,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dir_to_mesa.cpp2279 int *if_stack, *loop_stack; local in function:set_branchtargets
2300 if_stack = rzalloc_array(v->mem_ctx, int, if_count);
2306 if_stack[if_stack_pos] = i;
2310 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2311 if_stack[if_stack_pos - 1] = i;
2314 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dir_to_mesa.cpp2226 int *if_stack, *loop_stack; local in function:set_branchtargets
2247 if_stack = rzalloc_array(v->mem_ctx, int, if_count);
2253 if_stack[if_stack_pos] = i;
2257 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2258 if_stack[if_stack_pos - 1] = i;
2261 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;

Completed in 49 milliseconds