Home
last modified time | relevance | path

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

/external/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()
/external/mesa3d/src/amd/compiler/tests/
Dtest_optimizer.cpp77 …Temp neg_c = bld.vop2(aco_opcode::v_xor_b32, bld.def(v1), Operand(0x80000000u), bld.copy(bld.def(v… variable
78 writeout(8, bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), inputs[0], neg_c));
/external/llvm/test/CodeGen/AMDGPU/
Dv_mac.ll207 %neg_c = fsub float -0.0, %c
209 %tmp1 = fadd float %tmp0, %neg_c
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dv_mac.ll208 %neg_c = fsub float -0.0, %c
210 %tmp1 = fadd float %tmp0, %neg_c
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc3425 bool neg_c = !is_symmetric && !ctx.left_child_is_const; in ConstantPushDown() local
3429 node->set_op((neg_x || (neg_c && neg_y)) ? nonsymmetric_op : symmetric_op); in ConstantPushDown()
3433 ctx.op_child->set_op(neg_c != neg_y ? nonsymmetric_op : symmetric_op); in ConstantPushDown()
3434 ctx.op_child->set_input(0, neg_c ? input_y : input_c); in ConstantPushDown()
3435 ctx.op_child->set_input(1, neg_c ? input_c : input_y); in ConstantPushDown()