Home
last modified time | relevance | path

Searched refs:if_inst (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_dead_control_flow.cpp69 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
78 if_inst->remove(if_block); in dead_control_flow_eliminate()
104 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
110 if_inst->predicate_inverse = !if_inst->predicate_inverse; in dead_control_flow_eliminate()
Dbrw_predicated_break.cpp73 backend_instruction *if_inst = block->prev()->end(); in opt_predicated_break() local
74 if (if_inst->opcode != BRW_OPCODE_IF) in opt_predicated_break()
85 jump_inst->predicate = if_inst->predicate; in opt_predicated_break()
86 jump_inst->predicate_inverse = if_inst->predicate_inverse; in opt_predicated_break()
93 if_inst->remove(if_block); in opt_predicated_break()
Dbrw_fs_sel_peephole.cpp135 fs_inst *if_inst = (fs_inst *)block->end(); in opt_peephole_sel() local
136 if (if_inst->opcode != BRW_OPCODE_IF) in opt_peephole_sel()
190 .at(block, if_inst); in opt_peephole_sel()
212 set_predicate_inv(if_inst->predicate, if_inst->predicate_inverse, in opt_peephole_sel()
Dbrw_eu_emit.c1473 brw_inst *if_inst, brw_inst *else_inst) in convert_IF_ELSE_to_ADD() argument
1481 assert(if_inst != NULL && brw_inst_opcode(devinfo, if_inst) == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1483 assert(brw_inst_exec_size(devinfo, if_inst) == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1493 brw_inst_set_opcode(devinfo, if_inst, BRW_OPCODE_ADD); in convert_IF_ELSE_to_ADD()
1494 brw_inst_set_pred_inv(devinfo, if_inst, true); in convert_IF_ELSE_to_ADD()
1502 brw_inst_set_imm_ud(devinfo, if_inst, (else_inst - if_inst + 1) * 16); in convert_IF_ELSE_to_ADD()
1505 brw_inst_set_imm_ud(devinfo, if_inst, (next_inst - if_inst) * 16); in convert_IF_ELSE_to_ADD()
1514 brw_inst *if_inst, brw_inst *else_inst, brw_inst *endif_inst) in patch_IF_ELSE() argument
1533 assert(if_inst != NULL && brw_inst_opcode(devinfo, if_inst) == BRW_OPCODE_IF); in patch_IF_ELSE()
1540 brw_inst_set_exec_size(devinfo, endif_inst, brw_inst_exec_size(devinfo, if_inst)); in patch_IF_ELSE()
[all …]
Dbrw_vec4_generator.cpp1686 brw_inst *if_inst = brw_IF(p, BRW_EXECUTE_8); in generate_code() local
1687 brw_inst_set_pred_control(p->devinfo, if_inst, inst->predicate); in generate_code()
/external/igt-gpu-tools/assembler/
Dbrw_eu_emit.c1250 struct brw_instruction *if_inst, in convert_IF_ELSE_to_ADD() argument
1257 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1259 assert(if_inst->header.execution_size == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1269 if_inst->header.opcode = BRW_OPCODE_ADD; in convert_IF_ELSE_to_ADD()
1270 if_inst->header.predicate_inverse = 1; in convert_IF_ELSE_to_ADD()
1278 if_inst->bits3.ud = (else_inst - if_inst + 1) * 16; in convert_IF_ELSE_to_ADD()
1281 if_inst->bits3.ud = (next_inst - if_inst) * 16; in convert_IF_ELSE_to_ADD()
1290 struct brw_instruction *if_inst, in patch_IF_ELSE() argument
1311 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in patch_IF_ELSE()
1323 endif_inst->header.execution_size = if_inst->header.execution_size; in patch_IF_ELSE()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_discard_flow.cpp132 ir_if *if_inst = new(mem_ctx) ir_if(if_condition); in generate_discard_break() local
135 if_inst->then_instructions.push_tail(br); in generate_discard_break()
137 return if_inst; in generate_discard_break()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c1244 struct rc_instruction * if_inst; in rc_transform_KILL() local
1250 for (if_inst = inst->Prev; if_inst != &c->Program.Instructions; in rc_transform_KILL()
1251 if_inst = if_inst->Prev) { in rc_transform_KILL()
1253 if (if_inst->U.I.Opcode == RC_OPCODE_IF) { in rc_transform_KILL()
1267 negate(absolute(if_inst->U.I.SrcReg[0])); in rc_transform_KILL()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2149 ir_to_mesa_instruction *if_inst; in visit() local
2154 if_inst = emit(ir->condition, OPCODE_IF, undef_dst, this->result); in visit()
2156 this->instructions.push_tail(if_inst); in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp4676 glsl_to_tgsi_instruction *if_inst; in visit() local
4683 if_inst = emit_asm(ir->condition, if_opcode, undef_dst, this->result); in visit()
4685 this->instructions.push_tail(if_inst); in visit()
4694 if_inst = emit_asm(ir->condition, TGSI_OPCODE_ENDIF); in visit()