Searched refs:neg_a (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_flrp.c | 54 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_strict_ffma() local 55 nir_instr_as_alu(neg_a->parent_instr)->exact = alu->exact; in replace_with_strict_ffma() 57 nir_ssa_def *const inner_ffma = nir_ffma(bld, neg_a, c, a); in replace_with_strict_ffma() 152 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_fast() local 153 nir_instr_as_alu(neg_a->parent_instr)->exact = alu->exact; in replace_with_fast() 155 nir_ssa_def *const b_minus_a = nir_fadd(bld, b, neg_a); in replace_with_fast()
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | test_optimizer.cpp | 43 Temp neg_a = fneg(inputs[0]); variable 44 writeout(1, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), Operand::c32(0x123456u), neg_a)); 48 Temp neg_neg_a = fneg(neg_a); 53 Temp abs_neg_a = fabs(neg_a); 64 … writeout(5, bld.vop2_dpp(aco_opcode::v_mul_f32, bld.def(v1), neg_a, inputs[1], dpp_row_sl(1))); 68 writeout(6, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), neg_a, inputs[1])); 72 writeout(7, bld.vop2(aco_opcode::v_add_f32, bld.def(v1), inputs[1], neg_a));
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 2616 LLVMValueRef neg_a; in lp_build_rcp_refine() local 2619 neg_a = LLVMBuildFNeg(builder, a, ""); in lp_build_rcp_refine() 2620 res = lp_build_fmuladd(builder, neg_a, rcp_a, bld->one); in lp_build_rcp_refine()
|