Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_dead_control_flow.cpp67 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
76 if_inst->remove(if_block); in dead_control_flow_eliminate()
102 backend_instruction *const if_inst = prev_inst; in dead_control_flow_eliminate() local
108 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.cpp133 fs_inst *if_inst = (fs_inst *)block->end(); in opt_peephole_sel() local
134 if (if_inst->opcode != BRW_OPCODE_IF) in opt_peephole_sel()
190 .at(block, if_inst); in opt_peephole_sel()
206 set_predicate_inv(if_inst->predicate, if_inst->predicate_inverse, in opt_peephole_sel()
Dbrw_eu_emit.c1415 brw_inst *if_inst, brw_inst *else_inst) in convert_IF_ELSE_to_ADD() argument
1423 assert(if_inst != NULL && brw_inst_opcode(devinfo, if_inst) == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1425 assert(brw_inst_exec_size(devinfo, if_inst) == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1435 brw_inst_set_opcode(devinfo, if_inst, BRW_OPCODE_ADD); in convert_IF_ELSE_to_ADD()
1436 brw_inst_set_pred_inv(devinfo, if_inst, true); in convert_IF_ELSE_to_ADD()
1444 brw_inst_set_imm_ud(devinfo, if_inst, (else_inst - if_inst + 1) * 16); in convert_IF_ELSE_to_ADD()
1447 brw_inst_set_imm_ud(devinfo, if_inst, (next_inst - if_inst) * 16); in convert_IF_ELSE_to_ADD()
1456 brw_inst *if_inst, brw_inst *else_inst, brw_inst *endif_inst) in patch_IF_ELSE() argument
1475 assert(if_inst != NULL && brw_inst_opcode(devinfo, if_inst) == BRW_OPCODE_IF); in patch_IF_ELSE()
1482 brw_inst_set_exec_size(devinfo, endif_inst, brw_inst_exec_size(devinfo, if_inst)); in patch_IF_ELSE()
[all …]
Dbrw_vec4_generator.cpp1688 brw_inst *if_inst = brw_IF(p, BRW_EXECUTE_8); in generate_code() local
1689 brw_inst_set_pred_control(p->devinfo, if_inst, inst->predicate); in generate_code()
/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.cpp2183 ir_to_mesa_instruction *if_inst; in visit() local
2188 if_inst = emit(ir->condition, OPCODE_IF, undef_dst, this->result); in visit()
2190 this->instructions.push_tail(if_inst); in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp4306 glsl_to_tgsi_instruction *if_inst; in visit() local
4313 if_inst = emit_asm(ir->condition, if_opcode, undef_dst, this->result); in visit()
4315 this->instructions.push_tail(if_inst); in visit()
4324 if_inst = emit_asm(ir->condition, TGSI_OPCODE_ENDIF); in visit()