Home
last modified time | relevance | path

Searched refs:nir_fneg (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/compiler/nir/tests/
Dcomparison_pre_tests.cpp102 nir_fadd(&bld, nir_fneg(&bld, a), one); in TEST_F()
154 nir_fadd(&bld, one, nir_fneg(&bld, b)); in TEST_F()
203 nir_ssa_def *flt = nir_flt(&bld, nir_fneg(&bld, a), one); in TEST_F()
255 nir_ssa_def *flt = nir_flt(&bld, one, nir_fneg(&bld, b)); in TEST_F()
Dnegative_equal_tests.cpp170 nir_ssa_def *negation = nir_fneg(&bld, two_plus_two); in TEST_F()
/external/mesa3d/src/compiler/nir/
Dnir_lower_flrp.c54 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_strict_ffma()
83 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_single_ffma()
116 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_strict()
152 nir_ssa_def *const neg_a = nir_fneg(bld, a); in replace_with_fast()
193 nir_ssa_def *const neg_c = nir_fneg(bld, c); in replace_with_expanded_ffma_and_add()
Dnir_lower_double_ops.c149 ra = nir_ffma(b, nir_fneg(b, ra), nir_ffma(b, ra, src, nir_imm_double(b, -1)), ra); in lower_rcp()
150 ra = nir_ffma(b, nir_fneg(b, ra), nir_ffma(b, ra, src, nir_imm_double(b, -1)), ra); in lower_rcp()
277 nir_ssa_def *r_0 = nir_ffma(b, nir_fneg(b, h_0), g_0, one_half); in lower_sqrt_rsq()
282 nir_ssa_def *r_1 = nir_ffma(b, nir_fneg(b, g_1), g_1, src); in lower_sqrt_rsq()
286 nir_ssa_def *r_1 = nir_ffma(b, nir_fneg(b, y_1), nir_fmul(b, h_1, src), in lower_sqrt_rsq()
705 return nir_fadd(b, src, nir_fneg(b, src1)); in lower_doubles_instr()
Dnir_opt_comparison_pre.c162 ? nir_fadd(bld, b, nir_fneg(bld, a)) in rewrite_compare_instruction()
163 : nir_fadd(bld, a, nir_fneg(bld, b)); in rewrite_compare_instruction()
Dnir_builtin_builder.c296 nir_fneg(b, arc), arc); in nir_atan2()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c179 nir_fneg(b, nir_fabs(b, nir_channel(b, lw, 0))))); in nir_lower_aaline_block()
181 nir_fneg(b, nir_fabs(b, nir_channel(b, lw, 2))))); in nir_lower_aaline_block()
310 nir_ssa_def *tmp = nir_fadd(b, chan_val_one, nir_fneg(b, k)); in nir_lower_aapoint_impl()
315 nir_ssa_def *tmp2 = nir_fadd(b, chan_val_one, nir_fneg(b, dist)); in nir_lower_aapoint_impl()
Dtgsi_to_nir.c908 def = nir_fneg(b, def); in ttn_get_src()
/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c159 elem[r] = nir_fneg(&b->nb, elem[r]); in matrix_inverse()
410 src[0], nir_fneg(nb, src[0])); in handle_glsl450_alu()
459 nir_fexp(nb, nir_fneg(nb, src[0]))), in handle_glsl450_alu()
467 nir_fexp(nb, nir_fneg(nb, src[0]))), in handle_glsl450_alu()
487 nir_fexp(nb, nir_fneg(nb, x))), in handle_glsl450_alu()
489 nir_fexp(nb, nir_fneg(nb, x)))); in handle_glsl450_alu()
Dvtn_alu.c165 dest->elems[i]->def = nir_fneg(&b->nb, src0->elems[i]->def); in vtn_handle_matrix_alu()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_opt_peephole_ffma.c236 mul_src[0] = nir_fneg(b, mul_src[0]); in brw_nir_opt_peephole_ffma_block()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c211 def = nir_fneg(b, def); in ptn_get_src()
236 chans[i] = nir_fneg(b, chans[i]); in ptn_get_src()
322 nir_fexp2(b, nir_fneg(b, floor_log2))), in ptn_log()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp1918 result = type_is_float(types[0]) ? nir_fneg(&b, srcs[0]) in visit()
/external/mesa3d/prebuilt-intermediates/nir/
Dnir_builder_opcodes.h984 nir_fneg(nir_builder *build, nir_ssa_def *src0) in nir_fneg() function