Searched refs:scan_inst (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_cmod_propagation.cpp | 60 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in cmod_propagate_cmp_to_add() 61 if (scan_inst->opcode == BRW_OPCODE_ADD && in cmod_propagate_cmp_to_add() 62 !scan_inst->is_partial_write() && in cmod_propagate_cmp_to_add() 63 scan_inst->exec_size == inst->exec_size) { in cmod_propagate_cmp_to_add() 71 if ((inst->src[0].equals(scan_inst->src[0]) && in cmod_propagate_cmp_to_add() 72 inst->src[1].negative_equals(scan_inst->src[1])) || in cmod_propagate_cmp_to_add() 73 (inst->src[0].equals(scan_inst->src[1]) && in cmod_propagate_cmp_to_add() 74 inst->src[1].negative_equals(scan_inst->src[0]))) { in cmod_propagate_cmp_to_add() 76 } else if ((inst->src[0].negative_equals(scan_inst->src[0]) && in cmod_propagate_cmp_to_add() 77 inst->src[1].equals(scan_inst->src[1])) || in cmod_propagate_cmp_to_add() [all …]
|
D | brw_vec4_cmod_propagation.cpp | 85 foreach_inst_in_block_reverse_starting_from(vec4_instruction, scan_inst, inst) { in opt_cmod_propagation_local() 93 if (scan_inst->opcode != BRW_OPCODE_ADD) in opt_cmod_propagation_local() 96 if (writemasks_incompatible(scan_inst, inst)) in opt_cmod_propagation_local() 104 if ((inst->src[0].equals(scan_inst->src[0]) && in opt_cmod_propagation_local() 105 inst->src[1].negative_equals(scan_inst->src[1])) || in opt_cmod_propagation_local() 106 (inst->src[0].equals(scan_inst->src[1]) && in opt_cmod_propagation_local() 107 inst->src[1].negative_equals(scan_inst->src[0]))) { in opt_cmod_propagation_local() 109 } else if ((inst->src[0].negative_equals(scan_inst->src[0]) && in opt_cmod_propagation_local() 110 inst->src[1].equals(scan_inst->src[1])) || in opt_cmod_propagation_local() 111 (inst->src[0].negative_equals(scan_inst->src[1]) && in opt_cmod_propagation_local() [all …]
|
D | brw_fs_saturate_propagation.cpp | 68 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in opt_saturate_propagation_local() 69 if (scan_inst->exec_size == inst->exec_size && in opt_saturate_propagation_local() 70 regions_overlap(scan_inst->dst, scan_inst->size_written, in opt_saturate_propagation_local() 72 if (scan_inst->is_partial_write() || in opt_saturate_propagation_local() 73 (scan_inst->dst.type != inst->dst.type && in opt_saturate_propagation_local() 74 !scan_inst->can_change_types())) in opt_saturate_propagation_local() 77 if (scan_inst->saturate) { in opt_saturate_propagation_local() 81 if (scan_inst->can_do_saturate()) { in opt_saturate_propagation_local() 82 if (scan_inst->dst.type != inst->dst.type) { in opt_saturate_propagation_local() 83 scan_inst->dst.type = inst->dst.type; in opt_saturate_propagation_local() [all …]
|
D | brw_fs_register_coalesce.cpp | 131 foreach_inst_in_block(fs_inst, scan_inst, scan_block) { in can_coalesce_vars() 139 if (scan_inst == inst) { in can_coalesce_vars() 163 for (int j = 0; j < scan_inst->sources; j++) { in can_coalesce_vars() 164 if (regions_overlap(scan_inst->src[j], scan_inst->size_read(j), in can_coalesce_vars() 173 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars() 178 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars() 303 foreach_block_and_inst(block, fs_inst, scan_inst, cfg) { in register_coalesce() 304 if (scan_inst->dst.file == VGRF && in register_coalesce() 305 scan_inst->dst.nr == src_reg) { in register_coalesce() 306 scan_inst->dst.nr = dst_reg; in register_coalesce() [all …]
|
D | brw_vec4.cpp | 1294 foreach_inst_in_block_reverse_starting_from(vec4_instruction, scan_inst, in opt_register_coalesce() 1296 _scan_inst = scan_inst; in opt_register_coalesce() 1299 scan_inst->dst, scan_inst->size_written)) { in opt_register_coalesce() 1303 if (scan_inst->mlen) in opt_register_coalesce() 1310 if (scan_inst->is_math()) { in opt_register_coalesce() 1322 if (scan_inst->opcode == VS_OPCODE_UNPACK_FLAGS_SIMD4X2) in opt_register_coalesce() 1331 inst->dst.type != scan_inst->dst.type && in opt_register_coalesce() 1332 !(scan_inst->opcode == BRW_OPCODE_MOV && in opt_register_coalesce() 1333 scan_inst->dst.type == scan_inst->src[0].type)) in opt_register_coalesce() 1340 if (type_sz(inst->src[0].type) != type_sz(scan_inst->src[0].type)) in opt_register_coalesce() [all …]
|
D | brw_fs.cpp | 3117 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in compute_to_mrf() 3118 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in compute_to_mrf() 3129 if (scan_inst->is_partial_write()) in compute_to_mrf() 3136 if (!region_contained_in(scan_inst->dst, scan_inst->size_written, in compute_to_mrf() 3141 if (scan_inst->mlen) in compute_to_mrf() 3148 if (scan_inst->is_math()) { in compute_to_mrf() 3155 inst->src[0], scan_inst->dst, scan_inst->size_written); in compute_to_mrf() 3164 if (block->start() == scan_inst) in compute_to_mrf() 3171 for (int i = 0; i < scan_inst->sources; i++) { in compute_to_mrf() 3172 if (regions_overlap(scan_inst->src[i], scan_inst->size_read(i), in compute_to_mrf() [all …]
|
/external/mesa3d/src/broadcom/compiler/ |
D | vir_register_allocate.c | 54 list_for_each_entry_from(struct qinst, scan_inst, inst->link.next, in is_end_of_tmu_sequence() 56 if (scan_inst->qpu.sig.ldtmu) in is_end_of_tmu_sequence() 58 if (qinst_writes_tmu(scan_inst)) in is_end_of_tmu_sequence()
|