Home
last modified time | relevance | path

Searched refs:neg_c (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_flrp.c83 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_single_ffma() local
84 nir_instr_as_alu(neg_c->parent_instr)->exact = alu->exact; in replace_with_single_ffma()
87 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_single_ffma()
116 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_strict() local
117 nir_instr_as_alu(neg_c->parent_instr)->exact = alu->exact; in replace_with_strict()
120 nir_fadd(bld, nir_imm_floatN_t(bld, 1.0f, c->bit_size), neg_c); in replace_with_strict()
193 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_expanded_ffma_and_add() local
194 nir_instr_as_alu(neg_c->parent_instr)->exact = alu->exact; in replace_with_expanded_ffma_and_add()
196 inner_sum = nir_fadd(bld, a, neg_c); in replace_with_expanded_ffma_and_add()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp76 Temp neg_c = fneg(bld.copy(bld.def(v1), inputs[2])); variable
77 writeout(8, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_c));